diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-03 21:00:22 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-03 21:00:22 +0000 |
commit | 34964d84758ab95d53519266e4e1c45c3eed4935 (patch) | |
tree | 7aaa31b92e0f8b66419be26022196630f1d428dd | |
parent | 13bc1f265f026756b5f3918dd225239ffe797020 (diff) |
garamond-math (3jan22)
git-svn-id: svn://tug.org/texlive/trunk@61481 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/fonts/garamond-math/Garamond-Math.pdf | bin | 238473 -> 293731 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/garamond-math/Garamond-Math.tex | 33 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/garamond-math/README.md | 20 | ||||
-rw-r--r-- | Master/texmf-dist/fonts/opentype/public/garamond-math/Garamond-Math.otf | bin | 804812 -> 823988 bytes |
4 files changed, 29 insertions, 24 deletions
diff --git a/Master/texmf-dist/doc/fonts/garamond-math/Garamond-Math.pdf b/Master/texmf-dist/doc/fonts/garamond-math/Garamond-Math.pdf Binary files differindex e39b0d94e93..41ec19456f6 100644 --- a/Master/texmf-dist/doc/fonts/garamond-math/Garamond-Math.pdf +++ b/Master/texmf-dist/doc/fonts/garamond-math/Garamond-Math.pdf diff --git a/Master/texmf-dist/doc/fonts/garamond-math/Garamond-Math.tex b/Master/texmf-dist/doc/fonts/garamond-math/Garamond-Math.tex index 0376691306e..078ea9bcff0 100644 --- a/Master/texmf-dist/doc/fonts/garamond-math/Garamond-Math.tex +++ b/Master/texmf-dist/doc/fonts/garamond-math/Garamond-Math.tex @@ -11,7 +11,7 @@ % \setmainfont{EB Garamond} \setmainfont{EB Garamond} -\setmonofont{Source Code Pro}[Scale=.86] +% \setmonofont{Source Code Pro}[Scale=.86] \setmathfont{Garamond-Math.otf}[Path=../Release/ ]%, Scale=MatchUppercase] \setmathfont{Garamond-Math.otf}[version=GaramondMathI ,StylisticSet={1 },Path=../Release/ ]%, Scale=MatchUppercase] \setmathfont{Garamond-Math.otf}[version=GaramondMathII ,StylisticSet={2 },Path=../Release/ ]%, Scale=MatchUppercase] @@ -24,6 +24,7 @@ \setmathfont{Garamond-Math.otf}[version=GaramondMathIX ,StylisticSet={9 },Path=../Release/ ]%, Scale=MatchUppercase] \setmathfont{Garamond-Math.otf}[version=GaramondMathX ,StylisticSet={10},Path=../Release/ ]%, Scale=MatchUppercase] \setmathfont{Garamond-Math.otf}[version=GaramondMathXI ,StylisticSet={11},Path=../Release/ ]%, Scale=MatchUppercase] +\newfontfamily\GaramondMath{Garamond-Math.otf}[Path=../Release/] \def\Latinalphabets{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \def\latinalphabets{abcdefghijklmnopqrstuvwxyz} @@ -87,6 +88,8 @@ { \fonttest_circled_aux:nn {"1F150} {"1F169} } \NewDocumentCommand \CIRCLEDLETTERC { } { \fonttest_circled_aux:nn {"24D0} {"24E9} } +\NewDocumentCommand \CHESSSYMB { } + { \fonttest_circled_aux:nn {"2654} {"265F} } \cs_new:Npn \fonttest_circled_aux:nn #1#2 { \int_step_inline:nnn {#1} {#2} { \symbol {##1} } } \ExplSyntaxOff @@ -109,18 +112,13 @@ \newcommand{\dd}{\text{d}} \newcommand{\norm}[1]{\left\lVert{#1}\right\rVert} -\title{Garamond-Math, Ver. 2019-08-16} +\title{Garamond-Math, Ver. 2022-01-03} \author{Yuansheng Zhao, Xiangdong Zeng} \begin{document} \maketitle \section{Introduction} -Garamond-Math is an open type math font matching the \emph{EB Garamond (Octavio Pardo)}\footnote{https://ctan.org/pkg/ebgaramond/, and https://github.com/octaviopardo/EBGaramond12/} and \emph{EB Garamond (Georg Mayr-Duffner)}\footnote{https://github.com/georgd/EB-Garamond/}. -Many mathematical symbols are derived from other fonts, others are made from scratch. The metric is generated with a python script. - -The font is mostly tested with \XeTeX, though it shoule also work with \LuaTeX. - -Issues, bug reports, forks and other contributions are welcome. Please visit GitHub\footnote{https://github.com/YuanshengZhao/Garamond-Math/} for development details. +Garamond-Math is an open type math font matching the \emph{EB Garamond (Octavio Pardo)}\footnote{https://ctan.org/pkg/ebgaramond/, and https://github.com/octaviopardo/EBGaramond12/} and \emph{EB Garamond (Georg Mayr-Duffner)}\footnote{https://github.com/georgd/EB-Garamond/}. Many mathematical symbols are derived from other fonts, others are made from scratch. The metric is generated with a python script. Issues, bug reports, forks and other contributions are welcome. Please visit GitHub\footnote{https://github.com/YuanshengZhao/Garamond-Math/} for development details. A minimal example with \texttt{unicode-math} package is as following: \begin{verbatim} @@ -133,7 +131,7 @@ A minimal example with \texttt{unicode-math} package is as following: \[x^3+y^3=z^3.\] \end{document} \end{verbatim} -The result shoule be +The result should be \[x^3+y^3=z^3.\] \section{Alphabets \& StylisticSets} @@ -159,7 +157,7 @@ The result shoule be \begingroup\mathversion{GaramondMathV}\[\symbf{\Latinalphabets}\] \[\symbf{\latinalphabets}\]\endgroup -\subsubsection*{Sans and Typerwriter: From Libertinus Math\footnote{https://github.com/khaledhosny/libertinus/}} +\subsubsection*{Sans and Typewriter: From Libertinus Math\footnote{https://github.com/khaledhosny/libertinus/}} \[ \symsf{\Latinalphabets} \] \[\symsf{\latinalphabets} \] \[ \symsfup{\Latinalphabets} \] @@ -220,8 +218,20 @@ The result shoule be \[s=A+b\times 1\div x^3\] \begingroup\mathversion{GaramondMathXI}\[s=A+b\times 1\div x^3\]\endgroup +\subsubsection*{Other Symbols} +\begingroup + \hspace{\parindent}\GaramondMath + \CIRCLEDNUMA* \par + \CIRCLEDNUMB* \par + \CIRCLEDNUMC \par + \CIRCLEDLETTERA \par + \CIRCLEDLETTERB \par + \CIRCLEDLETTERC \par + \CHESSSYMB +\endgroup + \subsubsection*{Extensible Arrow Hack} -The font contains the math table for constructing extensible arrow. However \texttt{unicode-math} does not privode an interface to that. In \LuaTeX ~one can use \texttt{\textbackslash Uhextensible}\footnote{https://tex.stackexchange.com/questions/423893/}. A more general solution is to add the following code in preamble. +The font contains the math table for constructing extensible arrow. However \texttt{unicode-math} does not provide an interface to that. In \LuaTeX ~one can use \texttt{\textbackslash Uhextensible}\footnote{https://tex.stackexchange.com/questions/423893/}. A more general solution is to add the following code in preamble. \begin{verbatim} \usepackage{extarrow} %or mathtools \makeatletter @@ -234,7 +244,6 @@ Then \texttt{\textbackslash xleftarrow} and other commands will work: \section{Known Issue} \begin{itemize} - \item Various spacing problems. Though math fonts technically should not be kerned, some pairs looks very ugly (Ex. $VA$); sometimes sub/superscript may also have same problem. However, do note that due to the mechanism in math mode, making all spacing look perfect is amlost impossible (as far as I can do, and low x-height and large italic angle only make things even worse), in many cases, adjusting manually (i.e. using \texttt{\textbackslash,} or \texttt{\textbackslash!}) is required. \item Fake optical size. EB Garamond does not contain a complete set of glyphs (normal + bold + optical size of both weights). The ``optical size \texttt{ssty}'' is made by interpolating different weights at the present (without this, the double script is too thin to be readable). \end{itemize} diff --git a/Master/texmf-dist/doc/fonts/garamond-math/README.md b/Master/texmf-dist/doc/fonts/garamond-math/README.md index 8ec242f8d33..25ffafb7a65 100644 --- a/Master/texmf-dist/doc/fonts/garamond-math/README.md +++ b/Master/texmf-dist/doc/fonts/garamond-math/README.md @@ -1,21 +1,18 @@ <!-- README for CTAN --> -# Garamond-Math Ver. 2019-08-16 +# Garamond-Math Ver. 2022-01-03 Garamond-Math is an open type math font matching the [EB Garamond (Octavio Pardo)](https://github.com/octaviopardo/EBGaramond12/) and [EB Garamond (Georg Mayr-Duffner)](https://github.com/georgd/EB-Garamond). Many mathematical symbols are derived from other fonts (see below), others are made from scratch. The metric is generated with a python script. ## Notes -- *Important notes for this version* - - Massive metric adjustment. Now the metric is much closer to that of text. - - Now it should work with LuaTeX - - Added larger oprators etc; - - Reimport Fraktur from [Noto Sans Math](https://github.com/googlefonts/noto-fonts/). +- Update Notes + - Improved metric + - Added some new symbols -- Stylistic sets: (`StylisticSet={#1,#2,...}` in [`unicode-math`](https://ctan.org/pkg/unicode-math?lang=en) package) - - - `1` → XITS Blackboard `\mathbb`. - - `2` → Curved `\partial`, which is in style with almost all other fonts. +- Stylistic sets: (`StylisticSet={#1,#2,...}` in [`unicode-math`](https://ctan.org/pkg/unicode-math) package) + - `1` → XITS Blackboard `\mathbb` + - `2` → Curved `\partial`, which is in style with almost all other fonts - `3` → CM `\mathcal` (lowercase unavailble) - `4` → Use semi-bold for `\symbf` - `5` → Use extra-bold for `\symbf` @@ -27,10 +24,9 @@ Many mathematical symbols are derived from other fonts (see below), others are m - `11` → larger operators ## Known Issue -- Various spacing problems. Though math fonts technically should not be kerned, some pairs looks very ugly (Ex. `VA`); sometimes sub/superscript may also have same problem. - Fake optical size. EB Garamond does not contain a complete set of glyphs (normal + bold + optical size of both weights). The "optical size `ssty`" is made by interpolating different weights at the present (without this, the double script is too thin to be readable). -## Technical Staff +## Technical Stuff - Issues, bug reports, forks and other contributions are welcome. Please visit [GitHub](https://github.com/YuanshengZhao/Garamond-Math/) for development details. ## License diff --git a/Master/texmf-dist/fonts/opentype/public/garamond-math/Garamond-Math.otf b/Master/texmf-dist/fonts/opentype/public/garamond-math/Garamond-Math.otf Binary files differindex fe8f7be8dc3..9794e47f005 100644 --- a/Master/texmf-dist/fonts/opentype/public/garamond-math/Garamond-Math.otf +++ b/Master/texmf-dist/fonts/opentype/public/garamond-math/Garamond-Math.otf |