From 1502159a0ea1bde12aee24add557f14386539361 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 29 Dec 2014 23:22:14 +0000 Subject: toptesi (28dec14) git-svn-id: svn://tug.org/texlive/trunk@35916 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/toptesi/topcoman.sty | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/latex/toptesi/topcoman.sty') 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}} -- cgit v1.2.3