<macros>
The <macros>
tag contains LaTeX math shortcuts for use
throughout the PreTeXt document inside a math element such as <m>
and <me>
.
Syntax
Attributes
This tag has no attributes.Children
The following may appear as children:TextParents
This element may appear as an immediate child of the following elements:<docinfo>
Examples
<docinfo>
<!-- There are likely other tags in docinfo besides macros -->
<macros>
\newcommand{\N}{\mathbb N}
\newcommand{\Z}{\mathbb Z}
\newcommand{\rrefarrow}{\xrightarrow{\mathrm{rref}}}
\newcommand{\spn}[1]{\left\langle#1\right\rangle}
</macros>
<!-- There are likely more tags here, too. -->
</docinfo>