diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi')
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/topcoman.sty | 46 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/topfront.sty | 62 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/toptesi.cfg | 15 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/toptesi.cls | 27 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/toptesi.sty | 108 |
5 files changed, 148 insertions, 110 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty index 8ec87eacc84..2b5b26f325c 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty @@ -7,7 +7,7 @@ %% toptesi.dtx (with options: `topcmn') %% ______________________________________________________ %% The TOPtesi package -%% Copyright (C) 2010 Claudio Beccari +%% Copyright (C) 2011 Claudio Beccari %% All rights reserved %% %% License information appended @@ -27,10 +27,11 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} - \NeedsTeXFormat{LaTeX2e} % lavora solo con LaTeX 2e \ProvidesPackage{topcoman}% - [2011/05/25 v.5.50 Additional commands for the TOPtesi bundle] + [2011/08/09 v.5.59 Additional commands for the TOPtesi bundle] +\RequirePackage{ifxetex} +\ifxetex\else \newcommand*\DeclareSlantedCapitalGreekLetters{% \mathchardef\Gamma="7100 \mathchardef\Delta="7101 @@ -43,25 +44,34 @@ \mathchardef\Phi="7108 \mathchardef\Psi="7109 \mathchardef\Omega="710A -} +}\fi \providecommand{\ensuremath}[1]{\ifmmode#1\else$#1$\fi}% -\providecommand{\ohm}{\ensuremath{{\mathrm{\Omega}}}} -\providecommand{\ped}[1]{\ensuremath{_{\mathrm{#1}}}} -\providecommand{\ap}[1]{\ensuremath{^{\mathrm{#1}}}} +\providecommand{\textormath}{\ifmmode\expandafter\@secondoftwo\else + \expandafter\@firstoftwo\fi} +\providecommand*\textsubscript{\raisebox{-0.5ex}} +\ifxetex\else +\RequirePackage{textcomp} +\fi +\providecommand{\ohm}{\textormath{\textohm}{\mathrm{\Omega}}} +\providecommand{\ped}[1]{\textormath{\textsubscript{#1}}{_{\mathrm{#1}}}} +\providecommand{\ap}[1]{\textormath{\textsuperscript{#1}}{^{\mathrm{#1}}}} \providecommand{\unit}[1]{\ensuremath{{\mathrm{\,#1}}}} \providecommand{\gei}{\ensuremath{{\mathop{\mathrm{j}}\nolimits}}} \providecommand{\eu}{\ensuremath{{\mathop{\mathrm{e}}\nolimits}}} -\providecommand{\micro}{\ensuremath{\ifx\muup\undefined\mu\else\muup\fi}} -\providecommand{\gradi}{\ensuremath{^\circ}} +\providecommand{\micro}{\textormath{\textmu}{\ifxetex\mathup{μ}\else + \ifx\muup\undefined\mu\else\muup\fi\fi}} +\providecommand{\gradi}{\textormath{\textdegree}{^\circ}} \def\listing#1{\par\begingroup \programma \input #1 \endgroup} \def\uncatcodespecials{\def\do##1{\catcode`##1=12}\dospecials} -\def\programma{\footnotesize\tt \parindent 0pt +\def\programma{\ttfamily\footnotesize \parindent 0pt \def\par{\leavevmode\egroup\box0\endgraf} \catcode`\`=\active \catcode`\^^I=\active \catcode`\^^L=\active \obeylines \uncatcodespecials \obeyspaces \everypar{\startbox}} -\newdimen\tabwidth \setbox0=\hbox{\footnotesize\tt\space} \tabwidth=8\wd0 +\newdimen\tabwidth +\setbox0=\hbox{\ttfamily\footnotesize\space} +\tabwidth=8\wd0 \def\startbox{\setbox0=\hbox\bgroup} {\obeyspaces\global\let =\ } {\catcode`\`=\active \gdef`{\relax\lq}} @@ -71,9 +81,7 @@ \multiply\dimen0 by\tabwidth \advance\dimen0 by\tabwidth \wd0=\dimen0 \box0 \startbox}} -{\catcode`\^^L=\active \gdef^^L{\par\penalty-10000}} -\mathcode`\,="013B -\catcode`\^^Z=10 +{\catcode`\^^L=\active \global\let^^L\newpage} \DeclareRobustCommand*{\simulatedSC}[1]{% {\check@mathfonts\fontsize{\sf@size}{\f@baselineskip}\selectfont#1}}% \def\ft@figure{\iflanguage{italian}{\MakeLowercase{\figurename}}% @@ -98,10 +106,10 @@ %% and the derived files: %% %% toptesi.cls, toptesi.sty, topfront.sty, topcommand.sty, -%% toptesi.cfg, and the English documentation toptesi.pdf; +%% toptesi.cfg, and the English documentation toptesi.pdf. %% -%% Furthermore the bundle contains the documentation source file toptesi-doc.tex -%% and the derived file toptesi-doc.pdf. +%% Furthermore the bundle contains the documentation source file toptesi-doc-xetex.tex +%% and the derived file toptesi-doc-xetex.pdf. %% %% The toptesi-example.tex source file is just an example that shows how %% to use the various commands; by commenting or uncommenting certain @@ -111,10 +119,10 @@ %% 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 cls, sty and cfg files +%% 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-doc.pdf is in Italian; its source file is +%% The documentation file toptesi-doc-xetex.pdf is in Italian; its source file is %% another example of how to use toptesi. %% %% End of file `topcoman.sty'. diff --git a/Master/texmf-dist/tex/latex/toptesi/topfront.sty b/Master/texmf-dist/tex/latex/toptesi/topfront.sty index f9cf61213b9..4140552e019 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topfront.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topfront.sty @@ -7,7 +7,7 @@ %% toptesi.dtx (with options: `topfrn') %% ______________________________________________________ %% The TOPtesi package -%% Copyright (C) 2010 Claudio Beccari +%% Copyright (C) 2011 Claudio Beccari %% All rights reserved %% %% License information appended @@ -27,9 +27,8 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} - \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{topfront}[2011/05/25 v.5.50 Title page for TOPtesi] +\ProvidesPackage{topfront}[2011/08/09 v.5.59 Title page for TOPtesi] \newif\iffemminile \newif\ifdottorato \dottoratofalse \newif\iflaureatriennale \laureatriennalefalse @@ -66,8 +65,7 @@ \ifx\@tempA\empty \def\@submitdate{#1}% \else - \expandafter - \ifx\csname StileTrieste\endcsname\relax + \unless\ifclassica \def\@submitdate{#1 #2}% \else \s@dutaTrieste#1 #2!% @@ -176,18 +174,14 @@ \def\ps@myheadings{\let\@mkboth\markboth \def\@oddhead{\vbox{% \hbox to \hsize{\hfill {\LARGE \@ateneo}\hfill}% - \expandafter - \ifx\csname StileTrieste\endcsname\relax - \else + \ifclassica \hbox to \hsize{\hfil\vrule\@width\z@ \@height3.5ex\vrule\@height1.4\p@\@depth-\p@\@width50mm\hfil}% \fi }}% \def\@oddfoot{\vbox to 15mm{\vss - \expandafter - \ifx\csname StileTrieste\endcsname\relax - \else - \hbox to \hsize{\hfil\raisebox{-.3ex}[\z@][\z@]{% + \ifclassica + \hbox to \hsize{\hfil\raisebox{-.3ex}[\z@][\z@]{% \vrule\@height-2.6\p@\@depth3\p@\@width50mm}\hfil}% \fi \hbox to\hsize{\hfill{\Large{\@submitdate}}\hfill}}% @@ -202,8 +196,7 @@ \null\setcounter{page}{1}% \normalfont \ifx\@nomeat\empty \else - {\vspace*{-1.5\topskip} - \centering + {\vspace*{-3\topskip}\centering {\Large \@nomeat}\par}\vfill \fi \begin{center} @@ -250,9 +243,7 @@ \large\textrm{\@subtitle}\par \end{center}% \fi - \expandafter - \ifx\csname StileTrieste\endcsname\relax - \else + \ifclassica \ifnum\value{tomo}>\z@ \par\bigskip \noindent\makebox[\textwidth]{% @@ -284,10 +275,11 @@ \ifx\@principaladviser\empty\else \def\@nomerelatore{\Relatore:}% \fi - \@ifundefined{StileTrieste}% - {\ifx\@secondadviser\empty \else + \unless\ifclassica + \ifx\@secondadviser\empty \else \def\@nomerelatore{\Relatori:}% - \fi}{}% + \fi + \fi \fi \fi \ifdottorato @@ -314,18 +306,18 @@ \else \def\BoxRelatori{% \begin{tabular}[t]{l}% - \hbox{{\@ifundefined{StileTrieste}{\large}{}% - \textbf{\protect\@nomerelatore}}}\\[.6ex] - \hbox{{\large\textrm{\protect\@principaladviser}}}% + \hbox{\ifclassica\else\large\fi + \textbf{\protect\@nomerelatore}}\\[.6ex] + \hbox{\large\textrm{\protect\@principaladviser}}% \ifx\@secondadviser\empty \else - \@ifundefined{StileTrieste}{}{% + \unless\ifclassica \ifx\@thirdadviser\empty \ifx\@secondadviser\empty\else \\[1.5ex]\textbf{\Correlatore:}% \fi \else \\[1.5ex]\textbf{\Correlatori:}% - \fi} + \fi\fi \\[.6ex]\hbox{{\large\textrm{\protect\@secondadviser}}}% \fi \ifx\@thirdadviser\empty \else @@ -335,7 +327,7 @@ }% \def\BoxCandidati{% \begin{tabular}[t]{l}% - \hbox{\@ifundefined{StileTrieste}{\large}{}% + \hbox{\unless\ifclassica\large\fi \textbf{\protect\@nomecandidato}}\\[.6ex] \hbox{\large\textrm{\protect\@author}}% \ifx\@secondauthor\empty @@ -372,16 +364,16 @@ }% \end{center} \else - \@ifundefined{StileTrieste}{% + \unless\ifclassica \begin{flushleft}% \BoxRelatori \end{flushleft}\par\vspace*{-1.5\baselineskip} \begin{flushright}% \BoxCandidati - \end{flushright}\par}{% + \end{flushright}\else \noindent - \makebox[\textwidth]{\BoxRelatori - \hfill\BoxCandidati}\par}% + \makebox[\textwidth]{\BoxRelatori\hfill\BoxCandidati}\par + \fi \fi \fi \ifx\@tutoreaziendale\@empty\else @@ -405,10 +397,10 @@ %% and the derived files: %% %% toptesi.cls, toptesi.sty, topfront.sty, topcommand.sty, -%% toptesi.cfg, and the English documentation toptesi.pdf; +%% toptesi.cfg, and the English documentation toptesi.pdf. %% -%% Furthermore the bundle contains the documentation source file toptesi-doc.tex -%% and the derived file toptesi-doc.pdf. +%% Furthermore the bundle contains the documentation source file toptesi-doc-xetex.tex +%% and the derived file toptesi-doc-xetex.pdf. %% %% The toptesi-example.tex source file is just an example that shows how %% to use the various commands; by commenting or uncommenting certain @@ -418,10 +410,10 @@ %% 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 cls, sty and cfg files +%% 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-doc.pdf is in Italian; its source file is +%% The documentation file toptesi-doc-xetex.pdf is in Italian; its source file is %% another example of how to use toptesi. %% %% End of file `topfront.sty'. diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg b/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg index d60a0fc4cf8..78dcce4b29b 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg @@ -7,7 +7,7 @@ %% toptesi.dtx (with options: `topcfg') %% ______________________________________________________ %% The TOPtesi package -%% Copyright (C) 2010 Claudio Beccari +%% Copyright (C) 2011 Claudio Beccari %% All rights reserved %% %% License information appended @@ -27,11 +27,10 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} - %% %%================================================================ %% This file is the only file of the TOPtesi bundle that the user -%% can modify without restrictions in order to personalize the +%% can modify without restrictions in order to customize the %% contents of this configuration file to his/her needs. The user %% can add or remove lines, comment or uncomment lines, change the %% arguments to the macros, add definitions and so on. @@ -61,10 +60,10 @@ %% and the derived files: %% %% toptesi.cls, toptesi.sty, topfront.sty, topcommand.sty, -%% toptesi.cfg, and the English documentation toptesi.pdf; +%% toptesi.cfg, and the English documentation toptesi.pdf. %% -%% Furthermore the bundle contains the documentation source file toptesi-doc.tex -%% and the derived file toptesi-doc.pdf. +%% Furthermore the bundle contains the documentation source file toptesi-doc-xetex.tex +%% and the derived file toptesi-doc-xetex.pdf. %% %% The toptesi-example.tex source file is just an example that shows how %% to use the various commands; by commenting or uncommenting certain @@ -74,10 +73,10 @@ %% 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 cls, sty and cfg files +%% 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-doc.pdf is in Italian; its source file is +%% The documentation file toptesi-doc-xetex.pdf is in Italian; its source file is %% another example of how to use toptesi. %% %% End of file `toptesi.cfg'. diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls index 3b2bf38aed8..741cca0626f 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls @@ -7,7 +7,7 @@ %% toptesi.dtx (with options: `class') %% ______________________________________________________ %% The TOPtesi package -%% Copyright (C) 2010 Claudio Beccari +%% Copyright (C) 2011 Claudio Beccari %% All rights reserved %% %% License information appended @@ -27,14 +27,23 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} - \NeedsTeXFormat{LaTeX2e} \ProvidesClass{toptesi}% -[2011/05/25 v.5.50 Class for typesetting university theses] +[2011/08/09 v.5.59 Class for typesetting university theses] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}} \ProcessOptions\relax \LoadClass[a4paper]{report} -\RequirePackage[english,italian]{babel} +\RequirePackage{ifxetex} +\ifxetex + \RequirePackage{fontspec} + \RequirePackage{polyglossia} + \setmainlanguage{italian} + \setotherlanguage{english} + \renewcommand*{\iflanguage}[1]{\ifnum\the\language=\csname l@#1\endcsname + \expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi} +\else + \RequirePackage[english,italian]{babel} +\fi \RequirePackage{toptesi} %% %% Copyright 2005-2011 Claudio Beccari @@ -49,10 +58,10 @@ %% and the derived files: %% %% toptesi.cls, toptesi.sty, topfront.sty, topcommand.sty, -%% toptesi.cfg, and the English documentation toptesi.pdf; +%% toptesi.cfg, and the English documentation toptesi.pdf. %% -%% Furthermore the bundle contains the documentation source file toptesi-doc.tex -%% and the derived file toptesi-doc.pdf. +%% Furthermore the bundle contains the documentation source file toptesi-doc-xetex.tex +%% and the derived file toptesi-doc-xetex.pdf. %% %% The toptesi-example.tex source file is just an example that shows how %% to use the various commands; by commenting or uncommenting certain @@ -62,10 +71,10 @@ %% 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 cls, sty and cfg files +%% 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-doc.pdf is in Italian; its source file is +%% The documentation file toptesi-doc-xetex.pdf is in Italian; its source file is %% another example of how to use toptesi. %% %% End of file `toptesi.cls'. diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty index a727632b4a1..8f27454d7cf 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty @@ -7,7 +7,7 @@ %% toptesi.dtx (with options: `topsty') %% ______________________________________________________ %% The TOPtesi package -%% Copyright (C) 2010 Claudio Beccari +%% Copyright (C) 2011 Claudio Beccari %% All rights reserved %% %% License information appended @@ -27,17 +27,17 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} - \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{toptesi}% -[2011/05/25 v.5.50 Extension for toptesi.cls]% +[2011/08/09 v.5.59 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} +\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 @@ -81,11 +81,11 @@ \mark{{}{}} \newbox\@intesta \def\ps@plain{\let\@mkboth\@gobbletwo -\def\@oddfoot{\null\hfill \textsc{\lapagina}\hfill \null}\def\@oddhead{} +\def\@oddfoot{\null\hfill {\scshape\lapagina}\hfill \null}\def\@oddhead{} \def\@evenhead{}\let\@evenfoot\@oddfoot} \if@twoside \def\ps@headings{\let\@mkboth\markboth% - \def\@oddfoot{\null\hfill \textsc{\lapagina} \hfill\null} + \def\@oddfoot{\null\hfill {\scshape\lapagina} \hfill\null} \let\@evenfoot\@oddfoot % \def\@evenhead{\setbox\@intesta\hbox{\footnotesize\slshape @@ -103,7 +103,7 @@ \thesection\ -- \fi ##1}}} \else \def\ps@headings{\let\@mkboth\markboth - \def\@oddfoot{\null \hfill \textsc{\lapagina} \hfill \null} + \def\@oddfoot{\null\hfill {\scshape\lapagina} \hfill\null} \def\@evenfoot{} \def\@oddhead{\setbox\@intesta\hbox{\footnotesize\slshape \rightmark}% @@ -112,10 +112,27 @@ \strut\rightmark}}}% \def\chaptermark##1{\markright{\thechapter\ -- ##1}}} \fi + \def\headWarn#1{\PackageWarning{toptesi}{% THE HEADING IS TOO LONG\MessageBreak Use the optional argument of command \string#1\MessageBreak See the LaTeX Handbook (1994) on section C.4.1\MessageBreak}} +\renewcommand*\l@chapter[2]{% + \ifnum \c@tocdepth >\m@ne + \addpenalty{-\@highpenalty}% + \vskip 1.0em \@plus\p@ + \setlength\@tempdima{1.5em}% + \begingroup + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + \leavevmode \bfseries + \advance\leftskip\@tempdima + \hskip -\leftskip + #1\nobreak\hfil \nobreak + \hb@xt@\@pnumwidth{\hss\unless\ifxetex\normalfont\fi\scshape{#2}}\par + \penalty\@highpenalty + \endgroup + \fi} \newif\iffigurespage \newif\iftablespage \newif\ifnumeriromani @@ -337,8 +354,42 @@ Skipping any redefinition\MessageBreak}% \italiano \renewcommand\@chapapp{\chaptername}% } +\ifxetex +\AtBeginDocument{\RequirePackage{topfront} +\RequirePackage{topcoman}} +\else \RequirePackage{topfront} \RequirePackage{topcoman} +\fi +\def\sf@size{7} +\ifxetex\else +\renewcommand*\not{\mathrel{\mathchoice% +{\rlap{$\displaystyle\mkern2.5mu\mathnormal{/}$}}% +{\rlap{$\textstyle\mkern2.5mu\mathnormal{/}$}}% +{\rlap{$\scriptstyle\mkern2.5mu\mathnormal{/}$}}% +{\rlap{$\scriptscriptstyle\mkern2.5mu\mathnormal{/}$}}% +}} +\renewcommand\mapstochar{\mathrel{\mathchoice +{\displaystyle\unitlength=0.0555\fontdimen6\font + \picture(0,0)\put(1,1.5){\linethickness{0.72\unitlength}% + \line(0,1){6}}\endpicture} +{\textstyle\unitlength=0.0555\fontdimen6\font + \picture(0,0)\put(1,1.5){\linethickness{0.72\unitlength}% + \line(0,1){6}}\endpicture} +{\scriptstyle\unitlength=0.0555\fontdimen6\font + \picture(0,0)\put(1,0.55){\linethickness{0.61\unitlength}% + \line(0,1){5}}\endpicture} +{\scriptscriptstyle\unitlength=0.0555\fontdimen6\font + \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 \ifclassica \def\Candidato{Laureando} \def\Candidata{Laureanda} @@ -364,13 +415,13 @@ Skipping any redefinition\MessageBreak}% \def\@oddfoot{\null \hfill \textbf{\lapagina} \hfill \null}% \let\@evenfoot\@oddfoot \def\@evenhead{% - \setbox\@intesta\hbox{\latintext + \setbox\@intesta\hbox{\unless\ifxetex\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{\latintext + \def\@oddhead{\unless\ifxetex\latintext\fi \setbox\@intesta\hbox{% \footnotesize\strut\textsl{\rightmark}}% \ifdim\wd\@intesta>\textwidth \headWarn{\section}\fi% @@ -381,19 +432,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{\latintext\footnotesize + \def\@oddhead{{\setbox\z@\hbox{\unless\ifxetex\latintext\fi\footnotesize \textsc{% \@author\ifx\@secondauthor\empty\else\ et al.\fi: \@stitle}}% - \setbox\tw@\hbox{\latintext\footnotesize\textsl{\rightmark}}% + \setbox\tw@\hbox{\unless\ifxetex\latintext\fi\footnotesize\textsl{\rightmark}}% \dimen@=2em\advance\dimen@\wd\z@\advance\dimen@\wd\tw@ \ifdim\dimen@<\textwidth \relax \else \setbox\z@\vbox{\hsize.48\textwidth\parindent\z@\raggedright - \latintext\footnotesize\textsc{% + \unless\ifxetex\latintext\fi\footnotesize\textsc{% \@author\ifx\@secondauthor\empty\else\ et al.\fi: \@stitle }}% \setbox\tw@\vbox{\hsize.48\textwidth\parindent\z@\raggedleft - \latintext\footnotesize\textsl{\rightmark}}% + \unless\ifxetex\latintext\fi\footnotesize\textsl{\rightmark}}% \fi \setbox\@intesta\vbox to\z@{% \vss\hbox to\textwidth{\strut\box\z@\hfill\box\tw@}}% @@ -451,27 +502,6 @@ Skipping any redefinition\MessageBreak}% }{% \endlist\clearpage } -\renewcommand*\not{\mathrel{\mathchoice% -{\rlap{$\displaystyle\mkern2.5mu\mathnormal{/}$}}% -{\rlap{$\textstyle\mkern2.5mu\mathnormal{/}$}}% -{\rlap{$\scriptstyle\mkern2.5mu\mathnormal{/}$}}% -{\rlap{$\scriptscriptstyle\mkern2.5mu\mathnormal{/}$}}% -}} -\renewcommand\mapstochar{\mathrel{\mathchoice -{\displaystyle\unitlength=0.0555\fontdimen6\font - \picture(0,0)\put(1,1.5){\linethickness{0.72\unitlength}% - \line(0,1){6}}\endpicture} -{\textstyle\unitlength=0.0555\fontdimen6\font - \picture(0,0)\put(1,1.5){\linethickness{0.72\unitlength}% - \line(0,1){6}}\endpicture} -{\scriptstyle\unitlength=0.0555\fontdimen6\font - \picture(0,0)\put(1,0.55){\linethickness{0.61\unitlength}% - \line(0,1){5}}\endpicture} -{\scriptscriptstyle\unitlength=0.0555\fontdimen6\font - \picture(0,0)\put(1,0.2){\linethickness{0.56\unitlength}% - \line(0,1){4}}\endpicture} -}} -\ifT@Ppdfa\RequirePackage[a-1b]{pdfx}\fi %% %% Copyright 2005-2011 Claudio Beccari %% @@ -485,10 +515,10 @@ Skipping any redefinition\MessageBreak}% %% and the derived files: %% %% toptesi.cls, toptesi.sty, topfront.sty, topcommand.sty, -%% toptesi.cfg, and the English documentation toptesi.pdf; +%% toptesi.cfg, and the English documentation toptesi.pdf. %% -%% Furthermore the bundle contains the documentation source file toptesi-doc.tex -%% and the derived file toptesi-doc.pdf. +%% Furthermore the bundle contains the documentation source file toptesi-doc-xetex.tex +%% and the derived file toptesi-doc-xetex.pdf. %% %% The toptesi-example.tex source file is just an example that shows how %% to use the various commands; by commenting or uncommenting certain @@ -498,10 +528,10 @@ 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 cls, sty and cfg files +%% 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-doc.pdf is in Italian; its source file is +%% The documentation file toptesi-doc-xetex.pdf is in Italian; its source file is %% another example of how to use toptesi. %% %% End of file `toptesi.sty'. |