summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-05-28 17:33:15 +0000
committerKarl Berry <karl@freefriends.org>2011-05-28 17:33:15 +0000
commit287951704565bf8d0b2aaab9c64ba3e7a4ef6a65 (patch)
treeed1326f6a649e55176452761261300357dc3bd2f /Master/texmf-dist/tex/latex/toptesi/toptesi.sty
parent65f0f3ad4f5d989955979be0508b7c0400fbaf42 (diff)
toptesi uni* removal, etc. (27may11)
git-svn-id: svn://tug.org/texlive/trunk@22647 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi/toptesi.sty')
-rw-r--r--Master/texmf-dist/tex/latex/toptesi/toptesi.sty26
1 files changed, 16 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
index cb92cff2b75..a727632b4a1 100644
--- a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
+++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
@@ -30,28 +30,29 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{toptesi}%
-[2011/05/11 v.5.05 Extension for toptesi.cls]%
+[2011/05/25 v.5.50 Extension for toptesi.cls]%
\def\TRON{\tracingcommands \tw@ \tracingmacros \tw@}
\def\TROFF{\tracingcommands\z@ \tracingmacros \z@}
\let\TROF\TROFF
\newif\if@utoretitolo \@utoretitolofalse
\newif\if@ldstyle \@ldstylefalse
-
+\newif\if@xivpt \@xivptfalse
\newlength\T@Pbinding\setlength\T@Pbinding{7mm}\def\setbindingcorrection#1{\T@Pbinding=#1}
\newif\if@binding \@bindingfalse
\newif\ifT@Ppdfa \T@Ppdfafalse
\newif\ifchapterbibliography \chapterbibliographyfalse
\newif\ifclassica \classicafalse
\DeclareOption{cucitura}{\@bindingtrue}
-\DeclareOption{14pt}{\input{topsiz14.clo}}
+\DeclareOption{14pt}{\@xivpttrue}
\DeclareOption{chapterbib}{\chapterbibliographytrue}
-\DeclareOption{trieste}{\classicatrue}
+\DeclareOption{trieste}{\classicatrue}% Just for backwards compatibility
\DeclareOption{classica}{\classicatrue}
\DeclareOption{autoretitolo}{\ifclassica\@utoretitolotrue\fi}
\DeclareOption{oldstyle}{\ifclassica\@ldstyletrue\fi}
\DeclareOption{pdfa}{\T@Ppdfatrue}
\ProcessOptions\relax
\RequirePackage{graphicx}
+\if@xivpt\input{size14.clo}\fi
\textheight 585pt
\divide\textheight by \baselineskip
\multiply\textheight by \baselineskip
@@ -304,7 +305,14 @@
\hsize\columnwidth \@parboxrestore
\edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}%
\@makefntext{\rule{\z@}{\footnotesep}\ignorespaces#1\strut}}}
-\mathcode`\,="013B
+ \DeclareMathSymbol{\virgola}{\mathpunct}{letters}{"3B}
+ \DeclareMathSymbol{\virgoladecimale}{\mathord}{letters}{"3B}
+ \AtBeginDocument{\mathcode`\,=\string"8000}
+ {\catcode `,=\active \gdef,{\futurelet\let@token\m@thcomma}}
+\def\m@thcomma{\let\@tempB\virgola
+\@tfor\@tempA:=0123456789\do{%
+\expandafter\ifx\@tempA\let@token\let\@tempB\virgoladecimale
+\@break@tfor\fi}\@tempB}
\catcode`\^^Z=10
\topmargin 0pt
\let\summaryname\empty
@@ -331,7 +339,6 @@ Skipping any redefinition\MessageBreak}%
}
\RequirePackage{topfront}
\RequirePackage{topcoman}
-\def\sf@size{7}
\ifclassica
\def\Candidato{Laureando}
\def\Candidata{Laureanda}
@@ -418,8 +425,7 @@ Skipping any redefinition\MessageBreak}%
\kern5.6\p@}
\setlength\footnotesep{12\p@}
\setlength{\skip\footins}{24\p@ \@plus 4\p@ \@minus 2\p@}
-\DeclareMathSymbol{*}{\mathalpha}{symbols}{"03}
-\newcommand*\nota[1][*]{%
+\newcommand*\nota[1][\mathord{*}]{%
\xdef\@thefnmark{\ensuremath{\m@th#1}}\@footnotemark\@footnotetext
}
\newcommand*{\NoteWhiteLine}{\par\vspace*{-.3\baselineskip}}
@@ -478,7 +484,7 @@ Skipping any redefinition\MessageBreak}%
%% This work consists of this file toptesi.dtx, a README file
%% and the derived files:
%%
-%% toptesi.cls, toptesi.sty, topfront.sty, topcommand.sty, topsize14,
+%% toptesi.cls, toptesi.sty, topfront.sty, topcommand.sty,
%% toptesi.cfg, and the English documentation toptesi.pdf;
%%
%% Furthermore the bundle contains the documentation source file toptesi-doc.tex
@@ -492,7 +498,7 @@ Skipping any redefinition\MessageBreak}%
%% The toptesi.cfg file is a sample of a local configuration file that can be
%% freely edited and modified.
%%
-%% By running pdflatex on toptesi.dtx the user gets the class, sty and cfg files
+%% By running pdflatex on toptesi.dtx the user gets the cls, sty and cfg files
%% and the English documentation file in pdf format.
%%
%% The documentation file toptesi-doc.pdf is in Italian; its source file is