summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/toptesi/topcoman.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-12-29 23:22:14 +0000
committerKarl Berry <karl@freefriends.org>2014-12-29 23:22:14 +0000
commit1502159a0ea1bde12aee24add557f14386539361 (patch)
tree0e356221f90454c8e972a9b5c268a13cc1780829 /Master/texmf-dist/tex/latex/toptesi/topcoman.sty
parent8a59fc071605caee4bf4c22580cc26015d967f68 (diff)
toptesi (28dec14)
git-svn-id: svn://tug.org/texlive/trunk@35916 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.sty8
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}}