summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/toptesi/toptesi-magistrale.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi/toptesi-magistrale.sty')
-rw-r--r--Master/texmf-dist/tex/latex/toptesi/toptesi-magistrale.sty60
1 files changed, 32 insertions, 28 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi-magistrale.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi-magistrale.sty
index 47b38d8dea1..211d7dbc6de 100644
--- a/Master/texmf-dist/tex/latex/toptesi/toptesi-magistrale.sty
+++ b/Master/texmf-dist/tex/latex/toptesi/toptesi-magistrale.sty
@@ -7,14 +7,14 @@
%% toptesi.dtx (with options: `topmag')
%% ______________________________________________________
%% The TOPtesi bundle
-%% Copyright (C) 2015-2018 Claudio Beccari
+%% Copyright (C) 2015-2019 Claudio Beccari
%% All rights reserved
%%
%% License information appended
%%
\NeedsTeXFormat{LaTeX2e}[2016/01/01]
\ProvidesPackage{toptesi-magistrale}[%
-2018/11/20 v.6.2.09
+2019-05-01 v.6.3.04
Master degree title page]
@@ -98,12 +98,18 @@ Master degree title page]
}%
\newif\iffemminile
-\ifTOPfront\ifclassica
-\def\Candidato{Laureando}
-\def\Candidata{Laureanda}
-\def\Candidati{Laureandi}
-\def\Candidate{Laureande}
-\fi\fi
+\def\Candidato{\ifclassica Laureando\else Candidato\fi}
+\def\Candidata{\ifclassica Laureanda\else Candidata\fi}
+\def\Candidati{\ifclassica Laureandi\else Candidati\fi}
+\def\Candidate{\ifclassica Laureande\else Candidate\fi}
+\newcommand\TitoloListaCandidati[1]{\CandidateNames#1,,,,!}
+\def\CandidateNames#1,#2,#3,#4,!{%
+ \gdef\Candidato{#1}% Masc/neutr-sing
+ \gdef\Candidati{#2}% Masc/neutr-plur
+ \gdef\Candidata{#3}% Fem-sing
+ \gdef\Candidate{#4}% Fem-plur
+}
+
\let\@stitle\empty % default short title string
\newcommand*{\titolo}[2][]{%
@@ -379,29 +385,28 @@ Master degree title page]
\end{center}%
\fi
\ifclassica
- \ifnum\value{tomo}>\z@
- \par\bigskip
- \noindent\makebox[\textwidth]{%
- \large\textbf{%
- \ifcase\c@tomo%
- \or \PrimoTomo%
- \or \SecondoTomo%
- \or \TerzoTomo%
- \or \QuartoTomo%
- \else
- \PackageWarning{toptesi}{%
- Counter tomo equals \the\c@tomo\MessageBreak
- We never considered a thesis might get
- divided in more than four volumes}%
- \fi}}%
- \fi
- \vspace{1em}
+ \ifnum\value{tomo}>\z@
+ \par\bigskip
+ \noindent\makebox[\textwidth]{%
+ \large\textbf{%
+ \ifcase\c@tomo%
+ \or \PrimoTomo%
+ \or \SecondoTomo%
+ \or \TerzoTomo%
+ \or \QuartoTomo%
+ \else
+ \PackageWarning{toptesi}{%
+ Counter tomo equals \the\c@tomo\MessageBreak
+ We never considered a thesis might get\MessageeBreak
+ divided in more than four volumes}%
+ \fi}}%
+ \fi
+ \vspace{1em}
\fi
\par
\unless\iftopTPTlogos
{\vfill\centering \printloghi\par}\fi
\vfill
- \iflanguage{italian}{%
\iffemminile
\def\@nomecandidato{\Candidata}%
\else
@@ -413,7 +418,6 @@ Master degree title page]
\else
\def\@nomecandidato{\Candidati}%
\fi}
- }{}%
\unless\iftriennale
\def\BoxRelatori{%
@@ -487,7 +491,7 @@ Master degree title page]
{\null\vfill\thispagestyle{empty}\@retrofrontespizio\par\clearpage}%
\endgroup}
%%
-%% Copyright 2005-2018 Claudio Beccari
+%% Copyright 2005-2019 Claudio Beccari
%%
%% Distributable under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of