diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi/toptesi-monografia.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/toptesi-monografia.sty | 66 |
1 files changed, 36 insertions, 30 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi-monografia.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi-monografia.sty index 95861e95e77..423931b001f 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi-monografia.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi-monografia.sty @@ -7,14 +7,14 @@ %% toptesi.dtx (with options: `topmon') %% ______________________________________________________ %% 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-monografia}[% -2018/11/20 v.6.2.09 +2019-05-01 v.6.3.04 Bachelor degree title page] @@ -54,7 +54,8 @@ Bachelor degree title page] \NomeRelatore{Relatore}{Relatori} \providecommand\@principaladviser{} \def\relatore#1{\gdef\@principaladviser{#1}} -\providecommand\@secondadviser{}\def\secondorelatore#1{\gdef\@secondadviser{#1}} +\providecommand\@secondadviser{} +\def\secondorelatore#1{\gdef\@secondadviser{#1}} \providecommand\@thirdadviser{} \def\terzorelatore#1{\gdef\@thirdadviser{#1}} @@ -98,32 +99,32 @@ Bachelor degree title page] \def\sedutadilaurea#1{\getseduta#1 !} \def\getseduta#1 #2!{% - \def\@tempA{#2}% - \ifx\@tempA\empty - \def\@submitdate{#1}% + \def\@tempA{#2}% + \ifx\@tempA\empty + \def\@submitdate{#1}% + \else + \unless\ifclassica + \def\@submitdate{#1 #2}% \else - \unless\ifclassica - \def\@submitdate{#1 #2}% - \else - \s@dutaclassica#1 #2!% - \fi + \s@dutaclassica#1 #2!% \fi + \fi }% \def\s@dutaclassica#1 #2!{% - \if@ldstyle - \s@paranumeri#2-!% - \ifx\2\empty - \edef\@submitdate{\noexpand#1 \noexpand\oldstylenums{#2}}% - \else - \s@paranumeri#2!% - \edef\@submitdate{\noexpand#1 - \noexpand\oldstylenums{\1} -- \noexpand\oldstylenums{\2}}% - \fi - \let\1\undefined - \let\2\undefined + \if@ldstyle + \s@paranumeri#2-!% + \ifx\2\empty + \edef\@submitdate{\noexpand#1 \noexpand\oldstylenums{#2}}% \else - \def\@submitdate{#1 #2}% + \s@paranumeri#2!% + \edef\@submitdate{\noexpand#1 + \noexpand\oldstylenums{\1} -- \noexpand\oldstylenums{\2}}% \fi + \let\1\undefined + \let\2\undefined + \else + \def\@submitdate{#1 #2}% + \fi } \def\s@paranumeri#1-#2!{\def\1{#1}\def\2{#2}}% @@ -150,7 +151,8 @@ Bachelor degree title page] \newlength\T@Tlogoheight \setlength\T@Tlogoheight{0.8\dimexpr(\paperwidth-\textwidth)/2}}{} -\newcommand\logosede[2][\T@Tlogoheight]{\def\@logosede{#2}\TPT@logoheight=#1\relax +\newcommand\logosede[2][\T@Tlogoheight]% +{\def\@logosede{#2}\TPT@logoheight=#1\relax \ifcsvoid{@logosede}{\sbox{\TPT@logobox}{}}{\begin{lrbox}{\TPT@logobox}% \expandafter\fillup@TCP@logobox\@logosede,!}} @@ -197,7 +199,8 @@ Bachelor degree title page] \providecommand\Correlatori{Correlatori} \newcommand\CoAdvisorName[2]{\gdef\Correlatore{#1}% \gdef\Correlatori{#2}} -\ifcsundef{iftopTPTlogos}{\newbool{topTPTlogos} \booltrue{topTPTlogos}}{} +\ifcsundef{iftopTPTlogos}{\newbool{topTPTlogos}% + \booltrue{topTPTlogos}}{} \NewDocumentEnvironment{ThesisTitlePage}{s} {% OPENING \IfBooleanTF{#1}{\boolfalse{topTPTlogos}}{\booltrue{topTPTlogos}}% @@ -209,12 +212,15 @@ Bachelor degree title page] \PackageWarning{monografia}{No configuration file found}% }%C }{% CLOSING - \ifbool{topTPTlogos}{\noindent\raisebox{-0.5em}[\z@][\z@]{\makebox[\textwidth]{\printloghi}}\par\bigskip}{} + \ifbool{topTPTlogos}{\noindent\raisebox{-0.5em}[\z@][\z@]% + {\makebox[\textwidth]{\printloghi}}\par\bigskip}{} \ifdefempty{\ateneo}{}{{\centering\huge \@ateneo\par}} - \ifdefempty{\@NomeAteneo}{}{\medskip{\centering\large + \ifdefempty{\@NomeAteneo}{}{\medskip{\centering\large \expandafter\MakeUppercase\expandafter{\@NomeAteneo}\par}} - \ifdefempty{\@strutturadi}{}{\vspace{\stretch{0.1}}\par{\centering \Large\@struttura\par}} - \ifdefempty{\@corsodistudi}{}{\bigskip{\centering\large \NomeCorsoDiStudi\ \@corsodistudi\par}} + \ifdefempty{\@strutturadi}{}{\vspace{\stretch{0.1}}\par{\centering + \Large\@struttura\par}} + \ifdefempty{\@corsodistudi}{}{\bigskip{\centering\large + \NomeCorsoDiStudi\ \@corsodistudi\par}} \ifdefempty{\@materia}{}{\medskip{\centering\large\@materia\par}} \vspace{\stretch{0.25}} {\centering\large \@monografia\par} @@ -324,7 +330,7 @@ Bachelor degree title page] \newpage} } %% -%% 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 |