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.sty24
1 files changed, 13 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/topfront.sty b/Master/texmf-dist/tex/latex/toptesi/topfront.sty
index 7c84c047121..beb924083e0 100644
--- a/Master/texmf-dist/tex/latex/toptesi/topfront.sty
+++ b/Master/texmf-dist/tex/latex/toptesi/topfront.sty
@@ -28,7 +28,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{topfront}[2014/11/02 v.5.83 Title page for TOPtesi]
+\ProvidesPackage{topfront}[2014/11/07 v.5.84 Title page for TOPtesi]
\@ifpackageloaded{etoolbox}{}{\RequirePackage{etoolbox}}
\ifcsundef{ifclassica}{%
\newif\ifclassica
@@ -238,20 +238,22 @@
\@ifundefined{@monografia}{\def\@monografia{Monografia di Laurea}}{}
\@ifundefined{@InName}{\def\@InName{in}}{}
\newif\iftopTPTlogos
+\newcommand\TPTcheckstar[1]{\def\TPTmaybestar{#1}\fr@ntespizio}
\def\frontespizio{%
- \ifbool{classica}{\topTPTlogosfalse}{% else
- \@ifstar{\topTPTlogosfalse}{\topTPTlogostrue}}%
- \fr@ntespizio}
+\ifbool{classica}{\boolfalse{topTPTlogos}\fr@ntespizio}{\TPTcheckstar}
+}
\def\fr@ntespizio{%
\begingroup
- \iftopTPTlogos
- \thispagestyle{titlepage}
- \else
- \thispagestyle{classica}
- \fi
- \oddsidemargin=\dimexpr(\oddsidemargin+\evensidemargin)/2\relax
- \evensidemargin \oddsidemargin
+\ifclassica
+ \thispagestyle{classica}
+\else
+\ifdefstring{\TPTmaybestar}{*}{\@firstoftwo}{\@secondoftwo}%
+ {\boolfalse{topTPTlogos}\thispagestyle{classica}\TPTmaybestar}%
+ {\booltrue{topTPTlogos}\thispagestyle{titlepage}}
+\fi
+ \oddsidemargin=\dimexpr(\oddsidemargin+\evensidemargin)/2\relax
+ \evensidemargin \oddsidemargin
\null\setcounter{page}{1}%
\normalfont
\iftopTPTlogos