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/texmf-dist/tex/latex/ebgaramond-maths | |
parent | 5952c321e3dd33039db481434bd0d1d7554bde13 (diff) |
ebgaramond-maths
git-svn-id: svn://tug.org/texlive/trunk@35701 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ebgaramond-maths')
-rw-r--r-- | Master/texmf-dist/tex/latex/ebgaramond-maths/ebgaramond-maths.sty | 22 |
1 files changed, 19 insertions, 3 deletions
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: |