diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/unicode-math/um-doc-main.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/unicode-math/um-doc-main.tex | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/unicode-math/um-doc-main.tex b/Master/texmf-dist/doc/latex/unicode-math/um-doc-main.tex index 23d17472bb4..c6b8c96a077 100644 --- a/Master/texmf-dist/doc/latex/unicode-math/um-doc-main.tex +++ b/Master/texmf-dist/doc/latex/unicode-math/um-doc-main.tex @@ -75,7 +75,7 @@ their definitions. Here's an example using the filename syntax to load the \TeX\ Once the package is loaded, traditional TFM-based maths fonts are no longer supported; 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 (see above) will be loaded automatically. +If you do not load an OpenType maths font before |\begin{document}|, Latin Modern Math will be loaded automatically. \subsection{New commands} \LaTeX, since the first version of \LaTeXe, changed the math group @@ -86,7 +86,7 @@ with |\textbf|, |\textit| and so on, but with the precise purpose of loading the needed math groups (or math families) on demand and not allocating them if not required by the document. -The introduction of \pkg{unicode-math} posed new problems. For +The introduction of \pkg{unicode-math} posed some problems fitting into this design. For instance, there is a big difference between say |fit| as an operator name in boldface type and the product of three boldface variables. With legacy \TeX{} engines, |\mathbf{fit}| would use a ligature and @@ -178,6 +178,15 @@ commands should be preferred, as certain synonyms may become deprecated in time. The |\symliteral| command is described in \secref{math-style}. +Using the |\sym..| commands, the glyphs used to produce PDF output are Unicode-encoded, +and therefore a symbol such as $\symcal{G}$ can be copy-pasted into another programme +(or even into the source of another \LaTeX\ document using \pkg{unicode-math}) without +loss of meaning. +This is an important aspect of Unicode mathematics, but the \pkg{unicode-math} package +is not `pure' in the sense that the package also provides other mechanisms to change +the fonts used in the PDF output; the philosophy of the package is to provide mechanisms +for technical authors to invent and experiment with new syntaxes for their work. + \subsection{Package options} Package options may be set when the package as loaded or at any later @@ -705,17 +714,14 @@ and while by default \cs{mathcal} and \cs{mathscr} are synonyms, there are some situations when a separate `Caligraphic' style is needed as well. -If a font contains alternate glyphs for a separat caligraphic style, +If a font contains alternate glyphs for a separate caligraphic style, they can be selected explicitly as shown below. This feature is currently only supported by the XITS~Math font, where the caligraphic letters are accessed with the same glyph slots as the script letters but with the first stylistic set feature (|ss01|) applied. -\begin{verbatim} - \setmathfont{xits-math.otf}[range={cal,bfcal},StylisticSet=1] -\end{verbatim} An example is shown below. \begin{quote} -\setmathfont{xits-math.otf}[range=scr] +\setmathfont{xits-math.otf} \setmathfont{xits-math.otf}[range=cal,StylisticSet=1] The Script style (\cs{mathscr}) in XITS Math is: $\symscr{ABCXYZ}$\par The Caligraphic style (\cs{mathcal}) in XITS Math is: $\symcal{ABCXYZ}$ |