diff options
author | Karl Berry <karl@freefriends.org> | 2020-05-20 21:39:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-05-20 21:39:30 +0000 |
commit | d1eeaae011ac8b28bbf550e24bc737dfba489a9d (patch) | |
tree | 3f407091d9c35557a27984f7f4eec8a9758507f7 /Master/texmf-dist/tex/latex/toptesi/topfront.sty | |
parent | 8097fd855c5cca537cf95e306e3d6a4257c85579 (diff) |
toptesi (20may20)
git-svn-id: svn://tug.org/texlive/trunk@55220 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi/topfront.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/topfront.sty | 17 |
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} |