Skip to content
Stefano Zaghi edited this page Jun 17, 2015 · 3 revisions

The note environment is a subclass of box one that is specialized for rendering notes.

The syntax is the following:

$note
$style[style_options]
$caption[caption_options]{caption}
$content[content_options]{content}
$endnote

where the elements are the same of box environment, but:

  • the content_type and caption_type are automatically set to note and Note respectively; anyhow they can be still specified inside the $note/$endnote environment;
  • no matter the order of $caption/$content statements, the caption is always placed above the content.

Consider the following code:

$note
$content{a slide has always one *content* element whereas, *headers*, *footers* and *sidebars* are optional.}
$endnote

This example defines a plain style note with just a text contents being formatted by means of markdown syntax. Into the rendered html you will see a caption containing Note similar to

Note

a slide has always one *content* element whereas, *headers*, *footers* and *sidebars* are optional.

Note that, as all other box subclass, the themes of note environments can be defined once for all into the preamble in order to not have to repeat the styling options for each note. The syntax for defining the notes styles is commented into the theming section in the following.

Note Contents

The note contents can be any valid markdown sources. In particular:

  • lists (bullets items, enumerations...);
  • font styling (bold, emph...);
  • headings (from 4-th to 6-th, the first 3 are reserved for MaTiSSe.py).

Moreover, the contents fully support LaTeX equations.

Clone this wiki locally