diff options
Diffstat (limited to 'fonts/erewhon-math/Erewhon-Math.ltx')
-rw-r--r-- | fonts/erewhon-math/Erewhon-Math.ltx | 49 |
1 files changed, 29 insertions, 20 deletions
diff --git a/fonts/erewhon-math/Erewhon-Math.ltx b/fonts/erewhon-math/Erewhon-Math.ltx index 65baf6f26b..b7af84f9b7 100644 --- a/fonts/erewhon-math/Erewhon-Math.ltx +++ b/fonts/erewhon-math/Erewhon-Math.ltx @@ -1,3 +1,5 @@ +\RequirePackage{pdfmanagement-testphase} +\DeclareDocumentMetadata{pdfstandard=A-2b, lang=en-GB} \documentclass[a4paper,12pt]{scrartcl} \usepackage{amsmath, array, varioref} @@ -7,6 +9,13 @@ \setmonofont{Inconsolatazi4}[Scale=MatchLowercase, HyphenChar=None,StylisticSet={2,3}] \usepackage{microtype} +\usepackage{hyperref} +\hypersetup{pdftitle={Erewhon-Math User’s Guide}, + pdfauthor={Daniel FLIPO}, + bookmarksopen, + colorlinks + } +\newcommand*{\hlabel}[1]{\phantomsection\label{#1}} \newcommand*{\FGUT}{Fourier-GUT\textit{enberg}} \newcommand*{\FOTF}{Erewhon-Math} @@ -23,7 +32,7 @@ \title{\decofourleft\,\FOTF\,\decofourright} \author{Daniel Flipo \\ \texttt{daniel.flipo@free.fr}} -\newcommand*{\version}{0.45} +\newcommand*{\version}{0.46} \begin{document} \maketitle @@ -124,7 +133,7 @@ table~\vref{math-style}. \begin{table}[ht] \centering \caption{Effects of the \opt{math-style} package option.} - \label{math-style} + \hlabel{math-style} \begin{tabular}{@{}>{\ttfamily}lcc@{}} \hline \rmfamily Package option & Latin & Greek \\ @@ -144,7 +153,7 @@ changed by option \opt{bold-style} as shown in table~\vref{bold-style}. \begin{table}[ht] \centering \caption{Effects of the \opt{bold-style} package option.} - \label{bold-style} + \hlabel{bold-style} \begin{tabular}{@{}>{\ttfamily}lcc@{}} \hline \rmfamily Package option & Latin & Greek \\ @@ -214,7 +223,7 @@ mandatory whenever more than one ``Character Variant’’ is selected. \begin{table}[ht] \centering \caption{Character variants.} - \label{cv} + \hlabel{cv} \begin{tabular}{@{}>{\ttfamily}lccl@{}} \hline & Default & Variant & Name\\ @@ -256,7 +265,7 @@ variants as shown by table~\vref{ss04}. \begin{table}[ht] \centering \caption{Stylistic Set 4 -- \texttt{leqslant} (slanted inequalities)} - \label{ss04} + \hlabel{ss04} \begin{tabular}{@{}lcc@{}} \hline Command & Default & Variant \\ @@ -282,7 +291,7 @@ their smaller variants as shown by table~\vref{ss05}. \begin{table}[ht] \centering \caption{Stylistic Set 5 -- \texttt{smaller} (smaller variants)} - \label{ss05} + \hlabel{ss05} \begin{tabular}{@{}lcc@{}} \hline Command & Default & Variant \\ @@ -304,7 +313,7 @@ symbols as shown by table~\vref{ss06}. \begin{table}[ht] \centering \caption{Stylistic Set 6 -- \texttt{subsetneq} (inclusion variants)} - \label{ss06} + \hlabel{ss06} \begin{tabular}{@{}lcc@{}} \hline Command & Default & Variant \\ @@ -322,7 +331,7 @@ symbols as shown by table~\vref{ss06}. \begin{table}[ht] \centering \caption{Stylistic Set 7 -- \texttt{parallelslant} (slanted variants)} - \label{ss07} + \hlabel{ss07} \begin{tabular}{@{}lcc@{}} \hline Command & Default & Variant \\ @@ -443,10 +452,10 @@ Various wide acccents are also supported: but this can overwritten, i.e. \begin{verbatim} -\setmathfont{STIX2Math.otf}[range=frak,Scale=MatchUppercase] +\setmathfont{STIXTwoMath-Regular.otf}[range=frak,Scale=MatchUppercase] $\symfrak{ABCDEFGHIJKL...XYZ abcdefghijkl...xyz}$ \end{verbatim} -\setmathfont{STIX2Math.otf}[range=frak,Scale=MatchUppercase] +\setmathfont{STIXTwoMath-Regular.otf}[range=frak,Scale=MatchUppercase] $\symfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$ \item Sans serif alphabet is borrowed from Latin Modern, @@ -455,11 +464,11 @@ $\symsfup{ABCDEFGHIJKLM abcdefghijk}\quad\symsfit{NOPQRSTUVWXYZ mnopqrstuvwxyz}$ but it can be borrowed from another Math font, i.e. \begin{verbatim} -\setmathfont{STIX2Math.otf}[range={sfup,sfit}, +\setmathfont{STIXTwoMath-Regular.otf}[range={sfup,sfit}, Scale=MatchUppercase] $\symsfup{ABCD...klm}\quad\symsfit{NOPQ...xyz}$ \end{verbatim} -\setmathfont{STIX2Math.otf}[range={sfup,sfit},Scale=MatchUppercase] +\setmathfont{STIXTwoMath-Regular.otf}[range={sfup,sfit},Scale=MatchUppercase] $\symsfup{ABCDEFGHIJKLM abcdefghijklm}\quad \symsfit{NOPQRSTUVWXYZ nopqrstuvwxyz}$ @@ -469,29 +478,29 @@ $\symsfup{ABCDEFGHIJKLM abcdefghijklm}\quad but it can be borrowed from another Math font, i.e. \begin{verbatim} -\setmathfont{STIX2Math.otf}[range=tt,Scale=MatchUppercase] +\setmathfont{STIXTwoMath-Regular.otf}[range=tt,Scale=MatchUppercase] $\symtt{ABCDE...XYZ abcde...xyz}$ \end{verbatim} -\setmathfont{STIX2Math.otf}[range=tt,Scale=MatchUppercase] +\setmathfont{STIXTwoMath-Regular.otf}[range=tt,Scale=MatchUppercase] $\symtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$ \end{itemize} \subsection{Missing symbols} -\FOTF{} does not aim at being as complete as \file{STIX2Math} or +\FOTF{} does not aim at being as complete as \file{STIXTwoMath-Regular} or \file{Cambria}, the current glyph coverage compares with TeXGyre Math fonts. -In case some symbols do not show up in the output file, you see warnings +In case some symbols do not show up in the output file, you will see warnings in the \file{.log} file, for instance: -\setmathfont{STIX2Math.otf}[range={"2964}] +\setmathfont{STIXTwoMath-Regular.otf}[range={"2964}] \texttt{Missing character: There is no }$⥤$% \texttt{ (U+2964) in font ErewhonMath} -Borrowing them from a more complete font, say \file{STIX2Math}, +Borrowing them from a more complete font, say \file{STIXTwoMath-Regular}, is a possible workaround: -\verb+\setmathfont{STIX2Math.otf}[range={"2964},Scale=1.02]+\\ +\verb+\setmathfont{STIXTwoMath-Regular.otf}[range={"2964},Scale=1.02]+\\ scaling is possible, multiple character ranges are separated with commas:\\ -\verb+\setmathfont{STIX2Math.otf}[range={"294A-"2951,"2964,"2ABB-"2ABE}]+ +\verb+\setmathfont{STIXTwoMath-Regular.otf}[range={"294A-"2951,"2964,"2ABB-"2ABE}]+ \subsection{Fourier ornaments} |