diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi/topcoman.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/topcoman.sty | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty index 52d767c25b0..b0450fe77e1 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty @@ -7,16 +7,17 @@ %% toptesi.dtx (with options: `topcmn') %% ______________________________________________________ %% The TOPtesi bundle -%% Copyright (C) 2015-2017 Claudio Beccari +%% Copyright (C) 2015-2018 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2016/01/01] \ProvidesPackage{topcoman}[% -2018/01/12 v.~6.1.12 +2018/05/06 v.~6.2.04 Additional commands for the TOPtesi bundle] + \RequirePackage{iftex} \ifPDFTeX \newcommand*\DeclareSlantedCapitalGreekLetters{% @@ -45,10 +46,10 @@ Additional commands for the TOPtesi bundle] \providecommand*\textsubscript{\raisebox{-0.5ex}} \ifPDFTeX -\RequirePackage{textcomp} +\@ifpackageloaded{textcomp}{}{\RequirePackage{textcomp}} \fi \providecommand{\ohm}{\textormath{\textohm}{\mathrm{\Omega}}} -\@ifpackageloaded{toptesi}{ +\@ifpackageloaded{toptesi}{% \providecommand\ped{}\providecommand\ap{} \renewcommand*{\ped}[1]{\textormath{\textsubscript{#1}}{_{\mathrm{#1}}}} \renewcommand*{\ap}[1]{\textormath{\textsuperscript{#1}}{^{\mathrm{#1}}}}}{% @@ -71,8 +72,11 @@ Additional commands for the TOPtesi bundle] \RequirePackage{fancyvrb} \fvset{fontsize=\small} \let\listing\VerbatimInput -\DeclareRobustCommand*{\simulatedSC}[1]{% -{\mbox{$\relax$}\fontsize{\sf@size}{\f@baselineskip}\selectfont#1}}% +\DeclareRobustCommand*{\fakeSC}[1]{% +{\dimen@=\f@size\p@\dimen@=0.75\dimen@ +\fontsize{\dimen@}{\f@baselineskip}\selectfont +\expandafter{\uppercase{#1}}}}% +\ifPDFTeX\let\simulatedSC\fakeSC\else\let\simulatedSC\textsc\fi \def\ft@figure{\iflanguage{italian}{\MakeLowercase{\figurename}}% {\figurename}~} \def\ft@table{\iflanguage{italian}{\MakeLowercase{\tablename}}% @@ -83,7 +87,7 @@ Additional commands for the TOPtesi bundle] \let\p@figure\empty\let\p@table\empty} \DisableFigTabNames %% -%% Copyright 2005-2017 Claudio Beccari +%% Copyright 2005-2018 Claudio Beccari %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of |