diff options
author | Karl Berry <karl@freefriends.org> | 2019-12-02 21:56:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-12-02 21:56:39 +0000 |
commit | f530f051f4d6f8cca00730875a7672fcec228fb3 (patch) | |
tree | e85f703230a0319b7136cc22ec96b3e35c904529 | |
parent | 62678858db3bdbd6e3af79759346fb814fb36ee3 (diff) |
erewhon-math (2dec19)
git-svn-id: svn://tug.org/texlive/trunk@52997 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/fonts/erewhon-math/Erewhon-Math.ltx | 540 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/erewhon-math/Erewhon-Math.pdf | bin | 0 -> 155455 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/erewhon-math/README.md | 53 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/erewhon-math/unimath-erewhon.ltx | 509 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/erewhon-math/unimath-erewhon.pdf | bin | 0 -> 1345471 bytes | |||
-rw-r--r-- | Master/texmf-dist/fonts/opentype/public/erewhon-math/Erewhon-Math.otf | bin | 0 -> 284364 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/erewhon-math/fourier-otf.sty | 160 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/erewhon-math.tlpsrc | 0 |
10 files changed, 1264 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/fonts/erewhon-math/Erewhon-Math.ltx b/Master/texmf-dist/doc/fonts/erewhon-math/Erewhon-Math.ltx new file mode 100644 index 00000000000..ca96da07d6b --- /dev/null +++ b/Master/texmf-dist/doc/fonts/erewhon-math/Erewhon-Math.ltx @@ -0,0 +1,540 @@ +\documentclass[a4paper,12pt]{scrartcl} + +\usepackage{amsmath, array, varioref} +\usepackage[british]{babel} +\usepackage{fourier-otf} +\setsansfont{Cabin}[Scale=MatchLowercase] +\setmonofont{Inconsolatazi4}[Scale=MatchLowercase, + HyphenChar=None,StylisticSet={2,3}] +\usepackage{microtype} + +\newcommand*{\FGUT}{Fourier-GUT\textit{enberg}} +\newcommand*{\FOTF}{Erewhon-Math} +\newcommand*{\pkg}[1]{\texttt{#1}} +\newcommand*{\file}[1]{\texttt{#1}} +\newcommand*{\opt}[1]{\texttt{#1}} +\newcommand*{\cmd}[1]{\texttt{\textbackslash #1}} +\newcommand*{\showtchar}[1]{\cmd{#1}~\csname #1\endcsname} +\newcommand*{\showmchar}[1]{\cmd{#1}~$(\csname #1\endcsname)$} +\newcommand*{\showmchardollar}[1]{\texttt{\$\cmd{#1}\$}~$(\csname #1\endcsname)$} + +\renewcommand{\labelitemi}{\lefthand} + +\title{\decofourleft\,\FOTF\,\decofourright} +\author{Daniel Flipo \\ \texttt{daniel.flipo@free.fr}} + +\newcommand*{\version}{0.40} + +\begin{document} +\maketitle + +\section{What is \FOTF{}?} + +\FOTF{} is an Utopia based Opentype mathematical font. +The mathematical symbols and Greek letters are borrowed or derived from +Michel Bovani’s \FGUT, Latin letters and digits are borrowed from +Michael Shape’s Erewhon font. + +It requires LuaTeX or XeTeX as engine and the \pkg{unicode-math} package% +\footnote{Please read the documentation \file{unicode-math.pdf}.}. + +It is meant to be used with Utopia based Opentype text fonts like {Erewhon}. +For \FGUT{} users who want to switch to LuaLaTeX or XeLaTeX, the +file \file{fourier-otf.sty} can be used as a replacement of \file{fourier.sty}. + +Please note that the current version (\version) is \emph{experimental, +do expect metrics and glyphs to change} until version 1.0 is reached. + +Comments, suggestions and bug reports are welcome! + +\section{Usage} + +\subsection{Calling \cmd{setmathfont}} + +A basic call for \FOTF{} would be: +\begin{verbatim} +\usepackage{unicode-math} +\setmathfont{Erewhon-Math.otf} % Call by file name or +\setmathfont{Erewhon Math} % Call by font name +\end{verbatim} +this loads \FOTF{} as math font with the default options, see +subsections~\vref{ssection-um}, \vref{ssection-cv} and~\vref{ssection-ss} +for customisation. + +Please note that the three sets of text fonts have to be chosen separately, +f.i.: +\begin{verbatim} +\setmainfont{Erewhon} % rm +\setsansfont{Cabin}[Scale=MatchLowercase] % sf +\setmonofont{Inconsolatazi4}[Scale=MatchLowercase] % tt +\end{verbatim} +otherwise you would get Latin Modern for text fonts. + +\subsection{Calling \pkg{fourier-otf.sty}} + +As an alternative to load \FOTF{} --\emph{this is the recommended way}-- +you can type:\\[.5\baselineskip] +\verb+\usepackage[ +\textit{options} +\footnote{Possible \textit{options} are \opt{loose} or any of the options + described below for \cmd{setmainfont}.}% +\verb+ ]{fourier-otf}+\\[.5\baselineskip] +it also loads \pkg{unicode-math} with the default options and and sets +\file{Fourier Math} as Math font but does a bit more: +\begin{enumerate} +\item it checks at \verb+\begin{document}+ if packages \pkg{amssymb} or + \pkg{latexsym} are loaded and issues warnings in case they are; +\item it provides aliases for glyphs named differently in Unicode, so that + \pkg{latexsymb} or AMS names are also available; +\item it loads \pkg{fourier-orns.sty}, providing many text ornaments; +\item it defines specific Math characters like \showmchar{Bbbbackslash}, + \showmchar{varemptyset}, \linebreak[4] + \showmchar{parallelslant}, + \showmchar{shortparallelslant}, etc.; +\item it reduces spacing in math mode: \cmd{thinmuskip}, \cmd{medmuskip} + and \cmd{thickmuskip} are reduced as in \file{fourier.sty}. +% \verb+\thinmuskip=2mu+,\\ +% \verb+\medmuskip=2.5mu plus 1mu minus 2.5mu+,\\ +% \verb+\thickmuskip=3.5mu plus 2.5mu+.\\ + The option \opt{loose} disables these settings. +\end{enumerate} + + +\section{What is provided?} + +\FOTF{} provides all glyphs supplied by \FGUT{} plus all glyphs available in +the \pkg{amssymb} and \pkg{latexsym} packages and many more. Therefore, these +two packages \emph{should not} be loaded as they might override \FOTF{} glyphs. + +Sans-serif, typewriter and fraktur styles are borrowed from Latin Modern fonts. +See in section~\vref{ssec-math-alphabets} how to choose +from other Math fonts for these styles. + +A full list of available glyphs is shown in file \file{unimath-erewhon.pdf}. + +\subsection{Upright or slanted?} +\label{ssection-um} + +Package \pkg{unicode-math} follows \TeX{} conventions for Latin and Greek +letters: in math mode, the default option (\opt{math-style=TeX}) prints +Latin letters $a$…$z$ $A$…$Z$ and lowercase greek letters $\alpha$…$\omega$ +slanted (italic) while uppercase greek letters $\Alpha \Beta \Gamma$…$\Omega$ +are printed upright. +This can be changed by option \opt{math-style} as shown in +table~\vref{math-style}. + +\begin{table}[ht] + \centering + \caption{Effects of the \opt{math-style} package option.} + \label{math-style} + \begin{tabular}{@{}>{\ttfamily}lcc@{}} + \hline + \rmfamily Package option & Latin & Greek \\ + \hline + math-style=ISO & $(a,z,B,X)$ & $\symit{(\alpha,\beta,\Gamma,\Xi)}$ \\ + math-style=TeX & $(a,z,B,X)$ & $(\symit\alpha,\symit\beta,\symup\Gamma,\symup\Xi)$ \\ + math-style=french & $(a,z,\symup B,\symup X)$ & $(\symup\alpha,\symup\beta,\symup\Gamma,\symup\Xi)$ \\ + math-style=upright & $(\symup a,\symup z,\symup B,\symup X)$ & $(\symup\alpha,\symup\beta,\symup\Gamma,\symup\Xi)$ \\ + \hline + \end{tabular} +\end{table} + +Bold letters are printed upright except lowercase Greek letters +which are slanted (the default option is \opt{bold-style=TeX}). This can be +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} + \begin{tabular}{@{}>{\ttfamily}lcc@{}} + \hline + \rmfamily Package option & Latin & Greek \\ + \hline + bold-style=ISO & $(\symbfit a, \symbfit z, \symbfit B, \symbfit X)$ & $(\symbfit\alpha, \symbfit\beta, \symbfit\Gamma, \symbfit\Xi)$ \\ + bold-style=TeX & $(\symbfup a,\symbfup z,\symbfup B,\symbfup X)$ & $(\symbfit\alpha, \symbfit\beta,\symbfup \Gamma,\symbfup \Xi)$ \\ + bold-style=upright & $(\symbfup a,\symbfup z,\symbfup B,\symbfup X)$ & $(\symbfup \alpha,\symbfup \beta,\symbfup \Gamma,\symbfup \Xi)$ \\ + \hline + \end{tabular} +\end{table} + +Other possible customisation: $\nabla$ is printed upright and $\partial$ is +printed slanted by default, but \opt{nabla=italic} and +\opt{partial=upright} can change this. + +All these options are offered by the \pkg{unicode-math} package but they can +be added to the \cmd{setmathfont} call% +\footnote{IMHO it is easier to add \emph{all options} to the \cmd{setmathfont} + command.}, for example: + +\verb+\setmathfont{Erewhon Math}[math-style=french,partial=upright]+\\ +will print for the code +\begin{verbatim} +\[ \frac{\partial f}{\partial x} = \alpha \symbf{V} + a\nabla\Gamma + + \symbf{\beta}\symbf{M} \] +\end{verbatim} +\setmathfont{Erewhon Math}[math-style=french,partial=upright] +\[\frac{\partial f}{\partial x} = \alpha \symbf{V} + a\nabla\Gamma + + \symbf{\beta}\symbf{M} \] +while the default settings would print +\setmathfont{Erewhon Math}[math-style=TeX,partial=italic] +\[\frac{\partial f}{\partial x} = \alpha \symbf{V} + a\nabla\Gamma + + \symbf{\beta}\symbf{M} \] + +If your text editor is able to handle greek letters or math symbols, they can +be entered in the code instead control sequences (i.e. +$\symup{α}$, $\symup{β}$, $\symup{Γ}$,… for \cmd{alpha}, \cmd{beta}, +\cmd{Gamma},…). + +\subsection{Character variants} +\label{ssection-cv} + +\FOTF{} provides eleven ``Character Variants’’ options to choose between +different glyphs for Greek characters and some others, see table~\vref{cv} +for the full list. + +For instance, to get \cmd{epsilon} and \cmd{phi} typeset as $\varepsilon$ +and $\varphi$ instead of $\epsilon$ and $\phi$, you can add option +\verb+CharacterVariant={3,6}+ to the \cmd{setmathfont} call: +\begin{verbatim} +\setmathfont{Erewhon Math}[CharacterVariant={3,6}] +\end{verbatim} + +This works for all shapes and weights of these characters: +\verb+$\symit{\epsilon}$+,\\ +\verb+$\symup{\epsilon}$+, \verb+$\symbf{\epsilon}$+, +\verb+$\symbfit{\epsilon}$+ are output as +\setmathfont{Erewhon Math}[CharacterVariant={3,6}] +$\symit{\epsilon}$, $\symup{\epsilon}$, $\symbf{\epsilon}$, $\symbfit{\epsilon}$ +instead of +\setmathfont{Erewhon Math} +$\symit{\epsilon}, \symup{\epsilon}, \symbf{\epsilon}, \symbfit{\epsilon}$. + +The same is true for \verb+\phi+ of course. Please note that curly braces are +mandatory whenever more than one ``Character Variant’’ is selected. + +\begin{table}[ht] + \centering + \caption{Character variants.} + \label{cv} + \begin{tabular}{@{}>{\ttfamily}lccl@{}} + \hline + & Default & Variant & Name\\ + \hline + cv00 & $0$ & $\mupvarzero$ & 0 \\ + cv01 & $\hslash$ & $\hbar$ & \cmd{hslash} \\ + cv02 & $\emptyset$ & $\varemptyset$ & \cmd{emptyset} \\ + cv03 & $\mitepsilon$ & $\mitvarepsilon$ & \cmd{epsilon} \\ + cv04 & $\mitkappa$ & $\mitvarkappa$ & \cmd{kappa} \\ + cv05 & $\mitpi$ & $\mitvarpi$ & \cmd{pi} \\ + cv06 & $\mitphi$ & $\mitvarphi$ & \cmd{phi} \\ + cv07 & $\mitrho$ & $\mitvarrho$ & \cmd{rho} \\ + cv08 & $\mitsigma$ & $\mitvarsigma$ & \cmd{sigma} \\ + cv09 & $\mittheta$ & $\mitvartheta$ & \cmd{theta} \\ + cv10 & $\mitTheta$ & $\mitvarTheta$ & \cmd{Theta} \\ + \hline + \end{tabular} +\end{table} + +\subsection{Stylistic sets} +\label{ssection-ss} + +\FOTF{} provides four ``Stylistic Sets’’ options to choose between different +glyphs for families of mathematical symbols. + +\verb+StylisticSet=4+, alias% +\footnote{These \texttt{Style} aliases are provided by \file{fourier-otf.sty}.} +\verb+Style=leqslant+, converts (large) inequalites into their slanted +variants as shown by table~\vref{ss04}. +\begin{table}[ht] + \centering + \caption{Stylistic Set 4 -- \texttt{leqslant} (slanted inequalities)} + \label{ss04} + \begin{tabular}{@{}lcc@{}} + \hline + Command & Default & Variant \\ + \hline + \cmd{leq} & $\leq$ & $\leqslant$ \\ + \cmd{geq} & $\geq$ & $\geqslant$ \\ + \cmd{nleq} & $\nleq$ & $\nleqslant$ \\ + \cmd{ngeq} & $\ngeq$ & $\ngeqslant$ \\ + \cmd{leqq} & $\leqq$ & $\leqqslant$ \\ + \cmd{geqq} & $\geqq$ & $\geqqslant$ \\ + \cmd{eqless} & $\eqless$ & $\eqslantless$ \\ + \cmd{eqgtr} & $\eqgtr$ & $\eqslantgtr$ \\ + \cmd{lesseqgtr} & $\lesseqgtr$ & $\lesseqslantgtr$ \\ + \cmd{gtreqless} & $\gtreqless$ & $\gtreqslantless$ \\ + \cmd{lesseqqgtr} & $\lesseqqgtr$ & $\lesseqqslantgtr$ \\ + \cmd{gtreqqless} & $\gtreqqless$ & $\gtreqqslantless$ \\ + \hline + \end{tabular} +\end{table} + +\verb+StylisticSet=5+, alias \verb+Style=smaller+, converts some symbols into +their smaller variants as shown by table~\vref{ss05}. +\begin{table}[ht] + \centering + \caption{Stylistic Set 5 -- \texttt{smaller} (smaller variants)} + \label{ss05} + \begin{tabular}{@{}lcc@{}} + \hline + Command & Default & Variant \\ + \hline + \cmd{in} & $\in$ & $\smallin$ \\ + \cmd{ni} & $\ni$ & $\smallni$ \\ + \cmd{mid} & $\mid$ & $\shortmid$ \\ + \cmd{nmid} & $\nmid$ & $\nshortmid$ \\ + \cmd{parallel} & $\parallel$ & $\shortparallel$ \\ + \cmd{nparallel} & $\nparallel$ & $\nshortparallel$ \\ + \cmd{parallelslant} & $\parallel$ & $\shortparallelslant$ \\ + \cmd{nparallelslant} & $\nparallelslant$ & $\nshortparallelslant$ \\ + \hline + \end{tabular} +\end{table} + +\verb+StylisticSet=6+, alias \verb+Style=subsetneq+, converts some inclusion +symbols as shown by table~\vref{ss06}. +\begin{table}[ht] + \centering + \caption{Stylistic Set 6 -- \texttt{subsetneq} (inclusion variants)} + \label{ss06} + \begin{tabular}{@{}lcc@{}} + \hline + Command & Default & Variant \\ + \hline + \cmd{subsetneq} & $\subsetneq$ & $\varsubsetneq$ \\ + \cmd{supsetneq} & $\supsetneq$ & $\varsupsetneq$ \\ + \cmd{subsetneqq} & $\subsetneqq$ & $\varsubsetneqq$ \\ + \cmd{supsetneqq} & $\supsetneqq$ & $\varsupsetneqq$ \\ + \hline + \end{tabular} +\end{table} + +\verb+StylisticSet=7+, alias \verb+Style=parallelslant+, converts +``parallel’’ symbols into their slanted variants as shown by table~\vref{ss07}. +\begin{table}[ht] + \centering + \caption{Stylistic Set 7 -- \texttt{parallelslant} (slanted variants)} + \label{ss07} + \begin{tabular}{@{}lcc@{}} + \hline + Command & Default & Variant \\ + \hline + \cmd{parallel} & $\parallel$ & $\parallelslant$ \\ + \cmd{nparallel} & $\nparallel$ & $\nparallelslant$ \\ + \cmd{shortparallel} & $\shortparallel$ & $\shortparallelslant$ \\ + \cmd{nshortparallel} & $\nshortparallel$ & $\nshortparallelslant$ \\ + \hline + \end{tabular} +\end{table} + +To enable Stylistic Sets 4, 6 and 7 for \FOTF{}, you should enter +\begin{verbatim} +\setmathfont{Erewhon Math}[StylisticSet={4,6,7}] or +\usepackage[Style={leqslant,subsetneq,parallelslant}]{fourier-otf} +\end{verbatim} +then, \verb+\[x\leq y \quad A \subsetneq B\quad D \parallel D' \]+ +will print as +\setmathfont{Erewhon Math}[StylisticSet={4,6,7}] +\[x\leq y \quad A \subsetneq B\quad D \parallel D' \] +instead of +\setmathfont{Erewhon Math} +\[x\leq y \quad A \subsetneq B\quad D \parallel D' \] + +\clearpage +\subsection{Standard \LaTeX{} math commands} +\label{ssec-math-commands} + +All standard \LaTeX{} math commands, all \pkg{amssymb} commands and all +\pkg{latexsym} commands are supported by \FOTF{}, for some of them loading +\pkg{fourier-otf.sty} is required. + +Various wide acccents are also supported: +\begin{itemize} +\item \cmd{widehat} and \cmd{widetilde} +\[\widehat{x}\; \widehat{xx} \;\widehat{xxx} \;\widehat{xxxx}\; + \widehat{xxxxx} \;\widehat{xxxxxx} \;\widetilde{x}\; \widetilde{xx}\; + \widetilde{xxx} \;\widetilde{xxxx} \;\widetilde{xxxxx}\; + \widetilde{xxxxxx}\] + +\item \cmd{overline} and \cmd{underline} + \[\overline{x}\quad \overline{xy}\quad \overline{xyz}\quad + \overline{A\cup B}\quad \overline{A\cup (B\cap C)\cup D}\quad + \underline{m+n+p}\] + +\item \cmd{overparen} and \cmd{underparen} + \[\overparen{x}\quad \overparen{xy}\quad \overparen{xyz}\quad + \mathring{\overparen{A\cup B}}\quad + \overparen{A\cup (B\cap C)\cup D}^{\smwhtcircle}\quad + \overparen{x+y}^{2}\quad \overparen{a+b+...+z}^{26}\] + +\[\underparen{x}\quad \underparen{xz} \quad \underparen{xyz} + \quad \underparen{x+z}_{2}\quad \underparen{a+b+...+z}_{26}\] + +\item \cmd{overbrace} and \cmd{underbrace} + \[\overbrace{a}\quad \overbrace{ab}\quad \overbrace{abc}\quad + \overbrace{abcd}\quad \overbrace{abcde}\quad + \overbrace{a+b+c}^{3}\quad \overbrace{ a+b+. . . +z }^{26}\] + +\[\underbrace{a}\quad\underbrace{ab}\quad\underbrace{abc}\quad + \underbrace{abcd}\quad \underbrace{abcde}\quad + \underbrace{a+b+c}_{3} \quad \underbrace{ a+b+...+z }_{26}\] + +\item \cmd{overbracket} and \cmd{underbracket} + \[\overbracket{a}\quad \overbracket{ab}\quad \overbracket{abc}\quad + \overbracket{abcd}\quad \overbracket{abcde}\quad + \overbracket{a+b+c}^{3}\quad \overbracket{ a+b+. . . +z }^{26}\] + +\[\underbracket{a}\quad\underbracket{ab}\quad\underbracket{abc}\quad + \underbracket{abcd}\quad \underbracket{abcde}\quad + \underbracket{a+b+c}_{3} \quad \underbracket{ a+b+...+z }_{26}\] + +\item \cmd{overrightarrow} and \cmd{overleftarrow} + \[\overrightarrow{v}\quad \overrightarrow{M}\quad \overrightarrow{vv} + \quad \overrightarrow{AB}\quad \overrightarrow{ABC} + \quad \overrightarrow{ABCD} \quad \overrightarrow{ABCDEFGH}. +\] + +\[\overleftarrow{v}\quad \overleftarrow{M}\quad \overleftarrow{vv} + \quad \overleftarrow{AB}\quad \overleftarrow{ABC} + \quad \overleftarrow{ABCD} \quad \overleftarrow{ABCDEFGH}\] + +\item Finally \cmd{widearc} and \cmd{overrightarc} (loading + \pkg{fourier-otf.sty} is required) +\[\widearc{AMB}\quad \overrightarc{AMB}\] +\end{itemize} + +\subsection{Mathematical alphabets} +\label{ssec-math-alphabets} + +\begin{itemize} +\item All Latin and Greek characters are available in italic, upright, bold + and bold italic via the \verb+\symit{}+, \verb+\symup{}+, \verb+\symbf{}+ + and \verb+\symbfit{}+ commands. + +\item Calligraphic alphabet (\cmd{symscr} or \cmd{symcal} or + \cmd{mathcal} command), uppercase only: + + $\symscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$ + +\item Blackboard-bold alphabet (\cmd{symbb} or \cmd{mathbb} command), + uppercase, lowercase and digits: + + $\symbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$ + + $\symbb{abcdefghijklmnopqrstuvwxyz\quad 0123456789}$ + +\item Fraktur alphabet is borrowed from Latin Modern, + + $\symfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$ + + but this can overwritten, i.e. +\begin{verbatim} +\setmathfont{STIX2Math.otf}[range=frak,Scale=MatchUppercase] +$\symfrak{ABCDEFGHIJKL...XYZ abcdefghijkl...xyz}$ +\end{verbatim} +\setmathfont{STIX2Math.otf}[range=frak,Scale=MatchUppercase] +$\symfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$ + +\item Sans serif alphabet is borrowed from Latin Modern, + +$\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}, + Scale=MatchUppercase] +$\symsfup{ABCD...klm}\quad\symsfit{NOPQ...xyz}$ +\end{verbatim} +\setmathfont{STIX2Math.otf}[range={sfup,sfit},Scale=MatchUppercase] +$\symsfup{ABCDEFGHIJKLM abcdefghijklm}\quad + \symsfit{NOPQRSTUVWXYZ nopqrstuvwxyz}$ + +\item Typewriter alphabet is borrowed from Latin Modern, + + $\symtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$ + +but it can be borrowed from another Math font, i.e. +\begin{verbatim} +\setmathfont{STIX2Math.otf}[range=tt,Scale=MatchUppercase] +$\symtt{ABCDE...XYZ abcde...xyz}$ +\end{verbatim} +\setmathfont{STIX2Math.otf}[range=tt,Scale=MatchUppercase] +$\symtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$ +\end{itemize} + +\subsection{Fourier ornaments} + +All logos and ornaments provided by \FGUT{} (\pkg{fourier-orns.sty}) are +available with \FOTF{} when loaded by \verb+\usepackage{fourier-otf}+. + +\pkg{fourier-orns.sty} as of v2.0 automatically fetches its glyphs in +a specific OpenType font with LuaTeX or XeTeX engines and from +a Type\,1 font otherwise (pdfTeX). + +\begin{raggedright} +\begin{itemize} + +\item \showtchar{textpertenthousand}, \textit{\textpertenthousand}, + \textbf{\textpertenthousand}, \textbf{\textit{\textpertenthousand}}, + +\item A variant of the euro symbol: \showtchar{eurologo}, \textit{\eurologo}, + \textbf{\eurologo}, \textbf{\textit{\eurologo}}, + +\item A ``starred'' bullet: \showtchar{starredbullet}, + +\item Decos and logos: \showtchar{warning}, \showtchar{noway}, + \showtchar{textxswup}, \showtchar{textxswdown}, \showtchar{bomb}, + \showtchar{decoone}, \showtchar{decotwo}, \showtchar{decothreeleft}, + \showtchar{decothreeright}, + \showtchar{decofourleft}, \showtchar{decofourright}, \showtchar{decosix}, + \showtchar{floweroneleft}, \showtchar{floweroneright}, \showtchar{lefthand}, + \showtchar{righthand}. + +\item Smileys: \showtchar{grimace}, \showtchar{textthing}. + +\item Leaves: \showtchar{aldineleft}, \showtchar{aldineright}, + \showtchar{aldine}, \showtchar{aldinesmall}, %\\ + \showtchar{leafleft}, \showtchar{leafright}, \showtchar{leafNE}, + \showtchar{leafNW}, \showtchar{leafSE}, \showtchar{leafSW}. + +\item Pilcrows: \showtchar{oldpilcrowone}, \showtchar{oldpilcrowtwo}, + \showtchar{oldpilcrowthree}, %\\ + \showtchar{oldpilcrowfour}, + \showtchar{oldpilcrowfive} aaaa, %\\ + \showtchar{oldpilcrowsix} aaaaaaaaaaa. +\end{itemize} +\end{raggedright} + +Finally, some symbols are also provided in math mode, with other names: +\begin{itemize} +\item \showmchardollar{forbidden}, \showmchardollar{beware}, + \showmchardollar{boom}, +\item \showmchardollar{thething} is a \emph{QED symbol} + for a false proof. Of course, you don't need it! +\item \showmchardollar{xswordsup} and \showmchardollar{xswordsdown} may be used + as tags for a debatted statement, or for anything else. $\xswordsdown$ +\end{itemize} + +\section{Acknowledgements} + +All glyphs in \FOTF{} are borrowed or derived either from Erewhon fonts or +\FGUT{} package. Many thanks to Michael Sharpe and Michel Bovani for +providing these. + +I am grateful to George Williams and his co-workers for providing and maintaining +FontForge and to Ulrik Vieth for his illuminating paper published in +TUGboat~2009 Volume~30 about Open Type Math. + +\bigskip +\begin{center}\Huge +\decotwo +\end{center} + +\end{document} + +%%% Local Variables: +%%% mode: latex +%%% TeX-engine: luatex +%%% TeX-master: t +%%% coding: utf-8 +%%% End: diff --git a/Master/texmf-dist/doc/fonts/erewhon-math/Erewhon-Math.pdf b/Master/texmf-dist/doc/fonts/erewhon-math/Erewhon-Math.pdf Binary files differnew file mode 100644 index 00000000000..1acde809d3d --- /dev/null +++ b/Master/texmf-dist/doc/fonts/erewhon-math/Erewhon-Math.pdf diff --git a/Master/texmf-dist/doc/fonts/erewhon-math/README.md b/Master/texmf-dist/doc/fonts/erewhon-math/README.md new file mode 100644 index 00000000000..61a0dffec15 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/erewhon-math/README.md @@ -0,0 +1,53 @@ +Erewhon-Math package +==================== + +## Description + +`Erewhon-Math.otf’ is an Utopia based OpenType mathematical font. +The mathematical symbols are borrowed or derived from Michel Bovani’s +Fourier-GUTenberg package, Latin letters and digits are borrowed from +Michael Shape’s Erewhon font. + +## Contents + +* Erewhon-Math.otf OpenType Math font +* fourier-otf.sty LaTeX style file: replaces fourier.sty for LuaTeX/XeTeX +* Erewhon-Math.pdf Documentation in PDF format +* Erewhon-Math.ltx Source of Erewhon-Math.pdf +* unimath-erewhon.pdf Modified version of unimath-symbols.pdf + showing available Erewhon-Math symbols compared to + LatinModern, STIXTwo, TeXGyrePagella and DejaVu. +* unimath-erewhon.ltx Source of unimath-symbols.pdf +* README.md (this file) + +## Installation + +This package is meant to be installed automatically by TeXLive, MikTeX, etc. +Otherwise, Erewhon-Math can be installed under TEXMFHOME or TEXMFLOCAL, f.i. +Erewhon-Math.otf in directory texmf-local/fonts/opentype/public/erewhon-math/ +and +fourier-otf.sty in directory texmf-local/tex/latex/erewhon-math/ +Documentation files and their sources can go to directory +texmf-local/doc/fonts/public/erewhon-math/ +Don't forget to rebuild the file database (mktexlsr or so) if you install +under TEXMFLOCAL. +Finally, make the system font database aware of the Erewhon Math font +(fontconfig under Linux). + +## License + +* The font `Erewhon-Math.otf’ is licensed under the SIL Open Font License, +Version 1.1. This license is available with a FAQ at: +http://scripts.sil.org/OFL +* The other files are distributed under the terms of the LaTeX Project +Public License from CTAN archives in directory macros/latex/base/lppl.txt. +Either version 1.3 or, at your option, any later version. + +## Changes + +* First public version: 0.40 + +--- +Copyright 2019- Michel Bovani, Daniel Flipo +E-mail: michel (dot) bovani (at) icloud (dot) com + daniel (dot) flipo (at) free (dot) fr diff --git a/Master/texmf-dist/doc/fonts/erewhon-math/unimath-erewhon.ltx b/Master/texmf-dist/doc/fonts/erewhon-math/unimath-erewhon.ltx new file mode 100644 index 00000000000..76018b2a853 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/erewhon-math/unimath-erewhon.ltx @@ -0,0 +1,509 @@ +%%^^A%% unimath-symbols.ltx -- part of UNICODE-MATH <wspr.io/unicode-math> +%%^^A%% Listing of Unicode mathematics symbols using a variety of fonts. + +%% Changes (df): XITS replaced by Erewhon. + +%!TEX TS-program = LuaLaTeX + +%%%%%%%%%%%%%%%%%%%%%%% +% SYMBOLS DEFINED BY UNICODE-MATH +%%%%%%%%%%%%%%%%%%%%%%% + +\documentclass[final]{article} +\makeatletter + +\usepackage{ragged2e,setspace,booktabs,catchfile,shortvrb,geometry,metalogo,textcomp,longtable,tabu,hyperref} + +\geometry{margin=3cm} +\hypersetup{colorlinks,linkcolor=black} + +\def\cmd#1{\texttt{\textbackslash\expandafter\@gobble\string#1}} + +\usepackage{fontspec} +\setmainfont{texgyrepagella}% + [ + Extension = .otf, + UprightFont = *-regular, + ItalicFont = *-italic, + BoldFont = *-bold, + BoldItalicFont = *-bolditalic, + Ligatures=TeX, + Numbers={Lowercase,Monospaced}, + ] +\usepackage[math-style=literal,bold-style=literal]{unicode-math} + +\ExplSyntaxOn +\cs_generate_variant:Nn \fontspec_set_fontface:NNnn {c} + +\def\FINISH{} +\newcount\Nfonts +\def\defmathfont#1#2#3#4{ + \Nfonts=\numexpr\Nfonts+1\relax + \tl_set:cn {L#1} {#4} + \newcounter{#1} + \setcounter{#1}{-1} + \setmathfont[version=#1,SizeFeatures={ + {Size=-10, Colour=999999}, + {Size=10-, Colour=#3}}]{#2} + \fontspec_set_fontface:cNnn {#1} \x {ItalicFont={},BoldFont={}} {#2} + \tl_gput_right:Nn \FINISH { + \refstepcounter{#1}\label{count:#1} + } +} +\ExplSyntaxOff + +\defmathfont{lm}{latinmodern-math.otf}{CC6666}{L} +%\defmathfont{xits}{XITSMath-Regular.otf}{6666CC}{X} +\defmathfont{stix}{STIX2Math.otf}{66CC66}{S} +\defmathfont{erewhon}{Erewhon-Math.otf}{AA6666}{E} +\defmathfont{pagella}{texgyrepagella-math.otf}{66CCCC}{P} +\defmathfont{dejavu}{texgyredejavu-math.otf}{AACC66}{D} +%\defmathfont{fira}{FiraMath-Regular.otf}{AA66CC}{F} + +\def\INPUT{\input{unicode-math-table.tex}} +\def\TABLE{% +\par\noindent +\begin{longtabu}[l]{@{}l *{\Nfonts}{c} lX[l]@{}} + \toprule + \textsc{usv} & \Llm & \Lstix & \Lerewhon & \Lpagella & \Ldejavu %& \Lfira + & Macro & Description \\ + \midrule \endhead + \INPUT\\ + \bottomrule +\end{longtabu} +} +\makeatletter +\def\USV#1{\footnotesize\scshape\MakeLowercase{u+\@gobble#1}} +\makeatother +\def\CMD#1{\footnotesize\cmd#1} +\def\DESC#1{% + \begin{spacing}{0.5} + \RaggedRight\scriptsize #1% + \end{spacing} +} + +\newcommand\SHOW[1]{% + \def\UnicodeMathSymbol##1##2##3##4{% + \def\1{#1}\def\2{##3}% + \ifx\1\2\PRINTLINE{##1}{##2}{##4}\fi + }% + \TABLE +} +\ExplSyntaxOn +\def\PRINTLINE#1#2#3{ + \def\tempa{ + \USV{#1} & + \SYMB{#2}{lm}{#1} & +% \SYMB{#2}{xits}{#1} & + \SYMB{#2}{stix}{#1} & + \SYMB{#2}{erewhon}{#1} & + \SYMB{#2}{pagella}{#1} & + \SYMB{#2}{dejavu}{#1} & +% \SYMB{#2}{fira}{#1} & + \CMD{#2} + \tl_if_in:NnT \PLAIN {#2} + { + \makebox[0pt][l] + { \color[gray]{0.7} \textsuperscript{\sffamily (p)} } + } + \tl_if_in:NnT \LTXSYM {#2} + { + \makebox[0pt][l] + { \color[gray]{0.7} \textsuperscript{\sffamily (l)} } + } + \tl_if_in:NnT \AMSSYMB {#2} + { + \makebox[0pt][l] + { \color[gray]{0.7} \textsuperscript{\sffamily (a)} } + } + & + \DESC{#3} \\ + }% + \expandafter\tempa +} +\ExplSyntaxOff +\def\SYMB#1#2#3{% + \expandafter\iffontchar\csname#2\endcsname #3\relax + \refstepcounter{#2}% + \mathversion{#2}% + $\displaystyle#1$% + \fi +} + +\def\PLAIN{\alpha\beta\gamma\delta\epsilon\zeta\eta\theta\iota\kappa\lambda\mu\nu\xi\pi\rho\sigma\tau\upsilon\phi\chi\psi\omega\varepsilon\vartheta\varpi\varrho\varsigma\varphi\Gamma\Delta\Theta\Lambda\Xi\Pi\Sigma\Upsilon\Phi\Psi\Omega +% +\aleph\hbar\imath\jmath\ell\wp\Re\Im\partial\infty\prime\emptyset\nabla\surd\top\bot\angle\triangle\forall\exists\neg\flat\natural\sharp\clubsuit\diamondsuit\heartsuit\spadesuit +% +\coprod\bigvee\bigwedge\biguplus\bigcap\bigcup\int\prod\sum\bigotimes\bigoplus\bigodot\oint\bigsqcup\smallint +% +\triangleleft\triangleright\bigtriangleup\bigtriangledown\wedge\land\vee\lor\cap\cup\ddagger\dagger\sqcap\sqcup\uplus\amalg\diamond\bullet\wr\div\odot\oslash\otimes\ominus\oplus\mp\pm\circ\bigcirc\setminus\cdot\ast\times\star\propto\sqsubseteq\sqsupseteq\parallel\mid\dashv\vdash\nearrow\searrow\nwarrow\swarrow\Leftrightarrow\Leftarrow\Rightarrow\neq\ne\lnot\leq\le\geq\ge\succ\prec\approx\succeq\preceq\supset\subset\supseteq\subseteq\in\ni\owns\gg\ll\not\leftrightarrow\leftarrow\gets\rightarrow\to\mapstochar\mapsto\sim\simeq\perp\equiv\asymp\smile\frown\leftharpoonup\leftharpoondown\rightharpoonup\rightharpoondown +% +\joinrel\relbar\Relbar\lhook\hookrightarrow\rhook\hookleftarrow\bowtie\models\Longrightarrow\longrightarrow\longleftarrow\Longleftarrow\longmapsto\longleftrightarrow\Longleftrightarrow\iff +% +\ldotp\cdotp\colon\ldots\cdots\vdots\ddots +% +\acute\grave\ddot\tilde\bar\breve\check\hat\vec\dot\widetilde\widehat +% +\overrightarrow\overleftarrow\overbrace\underbrace\lmoustache\rmoustache\lgroup\rgroup\arrowvert\Arrowvert\bracevert\Vert\vert\uparrow\downarrow\updownarrow\Uparrow\Downarrow\Updownarrow\backslash\rangle\langle\rbrace\lbrace\rceil\lceil\rfloor\lfloor\sqrt} + + +\def\LTXSYM{ +\cong +\notin +\rightleftharpoons +\doteq +\mathring +} + +\def\AMSSYMB{\boxdot\boxplus\boxtimes\square\blacksquare\centerdot\lozenge\blacklozenge\circlearrowright\circlearrowleft\leftrightharpoons\boxminus\Vdash\Vvdash\vDash\twoheadrightarrow\twoheadleftarrow\leftleftarrows\rightrightarrows\upuparrows\downdownarrows\upharpoonright\restriction\downharpoonright\upharpoonleft\downharpoonleft\rightarrowtail\leftarrowtail\leftrightarrows\rightleftarrows\Lsh\Rsh\rightsquigarrow\leftrightsquigarrow\looparrowleft\looparrowright\circeq\succsim\gtrsim\gtrapprox\multimap\therefore\because\doteqdot\Doteq\triangleq\precsim\lesssim\lessapprox\eqslantless\eqslantgtr\curlyeqprec\curlyeqsucc\preccurlyeq\leqq\leqslant\lessgtr\backprime\risingdotseq\fallingdotseq\succcurlyeq\geqq\geqslant\gtrless\vartriangleright\vartriangleleft\trianglerighteq\trianglelefteq\bigstar\between\blacktriangledown\blacktriangleright\blacktriangleleft\vartriangle\blacktriangle\triangledown\eqcirc\lesseqgtr\gtreqless\lesseqqgtr\gtreqqless\Rrightarrow\Lleftarrow\veebar\barwedge\doublebarwedge\measuredangle\sphericalangle\varpropto\smallsmile\smallfrown\Subset\Supset\Cup\doublecup\Cap\doublecap\curlywedge\curlyvee\leftthreetimes\rightthreetimes\subseteqq\supseteqq\bumpeq\Bumpeq\lll\llless\ggg\gggtr\circledS\pitchfork\dotplus\backsim\backsimeq\complement\intercal\circledcirc\circledast\circleddash\lvertneqq\gvertneqq\nleq\ngeq\nless\ngtr\nprec\nsucc\lneqq\gneqq\nleqslant\ngeqslant\lneq\gneq\npreceq\nsucceq\precnsim\succnsim\lnsim\gnsim\nleqq\ngeqq\precneqq\succneqq\precnapprox\succnapprox\lnapprox\gnapprox\nsim\ncong\diagup\diagdown\varsubsetneq\varsupsetneq\nsubseteqq\nsupseteqq\subsetneqq\supsetneqq\varsubsetneqq\varsupsetneqq\subsetneq\supsetneq\nsubseteq\nsupseteq\nparallel\nmid\nshortmid\nshortparallel\nvdash\nVdash\nvDash\nVDash\ntrianglerighteq\ntrianglelefteq\ntriangleleft\ntriangleright\nleftarrow\nrightarrow\nLeftarrow\nRightarrow\nLeftrightarrow\nleftrightarrow\divideontimes\varnothing\nexists\Finv\Game\eth\eqsim\beth\gimel\daleth\lessdot\gtrdot\ltimes\rtimes\shortmid\shortparallel\smallsetminus\thicksim\thickapprox\approxeq\succapprox\precapprox\curvearrowleft\curvearrowright\digamma\varkappa\Bbbk\hslash\backepsilon} + +\input{unicode-math.dtx} + +\begin{document} +\MakeShortVerb\| +\title{Symbols defined by \textsf{unicode-math}} +\author{Will Robertson} +\date{Modified (df) to show Erewhon Math symbols} +\maketitle + +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. +The following fonts are shown: (with approximate symbol counts) +\begin{itemize} +\item[\Llm] \mathversion{lm} $\mathup{Latin\ Modern\ Math}$ (\ref{count:lm}) +%\item[\Lxits] \mathversion{xits} $\mathup{XITS\ Math}$ (\ref{count:xits}) +\item[\Lstix] \mathversion{stix} $\mathup{STIX\ Math\ Two}$ (\ref{count:stix}) +\item[F] \mathversion{erewhon} $\mathup{Erewhon\ Math}$ (\ref{count:erewhon}) +\item[\Lpagella] \mathversion{pagella} $\mathup{TeX\ Gyre\ Pagella\ Math}$ (\ref{count:pagella}) +\item[\Ldejavu] \mathversion{dejavu} $\mathup{DejaVu\ Math\ TeX\ Gyre}$ (\ref{count:dejavu}) +%\item[\Lfira] \mathversion{fira} $\mathup{Fira\ Math}$ (\ref{count:fira}) +\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)}}. +Symbols defined in \textsf{amssymb} are indicated with {\color[gray]{0.6} \textsuperscript{\sffamily (a)}}. + +Note that this list of fonts is not intended to be exhaustive but I am happy to add new fonts by request if they are distributed in \TeX\ Live.\footnote{Only a single \TeX\ Gyre Math font is shown here by design as they all largely have the same symbol coverage.} + +\tableofcontents + +\clearpage +\section{Opening symbols, \cmd\mathopen} +\begingroup +\def\sqrt{\sqrtsign{}} +\def\cuberoot{\cuberootsign{}} +\def\fourthroot{\fourthrootsign{}} +\def\longdivision{\longdivisionsign{}} +\SHOW\mathopen +\endgroup + +\clearpage +\section{Closing symbols, \cmd\mathclose} +\SHOW\mathclose + +\section{Fence symbols, \cmd\mathfence} +\SHOW\mathfence + +\clearpage +\section{Punctuation symbols, \cmd\mathpunct} +\SHOW\mathpunct + +\section{`Over' symbols, \cmd\mathover} +\begingroup +\def\SYMB#1#2#3{% + \expandafter\iffontchar\csname#2\endcsname #3\relax + \refstepcounter{#2}% + \mathversion{#2}% + $\displaystyle #1{\mitx+\mity}$% + \fi +} +\SHOW\mathover +\endgroup + +\section{`Under' symbols, \cmd\mathunder} +\begingroup +\def\SYMB#1#2#3{% + \expandafter\iffontchar\csname#2\endcsname #3\relax + \refstepcounter{#2}% + \mathversion{#2}% + $\displaystyle #1{\mitx+\mity}$% + \fi +} +\SHOW\mathunder +\endgroup + +\clearpage +\section{Accents, \cmd\mathaccent} + +Note that accents will only be properly placed if used with an OpenType font with the necessary information. + +\begingroup +\def\SYMB#1#2#3{% + \expandafter\iffontchar\csname#2\endcsname #3\relax + \refstepcounter{#2}% + \mathversion{#2}% + $\displaystyle#1 \mitx$% + \fi +} +\SHOW\mathaccent +\endgroup + +\section{Accents, \cmd\mathaccent} + +Note that accents will only be properly placed if used with an OpenType font with the necessary information. + +\begingroup +\def\SYMB#1#2#3{% + \expandafter\iffontchar\csname#2\endcsname #3\relax + \refstepcounter{#2}% + \mathversion{#2}% + $\displaystyle#1 \mitx$% + \fi +} +\SHOW\mathaccent +\endgroup + +\section{Bottom accents, \cmd\mathbotaccent} +\begingroup +\def\SYMB#1#2#3{% + \expandafter\iffontchar\csname#2\endcsname #3\relax + \refstepcounter{#2}% + \mathversion{#2}% + $\displaystyle#1 \mitx$% + \fi +} +\SHOW\mathbotaccent +\endgroup + +% Added (df) +\section{Bottom accents wide, \cmd\mathbotaccentwide} +\begingroup +\def\SYMB#1#2#3{% + \expandafter\iffontchar\csname#2\endcsname #3\relax + \refstepcounter{#2}% + \mathversion{#2}% + $\displaystyle#1 {\mitx+\mity}$% + \fi +} +\SHOW\mathbotaccentwide +\endgroup + +\section{Big operators, \cmd\mathop} + +Of the operators shown below, a subset need to be flagged by \textsf{unicode-math} for \cmd\nolimits\ adjustments. +The limits behaviour as specified by \textsf{unicode-math} are shown with grey subscripts and superscripts. +\begingroup +\def\SYMB#1#2#3{% + \expandafter\iffontchar\csname#2\endcsname #3\relax + \stepcounter{#2}% + \mathversion{#2}% + $\displaystyle#1_0^1$% + \fi +} +\SHOW\mathop +\endgroup + +\clearpage +\section{Binary relations, \cmd\mathbin} +\SHOW\mathbin + +\clearpage +\section{Ordinary symbols, \cmd\mathord} +\SHOW\mathord + +\clearpage +\section{Relation symbols, \cmd\mathrel} +\SHOW\mathrel + +\clearpage +\section{Alphabetical symbols, \cmd\mathalpha} + +% first read in all \mathalpha symbols into a variable: +\ExplSyntaxOn +\cs_set:Npn \UnicodeMathSymbol #1#2#3#4 { + \str_if_eq:nnT {\mathalpha} {#3} { + \exp_not:n { \UnicodeMathSymbol {#1}{#2}{#3}{#4} } + } +} +\CatchFileEdef + \ALPHA{unicode-math-table.tex} + {\char_set_catcode_space:N \ } + +% now each time we print an alphabet we remove the slot; +% this ensures we won't miss anything + +\def\INPUT{\ALPHA} +\cs_new:Npn \SLOTS #1#2 { + \cs_set:Npn \UnicodeMathSymbol ##1##2##3##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_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} +} + +\ExplSyntaxOff + +\subsection{Normal weight} + +\subsubsection{Upright Greek, uppercase} +\SLOTS{"00391}{"003A9} + +\subsubsection{Upright Greek, lowercase} +\SLOTS{"003B1}{"003F5} + +\subsubsection{Italic, Latin, uppercase} +\SLOTS{"1D434}{"1D44D} + +\subsubsection{Italic, Latin, lowercase} +\SLOTS{"1D44E}{"1D467} + +\subsubsection{Italic Greek, uppercase} +\SLOTS{"1D6E2}{"1D6FA} + +\subsubsection{Italic Greek, lowercase} +\SLOTS{"1D6FC}{"1D71B} + +\subsubsection{Script, Latin, uppercase} +\SLOTS{"1D49C}{"1D4B5} + +\subsubsection{Script, Latin, lowercase} +\SLOTS{"1D4B6}{"1D4CF} + +\subsubsection{Fraktur, Latin, uppercase} +\SLOTS{"1D504}{"1D51C} + +\subsubsection{Fraktur, Latin, lowercase} +\SLOTS{"1D51E}{"1D537} + +\subsubsection{Blackboard, Latin, uppercase} +\SLOTS{"1D538}{"1D550} + +\subsubsection{Blackboard, Latin, lowercase} +\SLOTS{"1D552}{"1D56B} + +\subsubsection{Sans serif, Latin, uppercase} +\SLOTS{"1D5A0}{"1D5B9} + +\subsubsection{Sans serif, Latin, lowercase} +\SLOTS{"1D5BA}{"1D5D3} + +\subsubsection{Italic sans serif, Latin, uppercase} +\SLOTS{"1D608}{"1D621} + +\subsubsection{Italic sans serif, Latin, lowercase} +\SLOTS{"1D622}{"1D63B} + +\subsubsection{Typewriter, Latin, uppercase} +\SLOTS{"1D670}{"1D689} + +\subsubsection{Typewriter, Latin, lowercase} +\SLOTS{"1D68A}{"1D6A3} + +\subsection{Bold} + +\subsubsection{Bold, Latin, uppercase} +\SLOTS{"1D400}{"1D419} + +\subsubsection{Bold, Latin, lowercase} +\SLOTS{"1D41A}{"1D433} + +\subsubsection{Bold Greek, uppercase} +\SLOTS{"1D6A8}{"1D6C0} + +\subsubsection{Bold Greek, lowercase} +\SLOTS{"1D6C2}{"1D6E1} + +\subsubsection{Bold italic, Latin, uppercase} +\SLOTS{"1D468}{"1D481} + +\subsubsection{Bold italic, Latin, lowercase} +\SLOTS{"1D482}{"1D49B} + +\subsubsection{Bold italic Greek, uppercase} +\SLOTS{"1D71C}{"1D734} + +\subsubsection{Bold italic Greek, lowercase} +\SLOTS{"1D736}{"1D755} + +\subsubsection{Bold script, Latin, uppercase} +\SLOTS{"1D4D0}{"1D4E9} + +\subsubsection{Bold script, Latin, lowercase} +\SLOTS{"1D4EA}{"1D503} + +\subsubsection{Bold fraktur, Latin, uppercase} +\SLOTS{"1D56C}{"1D585} + +\subsubsection{Bold fraktur, Latin, lowercase} +\SLOTS{"1D586}{"1D59F} + +\subsubsection{Bold sans serif, Latin, uppercase} +\SLOTS{"1D5D4}{"1D5ED} + +\subsubsection{Bold sans serif, Latin, lowercase} +\SLOTS{"1D5EE}{"1D607} + +\subsubsection{Bold italic sans serif, Latin, uppercase} +\SLOTS{"1D63C}{"1D655} + +\subsubsection{Bold italic sans serif, Latin, lowercase} +\SLOTS{"1D656}{"1D66F} + +\subsubsection{Bold sans serif Greek, uppercase} +\SLOTS{"1D756}{"1D76E} + +\subsubsection{Bold sans serif Greek, lowercase} +\SLOTS{"1D770}{"1D78F} + +\subsubsection{Bold italic sans serif Greek, uppercase} +\SLOTS{"1D790}{"1D7A8} + +\subsubsection{Bold italic sans serif Greek, lowercase} +\SLOTS{"1D7AA}{"1D7C9} + +\subsection{Miscellaneous} +\def\UnicodeMathSymbol#1#2#3#4{\PRINTLINE{#1}{#2}{#4}} +\TABLE + +\FINISH + +\end{document} + +\endinput + +% /© +% +% ------------------------------------------------ +% The UNICODE-MATH package <wspr.io/unicode-math> +% ------------------------------------------------ +% This package is free software and may be redistributed and/or modified under +% the conditions of the LaTeX Project Public License, version 1.3c or higher +% (your choice): <http://www.latex-project.org/lppl/>. +% ------------------------------------------------ +% Copyright 2006-2019 Will Robertson, LPPL "maintainer" +% Copyright 2010-2017 Philipp Stephani +% Copyright 2011-2017 Joseph Wright +% Copyright 2012-2015 Khaled Hosny +% ------------------------------------------------ +% +% ©/ + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% TeX-engine: luatex +%%% End: diff --git a/Master/texmf-dist/doc/fonts/erewhon-math/unimath-erewhon.pdf b/Master/texmf-dist/doc/fonts/erewhon-math/unimath-erewhon.pdf Binary files differnew file mode 100644 index 00000000000..2ea2fa0cf46 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/erewhon-math/unimath-erewhon.pdf diff --git a/Master/texmf-dist/fonts/opentype/public/erewhon-math/Erewhon-Math.otf b/Master/texmf-dist/fonts/opentype/public/erewhon-math/Erewhon-Math.otf Binary files differnew file mode 100644 index 00000000000..a6aea332883 --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/erewhon-math/Erewhon-Math.otf diff --git a/Master/texmf-dist/tex/latex/erewhon-math/fourier-otf.sty b/Master/texmf-dist/tex/latex/erewhon-math/fourier-otf.sty new file mode 100644 index 00000000000..bcff80dd5bf --- /dev/null +++ b/Master/texmf-dist/tex/latex/erewhon-math/fourier-otf.sty @@ -0,0 +1,160 @@ +\NeedsTeXFormat{LaTeX2e}[2018/01/01] +\def\fileversion{0.37}% +\def\filedate{2019/11/07}% + \ProvidesPackage{fourier-otf}[\filedate\space\fileversion] + +% Ensure luatex or xetex engine +\RequirePackage{iftex}[2019/10/24] +\RequireTUTeX +\RequirePackage{unicode-math} +\RequirePackage{fourier-orns} + +\newopentypefeature{Style}{leqslant}{ss04} +\newopentypefeature{Style}{smaller}{ss05} +\newopentypefeature{Style}{subsetneq}{ss06} +\newopentypefeature{Style}{parallelslant}{ss07} + +% Options: forward them to \setmathfont except "tight" and "loose" +\RequirePackage{xkeyval} +\newtoks\FOTtoks +\newif\ifFOT@tight +\DeclareOptionX{tight}{\FOT@tighttrue} +\DeclareOptionX{loose}{\FOT@tightfalse} +\DeclareOptionX{math-style}{\Store@KV@Option{math-style}{#1}} +\DeclareOptionX{bold-style}{\Store@KV@Option{bold-style}{#1}} +\DeclareOptionX{nabla}{\Store@KV@Option{nabla}{#1}} +\DeclareOptionX{partial}{\Store@KV@Option{partial}{#1}} +\DeclareOptionX{CharacterVariant}{\Store@KV@Option{CharacterVariant}{#1}} +\DeclareOptionX{StylisticSet}{\Store@KV@Option{StylisticSet}{#1}} +\DeclareOptionX{Style}{\Store@KV@Option{Style}{#1}} +\newcommand*{\Store@KV@Option}[2]{% + \FOTtoks=\expandafter{\the\FOTtoks #1={#2},}} +\ExecuteOptionsX{tight} +\ProcessOptionsX +\expandafter\setmathfont\expandafter[\the\FOTtoks]{Erewhon-Math.otf} +\ifFOT@tight + \thinmuskip=2mu + \medmuskip=2.5mu plus 1mu minus 2.5mu + \thickmuskip=3.5mu plus 2.5mu +\fi +% Text Serif fonts: Erewhon +\setmainfont{Erewhon}[ + Extension = .otf, + UprightFont = *-Regular, + BoldFont = *-Bold, + ItalicFont = *-Italic, + BoldItalicFont = *-BoldItalic, + SlantedFont = *-RegularSlanted, + BoldSlantedFont = *-BoldSlanted + ] +% Text Sans Serif fonts: lmss (default) +% Text Typewriter fonts: lmtt (default) + +\AtBeginDocument{% + % Fourier specific math + \Umathchardef\hbar = 0 0 "0127 \relax + \Umathchardef\Bbbbackslash = 0 0 "E020 \relax + \Umathchardef\varemptyset = 0 0 "E021 \relax + \Umathchardef\mupvarzero = 0 0 "E022 \relax + \Umathchardef\mbfvarzero = 0 0 "E023 \relax + \Umathchardef\mupvarvarpi = 0 0 "E032 \relax + \Umathchardef\mbfvarpartial = 0 0 "E040 \relax + \Umathchardef\mbfvarvarrho = 0 0 "E041 \relax + \Umathchardef\mbfvarvarpi = 0 0 "E042 \relax + \Umathchardef\mbfitvarpartial = 0 0 "E060 \relax + \Umathchardef\mbfitvarvarrho = 0 0 "E061 \relax + \Umathchardef\mbfitvarvarpi = 0 0 "E062 \relax + \Umathchardef\mitvarpartial = 0 0 "E070 \relax + \Umathchardef\mitvarvarrho = 0 0 "E071 \relax + \Umathchardef\mitvarvarpi = 0 0 "E072 \relax + \Umathchardef\parallelslant = 3 0 "E090 \relax + \Umathchardef\nparallelslant = 3 0 "E091 \relax + \Umathchardef\shortparallelslant = 3 0 "E092 \relax + \Umathchardef\nshortparallelslant = 3 0 "E093 \relax + \Umathchardef\lesseqslantgtr = 3 0 "E094 \relax + \Umathchardef\gtreqslantless = 3 0 "E094 \relax + \Umathchardef\lesseqqslantgtr = 3 0 "E095 \relax + \Umathchardef\gtreqqslantless = 3 0 "E096 \relax + \Umathchardef\nsubseteqq = 3 0 "E0AE \relax + \Umathchardef\nsupseteqq = 3 0 "E0AF \relax + % \widearc and\overrightarc + \newcommand*{\widearc}{\Umathaccent 0 0 "E540 }% + \newcommand*{\overrightarc}{\Umathaccent 0 0 "20D5 }% + % From FourierOrns + \Umathchardef\forbidden = 0 0 "E0B0 \relax + \Umathchardef\beware = 0 0 "E0B1 \relax + \Umathchardef\boom = 0 0 "E0B2 \relax + \Umathchardef\thething = 0 0 "E0B4 \relax + \Umathchardef\xswordsup = 0 0 "E0B5 \relax + \Umathchardef\xswordsdown = 0 0 "E0B6 \relax + % amssymb + \@ifpackageloaded{amssymb}% + {\PackageWarning{fourier-otf}{% + Fourier-of provides all AMS symbols.\MessageBreak + Loading amssymb.sty is not advisable.\MessageBreak + Reported}% + }% + {% AMS Symbols not referenced in unicode-math-table.tex + % \Umathchardef\sum = <math type> <family> <slot> + % <math type> : \mathord=0 \mathrel=3 ; <family>=0 + \Umathchardef\circledR = 0 0 "24C7 \relax + \Umathchardef\circledS = 0 0 "24C8 \relax + \Umathchardef\diagup = 0 0 "E0A0 \relax + \Umathchardef\diagdown = 0 0 "E0A1 \relax + \Umathchardef\shortmid = 3 0 "E0A2 \relax + \Umathchardef\shortparallel = 3 0 "E0A3 \relax + \Umathchardef\nshortmid = 3 0 "E0A4 \relax + \Umathchardef\nshortparallel = 3 0 "E0A5 \relax + \Umathchardef\lvertneqq = 3 0 "E0A6 \relax + \Umathchardef\gvertneqq = 3 0 "E0A7 \relax + \Umathchardef\varsubsetneq = 3 0 "E0AC \relax + \Umathchardef\varsupsetneq = 3 0 "E0AD \relax + \Umathchardef\varsubsetneqq = 3 0 "E09C \relax + \Umathchardef\varsupsetneqq = 3 0 "E09D \relax + \Umathchardef\nleqslant = 3 0 "E0A8 \relax + \Umathchardef\ngeqslant = 3 0 "E0A9 \relax + \Umathchardef\nleqq = 3 0 "E0AA \relax + \Umathchardef\ngeqq = 3 0 "E0AB \relax + \Umathchardef\npreceq = 3 0 "E098 \relax + \Umathchardef\nsucceq = 3 0 "E099 \relax + \let\centerdot\cdotp % vysmblksquare ? + \let\restriction\upharpoonright + \let\doteqdot\Doteq + \let\doublecup\Cup + \let\doublecap\Cap + \let\llless\lll + \let\gggtr\ggg + \let\circlearrowleft\acwopencirclearrow + \let\circlearrowright\cwopencirclearrow + \let\lozenge\diamondsuit + \let\blacklozenge\vardiamondsuit + \let\square\mdlgwhtsquare + \let\blacksquare\mdlgblksquare + \let\dashleftarrow\leftdasharrow + \let\dashrightarrow\rightdasharrow + \let\ntriangleleft\nvartriangleleft + \let\ntriangleright\nvartriangleright + \let\varpropto\propto + \let\thicksim\sim + \let\thickapprox\approx + \let\smallsmile\smile + \let\smallfrown\frown + }% + % latexsym + \@ifpackageloaded{latexsym}% + {\PackageWarning{fourier-otf}{% + Fourier-of provides all LaTeX symbols.\MessageBreak + Loading latexsym.sty is not advisable.\MessageBreak + Reported}% + }% + {\let\lhd\vartriangleleft + \let\rhd\vartriangleright + \let\unlhd\trianglelefteq + \let\unrhd\trianglerighteq + \let\leadsto\rightsquigarrow + \let\Box\mdlgwhtsquare + \let\Diamond\mdlgwhtdiamond + }% +} + +\endinput diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index d5b8f0b13a3..ae4cc98d011 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -263,7 +263,7 @@ my @TLP_working = qw( epsdice epsf epsf-dvipdfmx epsincl epslatex-fr epspdf epspdfconversion epstopdf epstopdf-pkg eqell eqexpl eqlist eqnalign eqname eqnarray eqnnumwarn eqparbox - erdc erewhon errata erw-l3 + erdc erewhon erewhon-math errata erw-l3 esami es-tex-faq esdiff esindex esint esint-type1 esk eskd eskdx eso-pic esrelation esstix estcpmm esvect etaremune etdipa etex-pkg etextools ethiop ethiop-t1 diff --git a/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc index 73c9099a121..358048bbbd6 100644 --- a/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc @@ -113,6 +113,7 @@ depend elvish depend epigrafica depend epsdice depend erewhon +depend erewhon-math depend esrelation depend esstix depend esvect diff --git a/Master/tlpkg/tlpsrc/erewhon-math.tlpsrc b/Master/tlpkg/tlpsrc/erewhon-math.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/erewhon-math.tlpsrc |