diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi/topcoman.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/topcoman.sty | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty index c30dd383dde..48cad0cf8e0 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty @@ -29,7 +29,7 @@ %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} % lavora solo con LaTeX 2e \ProvidesPackage{topcoman}% - [2014/11/13 v.5.85b Additional commands for the TOPtesi bundle] + [2014/12/13 v.5.86f Additional commands for the TOPtesi bundle] \RequirePackage{ifxetex} \ifxetex\else \newcommand*\DeclareSlantedCapitalGreekLetters{% @@ -50,6 +50,7 @@ \renewcommand{\textormath}{\ifmmode\expandafter\@secondoftwo\else \expandafter\@firstoftwo\fi} \providecommand*\textsubscript{\raisebox{-0.5ex}} + \ifxetex\else \RequirePackage{textcomp} \fi @@ -62,17 +63,18 @@ \providecommand{\micro}{\textormath{\textmu}{\ifxetex\mathup{\mu}\else \ifx\muup\undefined\mu\else\muup\fi\fi}} \providecommand{\gradi}{\textormath{\textdegree}{^\circ}} +\providecommand*{\programmafont}{\ttfamily\footnotesize} \def\listing#1{\par\begingroup \programma \input #1 \endgroup} \def\uncatcodespecials{\def\do##1{\catcode`##1=12}\dospecials} -\def\programma{\ttfamily\footnotesize \parindent 0pt +\def\programma{\programmafont \parindent 0pt \def\par{\leavevmode\egroup\box0\endgraf} \catcode`\`=\active \catcode`\^^I=\active \catcode`\^^L=\active \obeylines \uncatcodespecials \obeyspaces \begingroup\lccode`~=`\ \lowercase{\endgroup\global\let~}\ % \everypar{\startbox}} \newdimen\tabwidth -\setbox0=\hbox{\ttfamily\footnotesize\space} +\setbox0=\hbox{\programmafont\space} \tabwidth=8\wd0 \def\startbox{\setbox0=\hbox\bgroup} {\catcode`\`=\active \gdef`{\relax\lq}} |