summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/unicode-math/um-doc-main.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/unicode-math/um-doc-main.tex')
-rw-r--r--macros/latex/contrib/unicode-math/um-doc-main.tex8
1 files changed, 6 insertions, 2 deletions
diff --git a/macros/latex/contrib/unicode-math/um-doc-main.tex b/macros/latex/contrib/unicode-math/um-doc-main.tex
index 8ecc8357e7..5c0bc22ed1 100644
--- a/macros/latex/contrib/unicode-math/um-doc-main.tex
+++ b/macros/latex/contrib/unicode-math/um-doc-main.tex
@@ -69,7 +69,7 @@ Load \pkg{unicode-math} as a regular \LaTeX\ package. It should be loaded
after any other maths or font-related package in case it needs to overwrite
their definitions. Here's an example using the filename syntax to load the \TeX\ Gyre Pagella Math font: (this works for both \XeLaTeX\ and \LuaLaTeX)
\begin{Verbatim}
-\usepackage{amsmath} % if desired
+\usepackage{amsmath}
\usepackage{unicode-math}
\setmathfont{texgyrepagella-math.otf}
\end{Verbatim}
@@ -78,6 +78,10 @@ Once the package is loaded, traditional TFM-based maths fonts are no longer supp
you can only switch to a different OpenType maths font using the \cs{setmathfont} command.
If you do not load an OpenType maths font before |\begin{document}|, Latin Modern Math will be loaded automatically.
+Note that \pkg{amsmath} should be loaded before \pkg{unicode-math} to avoid conflicts, and
+it will be loaded automatically if not requested earlier in the preamble.
+
+
\subsection{New commands}
\LaTeX, since the first version of \LaTeXe, changed the math group
selection from, say, |{\bf x}| to |\mathbf{x}|. It introduced commands
@@ -111,7 +115,7 @@ the two meanings with a command like |\mathbf| for the boldface text font
in math and a command like |\symbf| (for the bold math font).
The five new symbol font commands that behave in this way are: \cs{symup},
-\cs{symit}, \cs{symbf}, \cs{symsf}, and \cs{symit}.
+\cs{symit}, \cs{symbf}, \cs{symsf}, and \cs{symtt}.
These commands switch to single-letter mathematical symbols
(generally within the same OpenType font).