summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/toptesi/topcoman.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-05-13 21:35:54 +0000
committerKarl Berry <karl@freefriends.org>2018-05-13 21:35:54 +0000
commit6809ce56c76ce49653a6fd4f5a8c3219df10fb72 (patch)
treece231e2cd87cfd175e46e227f5a1118e885d88ef /Master/texmf-dist/tex/latex/toptesi/topcoman.sty
parentb3b423b8d0530436ee4ef06db3381aac4e79dc6e (diff)
toptesi (13may18)
git-svn-id: svn://tug.org/texlive/trunk@47699 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi/topcoman.sty')
-rw-r--r--Master/texmf-dist/tex/latex/toptesi/topcoman.sty18
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