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>.
Listing 15.4.1. A remark
<!--********************************************************************
Copyright (C) 2019-2026  Robert A. Beezer

This file is part of PreTeXt.

PreTeXt is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 or version 3 of the
License (at your option).

PreTeXt is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with PreTeXt.  If not, see <http://www.gnu.org/licenses/>.
*****************************************************************-->

<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>
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.