Skip to main content

Chapter 19 Remark-Like Elements

PreTeXt provides several simple tags that fall into the general category of a “remark” that one would like to be numbered. They are <convention>, <insight>, <note>, <observation>, <remark>, and <warning>. The content of these tags is very simple. They allow an optional title, optional <idx> tags, and then a mixture of <p>, <blockquote>, and <pre>.

<remark>
  <title>A little remark</title>
  <p>
    Remarks have restricted content,
    but they can be used to call out lots of important things for your readers.
  </p>
</remark>
Listing 19.0.1. A remark

The code in Listing 19.0.1 produces the following output:

Remark 19.0.2. A little remark.

Remarks have restricted content, but they can be used to call out lots of important things for your readers.