Skip to main content

Section 15.4 Remark-Like Elements

PreTeXt provides several tags that fall into the general category of a “remark”. They are <convention>, <insight>, <note>, <observation>, <remark>, and <warning>. The content of these elements is similar to what is allowed inside the <statement> of a theorem-like element. 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 15.4.1. A remark

The code in Listing 15.4.1 produces the following output:

Remark 15.4.2. A little remark.

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