From 054d357b9895e835697ab0d8648835ef60d7e174 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 4 Feb 2019 21:34:30 +0000 Subject: garamond-math (4feb19) git-svn-id: svn://tug.org/texlive/trunk@49933 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/fonts/garamond-math/Garamond-Math.pdf | Bin 289799 -> 275848 bytes .../doc/fonts/garamond-math/Garamond-Math.tex | 43 ++++++++++++--------- .../texmf-dist/doc/fonts/garamond-math/README.md | 4 +- 3 files changed, 28 insertions(+), 19 deletions(-) (limited to 'Master/texmf-dist/doc/fonts') diff --git a/Master/texmf-dist/doc/fonts/garamond-math/Garamond-Math.pdf b/Master/texmf-dist/doc/fonts/garamond-math/Garamond-Math.pdf index 97cd2313b53..2a41892538f 100644 Binary files a/Master/texmf-dist/doc/fonts/garamond-math/Garamond-Math.pdf and b/Master/texmf-dist/doc/fonts/garamond-math/Garamond-Math.pdf differ 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 d4765579c87..f5531501f35 100644 --- a/Master/texmf-dist/doc/fonts/garamond-math/Garamond-Math.tex +++ b/Master/texmf-dist/doc/fonts/garamond-math/Garamond-Math.tex @@ -4,16 +4,20 @@ \usepackage[math-style=ISO, bold-style=ISO]{unicode-math} \usepackage{metalogo} -\setmathfont{Garamond-Math.otf}[Path=./] -\setmathfont{Garamond-Math.otf}[version=GaramondMathI ,StylisticSet={1},Path=./] -\setmathfont{Garamond-Math.otf}[version=GaramondMathII ,StylisticSet={2},Path=./] -\setmathfont{Garamond-Math.otf}[version=GaramondMathIII ,StylisticSet={3},Path=./] -\setmathfont{Garamond-Math.otf}[version=GaramondMathIV ,StylisticSet={4},Path=./] -\setmathfont{Garamond-Math.otf}[version=GaramondMathV ,StylisticSet={5},Path=./] -\setmathfont{Garamond-Math.otf}[version=GaramondMathVI ,StylisticSet={6},Path=./] -\setmathfont{Garamond-Math.otf}[version=GaramondMathVII ,StylisticSet={7},Path=./] -\setmathfont{Garamond-Math.otf}[version=GaramondMathVIII,StylisticSet={8},Path=./] -\setmathfont{Garamond-Math.otf}[version=GaramondMathIX ,StylisticSet={9},Path=./] +% \setmainfont{EB Garamond} +\setmainfont{Libertinus Sans} +\setmonofont{Source Code Pro}[Scale=.86] +\setmathfont{Garamond-Math.otf}[Path=./ ]%, Scale=MatchUppercase] +\setmathfont{Garamond-Math.otf}[version=GaramondMathI ,StylisticSet={1 },Path=./ ]%, Scale=MatchUppercase] +\setmathfont{Garamond-Math.otf}[version=GaramondMathII ,StylisticSet={2 },Path=./ ]%, Scale=MatchUppercase] +\setmathfont{Garamond-Math.otf}[version=GaramondMathIII ,StylisticSet={3 },Path=./ ]%, Scale=MatchUppercase] +\setmathfont{Garamond-Math.otf}[version=GaramondMathIV ,StylisticSet={4 },Path=./ ]%, Scale=MatchUppercase] +\setmathfont{Garamond-Math.otf}[version=GaramondMathV ,StylisticSet={5 },Path=./ ]%, Scale=MatchUppercase] +\setmathfont{Garamond-Math.otf}[version=GaramondMathVI ,StylisticSet={6 },Path=./ ]%, Scale=MatchUppercase] +\setmathfont{Garamond-Math.otf}[version=GaramondMathVII ,StylisticSet={7 },Path=./ ]%, Scale=MatchUppercase] +\setmathfont{Garamond-Math.otf}[version=GaramondMathVIII,StylisticSet={8 },Path=./ ]%, Scale=MatchUppercase] +\setmathfont{Garamond-Math.otf}[version=GaramondMathIX ,StylisticSet={9 },Path=./ ]%, Scale=MatchUppercase] +\setmathfont{Garamond-Math.otf}[version=GaramondMathX ,StylisticSet={10},Path=./ ]%, Scale=MatchUppercase] \def\Latinalphabets{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \def\latinalphabets{abcdefghijklmnopqrstuvwxyz} @@ -99,7 +103,7 @@ \newcommand{\dd}{\text{d}} \newcommand{\norm}[1]{\left\lVert{#1}\right\rVert} -\title{Garamond-Math, Ver. 0.3} +\title{Garamond-Math, Ver. 2019-02-05} \author{Yuansheng Zhao, Xiangdong Zeng} \begin{document} @@ -114,7 +118,7 @@ This font is still under development, do not expect the font to be free of bugs. The minimal example with \texttt{unicode-math} package is as following: \begin{verbatim} - %Compile with XeTeX + %Compile with `xelatex' command \documentclass{article} \usepackage[math-style=ISO, bold-style=ISO]{unicode-math} \setmainfont{EB Garamond}%You should have installed the font @@ -125,9 +129,9 @@ The minimal example with \texttt{unicode-math} package is as following: \end{verbatim} \section{Alphabets \& StylisticSet} -The text font in this document is set to Latin Modern Roman deliberately so that the difference between text and math can be easily seen. +\emph{The text font in this document is set to Libertinus Sans deliberately so that the difference between text and math can be easily seen.} \subsubsection*{Latin and Greek (StylisticSet 4/5 give semi/extra bold for \texttt{\backslash symbf})} -Each letter is regarded as variable, so the spacing is larger than usual text. I recommend typing equations like this (pay attention to \texttt{\backslash sumup} $\ee$, $\ii$, and text $\cos$, $\dd$): $\ee^{\ii k z}=\cos k z-\ii\int_0^{kz}\cos \zeta\,\dd\zeta$. +Each letter is regarded as variable, so the spacing is larger than usual text. I recommend typing equations like this (pay attention to \texttt{\backslash symup} $\ee$, $\ii$, and text $\cos$, $\dd$): $\ee^{\ii k z}=\cos k z-\ii\int_0^{kz}\cos \zeta\,\dd\zeta$. \[ \Latinalphabets\] \[ \latinalphabets \] \[ \symup{\Latinalphabets}\] @@ -189,6 +193,9 @@ Each letter is regarded as variable, so the spacing is larger than usual text. I \subsubsection*{\texttt{\backslash hbar}: (StylisticSet 6 gives horizontal bars)} \[\text{$\hbar$\qquad \begingroup\mathversion{GaramondMathVI} $\hbar$\endgroup}\] +\subsubsection*{Italic $\symbf h$: (StylisticSet 10 gives out-bending ones)} +\[\text{$\displaystyle\hbar=\frac {\symbf{h}}{2\uppi} $\qquad \begingroup\mathversion{GaramondMathX} $\displaystyle\hbar=\frac {\symbf{h}}{2\uppi} $\endgroup}\] + \subsubsection*{\texttt{\backslash tilde}: (StylisticSet 9 gives ``normal'' ones)} \[\text{$\tilde F$\qquad \begingroup\mathversion{GaramondMathIX} $\tilde F$\endgroup}\] @@ -206,8 +213,8 @@ Each letter is regarded as variable, so the spacing is larger than usual text. I \section{Equation Samples} \[ 1 + 2 - 3 \times 4 \div 5 \pm 6 \mp 7 \dotplus 8 = -a \oplus b \otimes c -\{z\}\] \[\forall \epsilon, \exists \delta : x \in A \cup B \subset S \cap T \ntrianglerighteq U\] -\[R_{\nu\kappa\lambda}^\mu=\partial_\kappa\Gamma_{\lambda\nu}^\mu-\partial_\lambda\Gamma_{\kappa\nu}^\mu+\Gamma_{\kappa\sigma}^\mu\Gamma_\lambda\nu^\sigma-\Gamma_{\lambda\sigma}^\mu\Gamma_{\kappa\nu}^\sigma\] -\[T_{\alpha_1,\cdots\alpha_k}'^{\beta_1\cdots\beta_l}=T_{i_1\cdots i_k}^{j_1\cdots j_l} +\[R_{\nu\kappa\lambda}^\mu=\partial_\kappa\Gamma_{\lambda\nu}^\mu-\partial_\lambda\Gamma_{\kappa\nu}^\mu+\Gamma_{\kappa\sigma}^\mu\Gamma_{\lambda\nu}^\sigma-\Gamma_{\lambda\sigma}^\mu\Gamma_{\kappa\nu}^\sigma\] +\[T_{\alpha_1\cdots\alpha_k}'^{\beta_1\cdots\beta_l}=T_{i_1\cdots i_k}^{j_1\cdots j_l} \frac{\partial x^{i_1}}{\partial x'^{\alpha_1}}\cdots \frac{\partial x^{i_k}}{\partial x'^{\alpha_k}} \frac{\partial x'^{\beta_1}}{\partial x^{j_1}}\cdots @@ -246,7 +253,7 @@ Each letter is regarded as variable, so the spacing is larger than usual text. I + \bra{\frac{1}{2}} + \ket{\frac{1}{2}} + \ip{\frac{1}{2}}{\frac{1}{2}} + \op{\frac{1}{2}}{\frac{1}{2}} + \bra{\frac{a^2}{b^2}} - + \Biggl\vert \frac{\mathrm{e}^{x^2}}{\mathrm{e}^{y^2}} \Biggr\rangle + + \Biggl\vert \frac{\ee^{x^2}}{\ee^{y^2}} \Biggr\rangle \] \[ \CIRCLEDNUMB + @@ -276,7 +283,7 @@ Each letter is regarded as variable, so the spacing is larger than usual text. I &{}=\frac{1}{\sqrt{2^n}}\sum_{k_{n-1}=0}^1\cdots\sum_{k_{0}=0}^1\bigotimes_{l=1}^n\left[\exp\left(-2\uppi \ii j\frac{k_{n-l}}{2^l}\right)\kets{k_{n-l}}\right]\\ &{}=\frac{1}{\sqrt{2^n}}\bigotimes_{l=1}^n\left[\sum_{k_{n-l}=0}^1\exp\left(-2\uppi \ii j\frac{k_{n-l}}{2^l}\right)\kets{k_{n-l}}\right]\\ &{}=\frac{1}{\sqrt{2^n}}\bigotimes_{l=1}^n\left[\kets{0}_{n-l}+\ee^{-2\uppi \ii j /2^l}\kets{1}_{n-l}\right]\\ -&{}=\frac{1}{\sqrt{2^n}}\bigotimes_{l=1}^n\left[\kets{0}_{n-l}+\ee^{-2\uppi \ii ({0.j_{l-1}\ldots j_0})}\kets{1}_{n-l}\right]. +&{}=\frac{1}{\sqrt{2^n}}\bigotimes_{l=1}^n\left[\kets{0}_{n-l}+\ee^{-2\uppi \ii (\overline{0.j_{l-1}\ldots j_0})}\kets{1}_{n-l}\right]. \end{split} \] diff --git a/Master/texmf-dist/doc/fonts/garamond-math/README.md b/Master/texmf-dist/doc/fonts/garamond-math/README.md index a72dc87dde7..ce5f2b1523e 100644 --- a/Master/texmf-dist/doc/fonts/garamond-math/README.md +++ b/Master/texmf-dist/doc/fonts/garamond-math/README.md @@ -1,5 +1,5 @@ -# Garamond-Math Ver. 0.3 +# Garamond-Math Ver. 2019-02-05 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. @@ -7,6 +7,7 @@ Many mathematical symbols are derived from other fonts (see below), others are m ## Notes - *Important notes for this version* + - Fixed various wrong mappings, add italic h.var. - Fraktur is (temporarily) not supported, Because (1) Originally they come from [TeX Gyre Termes Math](http://www.gust.org.pl/projects/e-foundry/tg-math/) and GUST and OFL are not completely compatible; (2) The glyphs are not modified at all, so there is in principle no need to include it (one can use `range` option in `unicode-math`) - Default `\mathbb` is swapped with original `StylisticSet=1`. @@ -32,6 +33,7 @@ Many mathematical symbols are derived from other fonts (see below), others are m - `7` → `\int` variant - `8` → Garamond-compatible `\mathcal` (experimental) - `9` → `\tilde` variant + - `10` → out-bending italic h ## Known Issue - Currently only usable for `XeTeX` (with `unicode-math`). OTHER ENGINES (EX. `LuaTeX`, `MS Word`) WILL PRODUCE VERY BAD SPACINGS. -- cgit v1.2.3