diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi/toptesi.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/toptesi.sty | 69 |
1 files changed, 26 insertions, 43 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty index ff1ed164f8d..8adcdcd339c 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty @@ -7,29 +7,15 @@ %% toptesi.dtx (with options: `topsty') %% ______________________________________________________ %% 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} -\ProvidesPackage{toptesi}% -[2015/11/03 v.5.86g Extension for toptesi.cls]% +\NeedsTeXFormat{LaTeX2e}[2015/01/01] +\ProvidesPackage{toptesi}[% +2015/12/06 v.5.90 +Extension for toptesi.cls] \def\TRON{\tracingcommands \tw@ \tracingmacros \tw@} \def\TROFF{\tracingcommands\z@ \tracingmacros \z@} \let\TROF\TROFF @@ -41,7 +27,6 @@ \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} @@ -51,7 +36,8 @@ \DeclareOption{classica}{\classicatrue} \DeclareOption{autoretitolo}{\ifclassica\@utoretitolotrue\fi} \DeclareOption{oldstyle}{\ifclassica\@ldstyletrue\fi} -\DeclareOption{pdfa}{\T@Ppdfatrue} +\DeclareOption{pdfa}{\PackageWarning{toptesi}{Option pdfa ignored.\MessageBreak +Read documentation toptesi-it-*.pdf, because package pdfx has changed}} \DeclareOption{usefrontespizio}{\T@Pfrontespiziotrue\TOPfrontfalse} \DeclareOption{noTOPfront}{\T@Pfrontespiziotrue\TOPfrontfalse} \ProcessOptions\relax @@ -139,7 +125,7 @@ \advance\leftskip\@tempdima \hskip -\leftskip #1\nobreak\hfil \nobreak - \hb@xt@\@pnumwidth{\hss\unless\ifxetex\normalfont\fi\scshape{#2}}\par + \hb@xt@\@pnumwidth{\hss\ifPDFTeX\normalfont\fi\scshape{#2}}\par \penalty\@highpenalty \endgroup \fi} @@ -383,7 +369,7 @@ Skipping any redefinition\MessageBreak}% \fi \RequirePackage{topcoman}% } -\ifxetex\else +\ifPDFTeX \renewcommand*\not{\mathrel{\mathchoice% {\rlap{$\displaystyle\mkern2.5mu\mathnormal{/}$}}% {\rlap{$\textstyle\mkern2.5mu\mathnormal{/}$}}% @@ -404,13 +390,6 @@ Skipping any redefinition\MessageBreak}% \picture(0,0)\put(1,0.2){\linethickness{0.56\unitlength}% \line(0,1){4}}\endpicture} }}\fi -\ifT@Ppdfa - \unless\ifxetex - \RequirePackage[a-1b]{pdfx} - \else - \RequirePackage{hyperref} - \fi -\fi \ifTOPfront \ifclassica \def\Candidato{Laureando} @@ -438,13 +417,13 @@ Skipping any redefinition\MessageBreak}% \def\@oddfoot{\null \hfill \textbf{\lapagina} \hfill \null}% \let\@evenfoot\@oddfoot \def\@evenhead{% - \setbox\@intesta\hbox{\unless\ifxetex\latintext\fi + \setbox\@intesta\hbox{\ifPDFTeX\latintext\fi \footnotesize\strut\textsc{% \@author\ifx\@secondauthor\empty\else\ et al.\fi: \@stitle}% }% \ifdim\wd\@intesta>\textwidth\headwrn{\titolo}\fi \underline{\makebox[\textwidth]{\box\@intesta}}}% - \def\@oddhead{\unless\ifxetex\latintext\fi + \def\@oddhead{\ifPDFTeX\latintext\fi \setbox\@intesta\hbox{% \footnotesize\strut\textsl{\rightmark}}% \ifdim\wd\@intesta>\textwidth \headWarn{\section}\fi% @@ -455,19 +434,19 @@ Skipping any redefinition\MessageBreak}% \renewcommand*{\ps@headings}{\let\@mkboth\markboth \def\@oddfoot{\null \hfill \textbf{\lapagina}\hfill \null}% \let\@evenfoot\empty\let\@evenhead\empty - \def\@oddhead{{\setbox\z@\hbox{\unless\ifxetex\latintext\fi\footnotesize + \def\@oddhead{{\setbox\z@\hbox{\ifPDFTeX\latintext\fi\footnotesize \textsc{% \@author\ifx\@secondauthor\empty\else\ et al.\fi: \@stitle}}% - \setbox\tw@\hbox{\unless\ifxetex\latintext\fi\footnotesize\textsl{\rightmark}}% + \setbox\tw@\hbox{\ifPDFTeX\latintext\fi\footnotesize\textsl{\rightmark}}% \dimen@=\dimexpr2em + \wd\z@ + \wd\tw@\relax \ifdim\dimen@<\textwidth \relax \else \setbox\z@\vbox{\hsize.48\textwidth\parindent\z@\raggedright - \unless\ifxetex\latintext\fi\footnotesize\textsc{% + \ifPDFTeX\latintext\fi\footnotesize\textsc{% \@author\ifx\@secondauthor\empty\else\ et al.\fi: \@stitle }}% \setbox\tw@\vbox{\hsize.48\textwidth\parindent\z@\raggedleft - \unless\ifxetex\latintext\fi\footnotesize\textsl{\rightmark}}% + \ifPDFTeX\latintext\fi\footnotesize\textsl{\rightmark}}% \fi \setbox\@intesta\vbox to\z@{% \vss\hbox to\textwidth{\strut\box\z@\hfill\box\tw@}}% @@ -526,7 +505,7 @@ Skipping any redefinition\MessageBreak}% \endlist\clearpage } %% -%% 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 @@ -541,8 +520,8 @@ Skipping any redefinition\MessageBreak}% %% 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 @@ -550,17 +529,21 @@ Skipping any redefinition\MessageBreak}% %% 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 `toptesi.sty'. |