diff options
author | Karl Berry <karl@freefriends.org> | 2016-11-10 23:04:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-11-10 23:04:45 +0000 |
commit | 826cfcb9289b9f084253810e2bb65fe2ea98dc85 (patch) | |
tree | 1fddceb01e07e8ea51dcbc8d2634a74ecb1a3cf9 /Master/texmf-dist/tex/latex/toptesi | |
parent | b030d68ae58e045c5fbe8138490681185d460b68 (diff) |
toptesi (10nov16)
git-svn-id: svn://tug.org/texlive/trunk@42479 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi')
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/topcoman.sty | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/topfront.sty | 30 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/toptesi.cfg | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/toptesi.cls | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/toptesi.sty | 22 |
5 files changed, 33 insertions, 29 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty index 39637271c0c..467a62a4676 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty @@ -7,14 +7,14 @@ %% toptesi.dtx (with options: `topcmn') %% ______________________________________________________ %% The TOPtesi package -%% Copyright (C) 2015 Claudio Beccari +%% Copyright (C) 2005-2016 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2015/01/01] \ProvidesPackage{topcoman}[% -2016/010/04 v.5.93 +2016/10/10 v.5.9.05 Additional commands for the TOPtesi bundle] \RequirePackage{iftex} \ifPDFTeX diff --git a/Master/texmf-dist/tex/latex/toptesi/topfront.sty b/Master/texmf-dist/tex/latex/toptesi/topfront.sty index aedc83506df..e7a2b62830a 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topfront.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topfront.sty @@ -7,14 +7,14 @@ %% toptesi.dtx (with options: `topfrn') %% ______________________________________________________ %% The TOPtesi package -%% Copyright (C) 2015 Claudio Beccari +%% Copyright (C) 2005-2016 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2015/01/01] \ProvidesPackage{topfront}[% -2016/010/04 v.5.93 +2016/10/10 v.5.9.05 Title page for TOPtesi and other classes] \@ifpackageloaded{etoolbox}{}{\RequirePackage{etoolbox}} \ifcsundef{ifclassica}{% @@ -55,7 +55,11 @@ Title page for TOPtesi and other classes] } \def\ps@classica{\let\@mkboth\markboth \def\@oddhead{\vbox{% - \hbox to \hsize{\hfill {\LARGE\MakeUppercase{\@ateneo}}\hfill}% + \setbox256=\hbox{\LARGE\MakeUppercase{\@ateneo}} + \unless\ifdim\wd256<\textwidth + \setbox256=\hbox{\resizebox{\textwidth}{!}{\box256}}% + \fi + \hbox to \hsize{\hss\box256\hss}% \ifclassica \hbox to \hsize{\hfil\vrule\@width\z@ \@height2ex\vrule\@height1.4\p@\@depth-\p@\@width50mm\hfil}% @@ -146,6 +150,24 @@ Title page for TOPtesi and other classes] } \def\s@paranumeri#1-#2!{\def\1{#1}\def\2{#2}}% \let\esamedidottorato\sedutadilaurea +\newcommand*\NomeAnnoAccademico[1]{\gdef\AnnoAccademico{#1}} +\@ifundefined{AnnoAccademico}{\gdef\AnnoAccademico{Anno accademico}}{} +\def\annoaccademico#1{\ifclassica + \def\@submitdate{{\large\textsc{\AnnoAccademico}} {\Large\s@tanno#1!}} + \else + \PackageWarning{toptesi}{\string\annoaccademico\space + is usable only when the\MessageBreak + `classica' option is in force}% + \def\@submitdate{\AnnoAccademico\ #1 --- Needs the `classica' option} + \fi} +\def\s@tanno#1-#2!{\oldstylenums{#1}\EnDash\oldstylenums{#2}} + +\def\EnDash{{\settowidth{\dimen@}{\large\scshape I}% +\setbox\tw@\hbox{2}\dimen\tw@.5\ht\tw@\advance\dimen\tw@-.5\dp\tw@ +\dimen4\dimen\tw@\advance\dimen4by.0385ex\relax +\advance\dimen\tw@-.0385ex\relax +\makebox[1.5\dimen@]{% + \vrule\@width\dimen@\@height\dimen4\@depth-\dimen\tw@}}} \def\ciclodidottorato#1{\gdef\@ciclo{#1 \@cyclename}}% \def\corsodilaurea#1{\global\dottoratofalse\gdef\@corso{#1}} \def\corsodidottorato#1{\global\dottoratotrue\global\laureatriennalefalse @@ -305,7 +327,7 @@ Title page for TOPtesi and other classes] } \ifcsvoid{@nomeat}{} {\ifbool{topTPTlogos}{\vspace*{3.5ex}}{\vspace*{-3ex}}% - {\centering\Large \@nomeat\par}\vfill} + {\centering\@nomeat\par}\vfill} \begin{center} {\rmfamily\mdseries diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg b/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg index 6579cda131b..20bad83a242 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg @@ -7,7 +7,7 @@ %% toptesi.dtx (with options: `topcfg') %% ______________________________________________________ %% The TOPtesi package -%% Copyright (C) 2015 Claudio Beccari +%% Copyright (C) 2005-2016 Claudio Beccari %% All rights reserved %% %% License information appended diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls index 955f8afcf11..6b2132d86d9 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls @@ -7,14 +7,14 @@ %% toptesi.dtx (with options: `class') %% ______________________________________________________ %% The TOPtesi package -%% Copyright (C) 2015 Claudio Beccari +%% Copyright (C) 2005-2016 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2015/01/01] \ProvidesClass{toptesi}[% -2016/010/04 v.5.93 +2016/10/10 v.5.9.05 Class for typesetting university theses] \DeclareOption{a4paper}{\PassOptionsToClass{\CurrentOption}{report}} \DeclareOption{titlepage}{\PassOptionsToClass{\CurrentOption}{report}} diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty index f2b6d3b0f5c..9f072d384f4 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty @@ -7,14 +7,14 @@ %% toptesi.dtx (with options: `topsty') %% ______________________________________________________ %% The TOPtesi package -%% Copyright (C) 2015 Claudio Beccari +%% Copyright (C) 2005-2016 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2015/01/01] \ProvidesPackage{toptesi}[% -2016/010/04 v.5.93 +2016/10/10 v.5.9.05 Extension for toptesi.cls] \def\TRON{\tracingcommands \tw@ \tracingmacros \tw@} \def\TROFF{\tracingcommands\z@ \tracingmacros \z@} @@ -453,24 +453,6 @@ Skipping any redefinition\MessageBreak}% \def\chaptermark##1{\markright{\thechapter\ -- ##1}}} \fi \fi -\newcommand*\NomeAnnoAccademico[1]{\gdef\AnnoAccademico{#1}} -\@ifundefined{AnnoAccademico}{\gdef\AnnoAccademico{Anno accademico}}{} -\def\annoaccademico#1{\ifclassica - \def\@submitdate{{\large\textsc{\AnnoAccademico}} {\Large\s@tanno#1!}} - \else - \PackageWarning{toptesi}{\string\annoaccademico\space is usable only - when the\MessageBreak - `classica' option is in force}% - \def\@submitdate{\AnnoAccademico\ #1 --- Needs `classica' option} - \fi} -\def\s@tanno#1-#2!{\oldstylenums{#1\EnDash#2}} - -\def\EnDash{{\settowidth{\dimen@}{\large\scshape I}% -\setbox\tw@\hbox{2}\dimen\tw@.5\ht\tw@\advance\dimen\tw@-.5\dp\tw@ -\dimen4\dimen\tw@\advance\dimen4by.0385ex\relax -\advance\dimen\tw@-.0385ex\relax -\makebox[1.5\dimen@]{% - \vrule\@width\dimen@\@height\dimen4\@depth-\dimen\tw@}}} \renewcommand\footnoterule{% \kern-6\p@ \hrule\@width.4\columnwidth |