diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/chivo/Chivo.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/chivo/Chivo.sty | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/chivo/Chivo.sty b/Master/texmf-dist/tex/latex/chivo/Chivo.sty index 4249e42570b..b10809c44a6 100644 --- a/Master/texmf-dist/tex/latex/chivo/Chivo.sty +++ b/Master/texmf-dist/tex/latex/chivo/Chivo.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{Chivo} - [2019/07/07 v2.0 Support for Chivo fonts (AE)] + [2019/07/19 v2.1 Support for Chivo fonts (AE)] \RequirePackage{ifxetex} \RequirePackage{ifluatex} \newif\ifChivo@otf @@ -52,10 +52,18 @@ \DeclareComplementaryOption{oldstyle}{lining} \DeclareBoolOption{tabular} \DeclareComplementaryOption{proportional}{tabular} -\DeclareBoolOption{lf} -\DeclareComplementaryOption{osf}{lf} -\DeclareBoolOption{tab} -\DeclareComplementaryOption{prop}{tab} +\define@key{Chivo}{lf}[true]{% + \kvsetkeys{Chivo}{lining=#1}% +} +\define@key{Chivo}{osf}[true]{% + \kvsetkeys{Chivo}{oldstyle=#1}% +} +\define@key{Chivo}{tab}[true]{% + \kvsetkeys{Chivo}{tabular=#1}% +} +\define@key{Chivo}{prop}[true]{% + \kvsetkeys{Chivo}{proportional=#1}% +} \ifChivo@otf \newcommand*\Chivo@otf@scale{} \define@key{Chivo}{scale}[1.0]{% @@ -75,16 +83,6 @@ \DeclareVoidOption{type1}{\Chivo@otffalse} \setkeys{Chivo}{regular,bold,lining,proportional} \ProcessKeyvalOptions{Chivo} -\ifChivo@lf - \kvsetkeys{Chivo}{lining=true} -\else - \kvsetkeys{Chivo}{lining=false} -\fi -\ifChivo@tab - \kvsetkeys{Chivo}{tabular=true} -\else - \kvsetkeys{Chivo}{tabular=false} -\fi \newcommand*\Chivo@figurestyle{} \newcommand*\Chivo@figurealign{} \newcommand*\Chivo@otf@regular{} |