diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi/topcoman.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/topcoman.sty | 48 |
1 files changed, 27 insertions, 21 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty index 5f0f67ffe95..0a529630a62 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty @@ -14,11 +14,10 @@ %% \NeedsTeXFormat{LaTeX2e}[2018/01/01] \ProvidesPackage{topcoman}[% -2019-07-26 v.6.3.06 +2020-05-12 v.6.4.02 Additional commands for the TOPtesi bundle] - \RequirePackage{iftex} \ifPDFTeX \newcommand*\DeclareSlantedCapitalGreekLetters{% @@ -51,26 +50,33 @@ Additional commands for the TOPtesi bundle] \fi \providecommand{\ohm}{\textormath{\textohm}{\mathrm{\Omega}}} \@ifpackageloaded{toptesi}{% -\providecommand\ped{}\providecommand\ap{}% -\renewcommand*{\ped}[1]{\textormath{\textsubscript{#1}}{_{\mathrm{#1}}}}% -\renewcommand*{\ap}[1]{\textormath{\textsuperscript{#1}}{^{\mathrm{#1}}}}}% -{\providecommand*{\ped}[1]{\textormath{\textsubscript{#1}}% - {_{\mathrm{#1}}}}% -\providecommand*{\ap}[1]{\textormath{\textsuperscript{#1}}% - {^{\mathrm{#1}}}}} -\@ifpackageloaded{siunitx}{\def\unit#1{\si{\,#1}}}% - {\providecommand\unit{}% - \renewcommand\unit[1]{\ensuremath{{\mathrm{\,#1}}}}% - } -\providecommand{\gei}{\ensuremath{\mathop{\mathrm{\mathstrut j}\nolimits}}} + \providecommand\ped{}\providecommand\ap{}% + \renewcommand*{\ped}[1]{\textormath{\textsubscript{#1}}{_{\mathrm{#1}}}}% + \renewcommand*{\ap}[1]{\textormath{\textsuperscript{#1}}{^{\mathrm{#1}}}}% + \providecommand\diff{}\renewcommand{\diff}{\mathop{}\!\mathrm{d}} +}{% + \providecommand*{\ped}[1]{\textormath{\textsubscript{#1}}% + {_{\mathrm{#1}}}}% + \providecommand*{\ap}[1]{\textormath{\textsuperscript{#1}}% + {^{\mathrm{#1}}}}% +} +\@ifpackageloaded{siunitx}{% + \def\unit#1{\si{\,#1}} +}{% + \providecommand\unit{}% + \renewcommand\unit[1]{\ensuremath{{\mathrm{\,#1}}}}% +} +\providecommand{\gei}{\ensuremath{\mathop{\mathrm{\mathstrut j}}\nolimits}} \providecommand{\eu}{\ensuremath{\mathop{\mathrm{e}}\nolimits}} -\providecommand{\micro}{\textormath{\textmu}{% - \ifPDFTeX - \ifdefined\muup\muup\else\mbox{\textmu}\fi - \else - \mathup{\mu}% - \fi -}} +\providecommand{\micro}{% + \textormath{\textmu}{% + \ifPDFTeX + \ifdefined\muup\muup\else\mbox{\textmu}\fi + \else + \mathup{\mu}% + \fi + }% +} \providecommand{\gradi}{\textormath{\textdegree}{^\circ}} \RequirePackage{fancyvrb} \fvset{fontsize=\small} |