summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.ltx')
-rw-r--r--Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.ltx40
1 files changed, 21 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.ltx b/Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.ltx
index 16d38e94d44..caa0e8daf93 100644
--- a/Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.ltx
+++ b/Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.ltx
@@ -46,14 +46,15 @@
\defmathfont{cambria}{Cambria Math}{66CCCC}
\defmathfont{asana}{Asana-Math.otf}{6666CC}
\defmathfont{pagella}{texgyrepagella-math.otf}{AA6666}
-\defmathfont{euler}{Neo Euler}{CC66CC}
+\defmathfont{euler}{euler.otf}{CC66CC}
+\defmathfont{dejavu}{texgyredejavu-math.otf}{AACC66}
\def\INPUT{\input{unicode-math-table.tex}}
\def\TABLE{%
\par\noindent
-\begin{longtable}[l]{@{}lcccccccll@{}}
+\begin{longtable}[l]{@{}lccccccccll@{}}
\toprule
- \textsc{usv} & M & X & S & C & A & P & E & Macro & Description \\
+ \textsc{usv} & M & X & S & C & A & P & D & E & Macro & Description \\
\midrule \endhead
\INPUT\\
\bottomrule
@@ -64,7 +65,7 @@
\makeatother
\def\CMD#1{\footnotesize\cmd#1}
\def\DESC#1{%
- \begin{varwidth}[t]{6cm}
+ \begin{varwidth}[t]{4cm}
\raggedright\linespread{0.6}\scriptsize #1%
\end{varwidth}
}
@@ -86,6 +87,7 @@
\SYMB{#2}{cambria}{#1} &
\SYMB{#2}{asana}{#1} &
\SYMB{#2}{pagella}{#1} &
+ \SYMB{#2}{dejavu}{#1} &
\SYMB{#2}{euler}{#1} &
\CMD{#2}
\tl_if_in:NnT \PLAIN {#2}
@@ -153,7 +155,7 @@ This document uses the file \texttt{unicode-math-table.tex}
to print every symbol defined by the \textsf{unicode-math}
package.
Use this document to find the command name or the Unicode glyph slot for a symbol that you wish to use.
-Eight fonts are shown: (with approximate symbol counts)
+Nine fonts are shown: (with approximate symbol counts)
\begin{itemize}
\item[M] \mathversion{lm} $\mathup{Latin\ Modern\ Math}$ (\ref{count:lm})
\item[X] \mathversion{xits} $\mathup{XITS\ Math}$ (\ref{count:xits})
@@ -162,6 +164,7 @@ Eight fonts are shown: (with approximate symbol counts)
\item[A] \mathversion{asana} $\mathup{Asana\ Math}$ (\ref{count:asana})
\item[P] \mathversion{pagella} $\mathup{TeX\ Gyre\ Pagella\ Math}$ (\ref{count:pagella})
\item[E] \mathversion{euler} $\mathup{Neo\ Euler}$ (\ref{count:euler})
+\item[D] \mathversion{dejavu} $\mathup{DejaVu Math TeX Gyre}$ (\ref{count:dejavu})
\end{itemize}
Symbols defined in Plain \TeX\ are indicated with {\color[gray]{0.6} \textsuperscript{\sffamily (p)}} after their macro name.
\LaTeX\ follows Plain \TeX, but defines a handful more, indicated with {\color[gray]{0.6} \textsuperscript{\sffamily (l)}}
@@ -288,23 +291,21 @@ The limits behaviour as specified by \textsf{unicode-math} are shown with grey s
\def\INPUT{\ALPHA}
\cs_new:Npn \SLOTS #1#2 {
\cs_set:Npn \UnicodeMathSymbol ##1##2##3##4 {
- \bool_if:nT
- {
- \int_compare_p:n {##1 >= #1} && \int_compare_p:n {##1 <= #2}
- }
- {
- \PRINTLINE{##1}{##2}{##4}
- }
+ \bool_lazy_and:nnT
+ { \int_compare_p:n {##1 >= #1} }
+ { \int_compare_p:n {##1 <= #2} }
+ {
+ \PRINTLINE{##1}{##2}{##4}
+ }
}
\TABLE
\cs_set:Npn \UnicodeMathSymbol ##1##2##3##4 {
- \bool_if:nT
- {
- \int_compare_p:n {##1 > #2} || \int_compare_p:n {##1 < #1}
- }
- {
- \exp_not:n { \UnicodeMathSymbol {##1}{##2}{##3}{##4} }
- }
+ \bool_lazy_or:nnT
+ { \int_compare_p:n {##1 > #2} }
+ { \int_compare_p:n {##1 < #1} }
+ {
+ \exp_not:n { \UnicodeMathSymbol {##1}{##2}{##3}{##4} }
+ }
}
\edef\ALPHA{\ALPHA}
}
@@ -440,5 +441,6 @@ The limits behaviour as specified by \textsf{unicode-math} are shown with grey s
\refstepcounter{asana}\label{count:asana}
\refstepcounter{pagella}\label{count:pagella}
\refstepcounter{euler}\label{count:euler}
+\refstepcounter{dejavu}\label{count:dejavu}
\end{document}