diff options
author | Karl Berry <karl@freefriends.org> | 2014-11-08 23:51:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-11-08 23:51:32 +0000 |
commit | 8c22ed00b585dfd0ec2dbd6d97058a126e88ffa1 (patch) | |
tree | a4243be0f1665a5a17c57fe17936c25e94be50bb /Master/texmf-dist/tex/latex/toptesi/topfront.sty | |
parent | 9a870ba0873e5855067323ca60f8211fedfa23cc (diff) |
toptesi (8nov14)
git-svn-id: svn://tug.org/texlive/trunk@35546 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 | 24 |
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 |