diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tempora/tempora.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tempora/tempora.sty | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/tempora/tempora.sty b/Master/texmf-dist/tex/latex/tempora/tempora.sty index 43674a9074b..01bb715194b 100644 --- a/Master/texmf-dist/tex/latex/tempora/tempora.sty +++ b/Master/texmf-dist/tex/latex/tempora/tempora.sty @@ -1,23 +1,39 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{tempora} - [2015/09/13 Style file for Tempora (msharpe).] + [2016/02/02 (msharpe) Style file for Tempora.] -\RequirePackage[OT2,T2C,T2B,T2A,LGR]{fontenc} +\RequirePackage[OT2,T2C,T2B,T2A,LGR,T1]{fontenc} +\RequirePackage{textcomp} +\IfFileExists{fontaxes.sty}{ + \RequirePackage{fontaxes} + \fa@naming@exception{figures}{{superior}{proportional}}{Sup} + \fa@naming@exception{figures}{{superior}{tabular}}{Sup} + \def\sufigures{\@nomath\sufigures + \fontfigurestyle{superior}\selectfont} + \DeclareTextFontCommand{\textsu}{\sufigures} + \let\textsuperior\textsu + +}{} \IfFileExists{xkeyval.sty}{ \providecommand*{\LGCscale}{1} + \newcommand*{\Tempora@scale}{1} \RequirePackage{xkeyval} - \DeclareOptionX{scale}{\renewcommand*{\LGCscale}{##1}} - \DeclareOptionX{scaled}{\renewcommand*{\LGCscale}{##1}} + \DeclareOptionX{scale}{\renewcommand*{\Tempora@scale}{##1}} + \DeclareOptionX{scaled}{\renewcommand*{\Tempora@scale}{##1}} + \let\LGCscale\Tempora@scale }{ \let\DeclareOptionX\DeclareOption \let\ExecuteOptionsX\ExecuteOptions \let\ProcessOptionsX\ProcessOptions } +\DeclareOptionX{lining}{\edef\Tempora@figurestyle{LF}} +\DeclareOptionX{oldstyle}{\edef\Tempora@figurestyle{OsF}} +\ExecuteOptionsX{lining} \ProcessOptionsX\relax -\renewcommand*{\rmdefault}{Tempora} +\renewcommand*{\rmdefault}{Tempora-T\Tempora@figurestyle} \renewcommand*{\familydefault}{\rmdefault} \endinput |