summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/toptesi/topfront.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi/topfront.sty')
-rw-r--r--Master/texmf-dist/tex/latex/toptesi/topfront.sty17
1 files changed, 7 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/topfront.sty b/Master/texmf-dist/tex/latex/toptesi/topfront.sty
index a887b5d027b..f76aa6b7650 100644
--- a/Master/texmf-dist/tex/latex/toptesi/topfront.sty
+++ b/Master/texmf-dist/tex/latex/toptesi/topfront.sty
@@ -14,11 +14,10 @@
%%
\NeedsTeXFormat{LaTeX2e}[2018/01/01]
\ProvidesPackage{topfront}[%
-2019-07-26 v.6.3.06
+2020-05-12 v.6.4.02
Title page for TOPtesi and other classes]
-
\@ifpackageloaded{etoolbox}{}{\RequirePackage{etoolbox}}
\@ifpackageloaded{xspace}{}{\RequirePackage{xspace}}
\@ifpackageloaded{xparse}{}{\RequirePackage{xparse}}
@@ -36,8 +35,8 @@ Title page for TOPtesi and other classes]
\ifcsundef{ifsecondaria}{\newif\ifsecondaria\secondariafalse}{}
\ifcsundef{ifplurale}{\newif\ifplurale\pluralefalse}{}
-\ifcsundef{ifTOPfront}{\newif\ifTOPfront \TOPfronttrue
-\newif\ifevenboxes \evenboxesfalse}{}
+\ifcsundef{ifTOPfront}{\newif\ifTOPfront \TOPfronttrue}{}
+\ifcsundef{ifevenboxes}{\newif\ifevenboxes \evenboxesfalse}{}
\ifcsundef{c@tomo}{\newcounter{tomo}}{}
@@ -113,15 +112,13 @@ Title page for TOPtesi and other classes]
\let\@stitle\empty
-\newcommand*{\titolo}[2][]{%
+\providecommand\titolo{}
+\RenewDocumentCommand\titolo{O{#2} m}{%
\ifbool{triennale}{%
\PackageWarning{topfront}{Il titolo deve essere impostato con
il comando \string\monografia}
}{%
-\def\@tempA{#1}\ifdefempty{\@tempA}%
- {\gdef\@stitle{#2}}{\gdef\@stitle{#1}}%
- \gdef\@titolo{#2}%
- }%
+ \gdef\@stitle{#1}}\gdef\@titolo{#2}%
}
\def\sottotitolo#1{\gdef\@subtitle{#1}}
\let\@materia\empty
@@ -170,7 +167,7 @@ Title page for TOPtesi and other classes]
\def\annoaccademico#1{\ifclassica
\def\@submitdate{{\large\textsc{\AnnoAccademico}} {\Large\s@tanno#1!}}
\else
- \PackageWarning{toptesi}{\string\annoaccademico\space
+ \PackageWarning{topfront}{\string\annoaccademico\space
is usable only when the\MessageBreak
`classica' option is in force}%
\def\@submitdate{\AnnoAccademico\ #1 --- Needs the `classica' option}