diff options
author | Karl Berry <karl@freefriends.org> | 2014-11-30 22:27:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-11-30 22:27:58 +0000 |
commit | f1c95596b5e79a27cadc0ab9be5e639d8572e900 (patch) | |
tree | 3f2b8d468df583525d349a34bd75513d91bd7b11 /Master | |
parent | 5952c321e3dd33039db481434bd0d1d7554bde13 (diff) |
ebgaramond-maths
git-svn-id: svn://tug.org/texlive/trunk@35701 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/fonts/ebgaramond-maths/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/ebgaramond-maths/ebgaramond-maths.pdf | bin | 185004 -> 191963 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/ebgaramond-maths/ebgaramond-maths.tex | 28 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ebgaramond-maths/ebgaramond-maths.sty | 22 |
4 files changed, 41 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/fonts/ebgaramond-maths/README b/Master/texmf-dist/doc/fonts/ebgaramond-maths/README index b251821c9e7..3267cfc1da9 100644 --- a/Master/texmf-dist/doc/fonts/ebgaramond-maths/README +++ b/Master/texmf-dist/doc/fonts/ebgaramond-maths/README @@ -26,6 +26,6 @@ production of this package. Clea F. Rees ReesC21 <at> cardiff <dot> ac <dot> uk -2014/09/02 +2014/11/30 vim: set nospell: diff --git a/Master/texmf-dist/doc/fonts/ebgaramond-maths/ebgaramond-maths.pdf b/Master/texmf-dist/doc/fonts/ebgaramond-maths/ebgaramond-maths.pdf Binary files differindex 5fdc1395c2b..b6c0aff4c0f 100644 --- a/Master/texmf-dist/doc/fonts/ebgaramond-maths/ebgaramond-maths.pdf +++ b/Master/texmf-dist/doc/fonts/ebgaramond-maths/ebgaramond-maths.pdf diff --git a/Master/texmf-dist/doc/fonts/ebgaramond-maths/ebgaramond-maths.tex b/Master/texmf-dist/doc/fonts/ebgaramond-maths/ebgaramond-maths.tex index ce77372c12f..17ab554b886 100644 --- a/Master/texmf-dist/doc/fonts/ebgaramond-maths/ebgaramond-maths.tex +++ b/Master/texmf-dist/doc/fonts/ebgaramond-maths/ebgaramond-maths.tex @@ -25,7 +25,7 @@ \MakeAutoQuote{‘}{’} \MakeAutoQuote*{“}{”} \usepackage[T1]{fontenc} -\usepackage{fancyhdr,fancyref,enumitem,pageslts,upquote} +\usepackage{fancyhdr,fancyref,enumitem,pageslts,upquote,array,booktabs} \usepackage{verbatim} \usepackage{url} \urlstyle{tt} @@ -37,9 +37,9 @@ \usepackage{microtype} \usepackage[headheight=15pt]{geometry} -\title{ebgaramond-maths\thanks{Version 1.0 2014--09--01.}} +\title{ebgaramond-maths\thanks{Version 1.1 2014--11--30.}} \author{Clea F.\ Rees\footnote{\liningfam ReesC21 <at> cardiff <dot> ac <dot> uk}} -\newcommand*{\dyddiad}{2\textsu{nd} September, 2014} +\newcommand*{\dyddiad}{30\textsu{th} November, 2014} \date{\dyddiad} \pagestyle{fancy} \fancyhf[lh]{\itshape ebgaramond-maths} @@ -98,17 +98,31 @@ Second, you can easily create the abomination of your choice by changing the def \section{Details}\label{sec:manylion} % BEGIN sec:manylion -The package includes \verb|.tfm| and \verb|.map| files which define a new \TeX\ font for \LaTeX, EBGaramond-Maths. +The package includes \verb|.tfm| and \verb|.map| files which define EBGaramond-Maths, a new \TeX\ font for \LaTeX. This font uses \liningnums{EBGaramond12-Italic} with an OML encoding. -However, not all characters in this encoding are available. +However, not all characters in this encoding are available (see \fref{tab:dim}). Note that this is a limitation of the font itself and not of this package. +\begin{table} + \centering + \begin{tabular}{llll} + \toprule + \string\leftharpoonup & \string\triangleright & \string\flat & \string\smile\\ + \string\leftharpoondown & \string\triangleleft & \string\natural & \string\frown\\ + \string\rightharpoonup & \string\star & \string\sharp & \string\vec\\ + \string\rightharpoondown & \string\partial & & \string\t\\ + \bottomrule + \end{tabular} + \caption{Symbols missing from EBGaramond12}\label{tab:dim} +\end{table} + + \lpack{ebgaramond-maths} uses this new font together with support files from \lpack{ebgaramond} to set up support for mathematics as follows: \begin{itemize} \item EBGaramond-Maths (medium weight) is used for \verb|letters| (standard and bold); \item EBGaramond-LF (medium weight, upright shape) is used for \verb|operators| (standard and bold); \item EBGaramond-LF (medium weight, swash shape) is used for the calligraphic alphabet, \verb|\mathcal| (medium weight); - \item \verb|\mathrm|, \verb|\mathbf| and \verb|\mathit| should all work as expected and use EBGaramond-LF (medium weight, upright or italic shape as appropriate). + \item \verb|\mathrm|, \verb|\mathbf| and \verb|\mathit| should work as expected and use EBGaramond-LF (medium weight, upright or italic shape as appropriate). \end{itemize} Note that \liningnums{EBGaramond12} does not include a bold weight by design. @@ -192,7 +206,7 @@ otftotfm -e oml-ebgaramond.enc EBGaramond12-Italic.otf \ This will create both the \verb|.tfm| file and the \verb|.map| file fragment \TeX\ needs to use the font. It will also create a new encoding file with what will almost certainly be a very weird name. This is the encoding file \TeX\ will use, as specified in the \verb|.map| file fragment. -\verb|oml-ebgaramond.enc| can now be deleted as it is no longer required. +The temporary encoding \verb|oml-ebgaramond.enc| can now be deleted as it is no longer required. % END subsec:tfm % END sec:dull diff --git a/Master/texmf-dist/tex/latex/ebgaramond-maths/ebgaramond-maths.sty b/Master/texmf-dist/tex/latex/ebgaramond-maths/ebgaramond-maths.sty index 34923289eef..ab430e7888b 100644 --- a/Master/texmf-dist/tex/latex/ebgaramond-maths/ebgaramond-maths.sty +++ b/Master/texmf-dist/tex/latex/ebgaramond-maths/ebgaramond-maths.sty @@ -9,13 +9,13 @@ % version 2005/12/01 or later. % % This work has the LPPL maintenance status `maintained'. -% +% % The Current Maintainer of this work is Clea F. Rees. % % This work consists of all files listed in manifest.txt. \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{ebgaramond-maths}[2014/09/01 v1.0 ebgaramond-maths for use with EBGaramond] +\ProvidesPackage{ebgaramond-maths}[2014/11/30 v1.1 ebgaramond-maths for use with EBGaramond] \RequirePackage{ebgaramond} @@ -37,6 +37,22 @@ \DeclareMathAlphabet{\mathcal} {OT1} {EBGaramond-LF} {m} {sw} +% The following symbols are missing and should give errors + +\gdef\ebgaramond@maths@help{% + EBGaramond does not provide this symbol.\MessageBreak + If you are using the recommended setup with newtxmath\MessageBreak + you can use \string\re@DeclareMathSymbol{}{}{}{} to take it from another font.\MessageBreak + For example, to take symbols from Computer Modern:\MessageBreak + \expandafter\noexpand\string\DeclareSymbolFont{cmletters}{OML}{cmm} {m}{it}\MessageBreak + Then a specific symbol, such as \string\leftharpoonup, can be defined as follows:\MessageBreak + \expandafter\noexpand\string\re@DeclareMathSymbol{\string\leftharpoonup}{\mathrel}{cmletters}{"28}} + +% Warning based on David Carlisle's answer at http://tex.stackexchange.com/a/214524/ +\newcommand*{\ebgaramond@maths@dim}{\leftharpoonup,\leftharpoondown,\rightharpoonup,\rightharpoondown,\triangleright,\triangleleft,\star,\partial,\flat,\natural,\sharp,\smile,\frown,\vec,\t} +\@for \xx:=\ebgaramond@maths@dim \do {% + \expandafter\edef\xx{\noexpand\PackageError{ebgaramond-maths}{No \expandafter\string\xx}{\ebgaramond@maths@help}}} + \endinput -% vim: set nospell: +% vim: set nospell: |