summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/toptesi/topcoman.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-12-13 23:42:13 +0000
committerKarl Berry <karl@freefriends.org>2015-12-13 23:42:13 +0000
commit3807f54388c3f5abc707c05be526c6c9c0c04623 (patch)
treea91021a51d94f8120ac394394e912f1572f5f605 /Master/texmf-dist/tex/latex/toptesi/topcoman.sty
parente2bc38f38458aaa4ba4279985cd65ded257e5eb7 (diff)
toptesi (13dec15)
git-svn-id: svn://tug.org/texlive/trunk@39092 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.sty63
1 files changed, 29 insertions, 34 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty
index eaf94ed3c3b..908d1f8cd7b 100644
--- a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty
+++ b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty
@@ -7,31 +7,17 @@
%% toptesi.dtx (with options: `topcmn')
%% ______________________________________________________
%% The TOPtesi package
-%% Copyright (C) 2014 Claudio Beccari
+%% Copyright (C) 2015 Claudio Beccari
%% All rights reserved
%%
%% License information appended
%%
-%% \CharacterTable
-%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-\NeedsTeXFormat{LaTeX2e} % lavora solo con LaTeX 2e
-\ProvidesPackage{topcoman}%
- [2015/11/03 v.5.86g Additional commands for the TOPtesi bundle]
-\RequirePackage{ifxetex}
-\ifxetex\else
+\NeedsTeXFormat{LaTeX2e}[2015/01/01]
+\ProvidesPackage{topcoman}[%
+2015/12/06 v.5.90
+Additional commands for the TOPtesi bundle]
+\RequirePackage{iftex}
+\ifPDFTeX
\newcommand*\DeclareSlantedCapitalGreekLetters{%
\mathchardef\Gamma="7100
\mathchardef\Delta="7101
@@ -45,13 +31,13 @@
\mathchardef\Psi="7109
\mathchardef\Omega="710A
}\fi
-\providecommand{\ensuremath}[1]{\ifmmode#1\else$#1$\fi}%
-\providecommand\textormath{}
-\renewcommand{\textormath}{\ifmmode\expandafter\@secondoftwo\else
+\providecommand*\ensuremath[1]{\ifmmode#1\else$#1$\fi}%
+\providecommand*\textormath{}
+\renewcommand*\textormath{\ifmmode\expandafter\@secondoftwo\else
\expandafter\@firstoftwo\fi}
\providecommand*\textsubscript{\raisebox{-0.5ex}}
-\ifxetex\else
+\ifPDFTeX
\RequirePackage{textcomp}
\fi
\providecommand{\ohm}{\textormath{\textohm}{\mathrm{\Omega}}}
@@ -60,8 +46,13 @@
\providecommand{\unit}[1]{\ensuremath{{\mathrm{\,#1}}}}
\providecommand{\gei}{\ensuremath{{\mathop{\mathrm{j}}\nolimits}}}
\providecommand{\eu}{\ensuremath{{\mathop{\mathrm{e}}\nolimits}}}
-\providecommand{\micro}{\textormath{\textmu}{\ifxetex\mathup{\mu}\else
- \ifx\muup\undefined\mu\else\muup\fi\fi}}
+\providecommand{\micro}{\textormath{\textmu}{%
+ \ifPDFTeX
+ \ifx\muup\undefined\mu\else\muup\fi
+ \else
+ \mathup{\mu}%
+ \fi
+}}
\providecommand{\gradi}{\textormath{\textdegree}{^\circ}}
\providecommand*{\programmafont}{\ttfamily\footnotesize}
\def\listing#1{\par\begingroup
@@ -97,7 +88,7 @@
\let\p@figure\empty\let\p@table\empty}
\DisableFigTabNames
%%
-%% Copyright 2005-2014 Claudio Beccari
+%% Copyright 2005-2015 Claudio Beccari
%%
%% Distributable under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -112,8 +103,8 @@
%% toptesi.cfg, and the English documentation toptesi.pdf.
%%
%% Furthermore the bundle contains the documentation source
-%% file toptesi-it-xetex.tex and the derived file
-%% toptesi-it-xetex.pdf.
+%% file toptesi-it-pdftex.tex and the derived file
+%% toptesi-it-pdftex.pdf.
%%
%% The toptesi-example.tex source file is just an example
%% that shows how to use the various commands; by commenting
@@ -121,17 +112,21 @@
%% typeset different kind of theses and their front pages.
%%
%% The topfront-example.tex source file is an example of how
-%% to produce just the title page with toptesi and the external
+%% to produce just the title page with TOPtesi and the external
%% package frontespizio.
%%
%% The toptesi.cfg file is a sample of a local configuration
-%% file that can be freely edited and modified.
+%% file that can be copied to another file and its copy freely
+%% edited and customized.
%%
%% By running pdflatex on toptesi.dtx the user gets the class,
%% sty and cfg files and the English documentation file in
%% pdf format.
%%
-%% The documentation file toptesi-it-xetex.pdf is in Italian;
-%% its source file is another example of how to use toptesi.
+%% The source file of the Italian documentation file
+%% toptesi-it-pdftex.pdf is another example of how to use TOPtesi.
+%% In spite of its name, toptesi-it-pdftex.tex may be typeset
+%% with pdfLaTeX, XeLaTeX, and LuaLateX; see the first comment
+%% lines of the file for how-to information.
%%
%% End of file `topcoman.sty'.