diff options
author | Karl Berry <karl@freefriends.org> | 2019-07-19 20:56:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-07-19 20:56:50 +0000 |
commit | b6688aa7248a7020bf607aa3ec305eef2a70ce67 (patch) | |
tree | ebe7ecbd90abd57d43bfe9d26745d2293a07fcba /Master/texmf-dist/tex | |
parent | acc026ddb4026d82773b71771f1c5f6112f02043 (diff) |
toptesi (19jul19)
git-svn-id: svn://tug.org/texlive/trunk@51682 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
9 files changed, 78 insertions, 45 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty index d58dec954c1..13c2d01fffc 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty @@ -12,9 +12,9 @@ %% %% License information appended %% -\NeedsTeXFormat{LaTeX2e}[2016/01/01] +\NeedsTeXFormat{LaTeX2e}[2018/01/01] \ProvidesPackage{topcoman}[% -2019-05-01 v.6.3.04 +2019-07-01 v.6.3.05 Additional commands for the TOPtesi bundle] diff --git a/Master/texmf-dist/tex/latex/toptesi/topfront.sty b/Master/texmf-dist/tex/latex/toptesi/topfront.sty index 851e82b3d3b..3d50ebbd4bc 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topfront.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topfront.sty @@ -12,9 +12,9 @@ %% %% License information appended %% -\NeedsTeXFormat{LaTeX2e}[2016/01/01] +\NeedsTeXFormat{LaTeX2e}[2018/01/01] \ProvidesPackage{topfront}[% -2019-05-01 v.6.3.04 +2019-07-01 v.6.3.05 Title page for TOPtesi and other classes] diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi-dottorale.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi-dottorale.sty index bc3dfcb2542..55c38b8d2eb 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi-dottorale.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi-dottorale.sty @@ -13,7 +13,7 @@ %% License information appended %% \ProvidesPackage{toptesi-dottorale}[% -2019-05-01 v.6.3.04 +2019-07-01 v.6.3.05 Ph.D. degree title page] diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi-magistrale.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi-magistrale.sty index 211d7dbc6de..2cbb3a8eac8 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi-magistrale.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi-magistrale.sty @@ -12,9 +12,9 @@ %% %% License information appended %% -\NeedsTeXFormat{LaTeX2e}[2016/01/01] +\NeedsTeXFormat{LaTeX2e}[2018/01/01] \ProvidesPackage{toptesi-magistrale}[% -2019-05-01 v.6.3.04 +2019-07-01 v.6.3.05 Master degree title page] diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi-monografia.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi-monografia.sty index 423931b001f..ff12528948a 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi-monografia.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi-monografia.sty @@ -12,9 +12,9 @@ %% %% License information appended %% -\NeedsTeXFormat{LaTeX2e}[2016/01/01] +\NeedsTeXFormat{LaTeX2e}[2018/01/01] \ProvidesPackage{toptesi-monografia}[% -2019-05-01 v.6.3.04 +2019-07-01 v.6.3.05 Bachelor degree title page] diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi-scudo.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi-scudo.sty index 960901bcb67..3eaf6ccb1b1 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi-scudo.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi-scudo.sty @@ -12,9 +12,9 @@ %% %% License information appended %% -\NeedsTeXFormat{LaTeX2e}[2016/01/01] +\NeedsTeXFormat{LaTeX2e}[2018/01/01] \ProvidesPackage{toptesi-scudo}[% -2019-05-01 v.6.3.04 +2019-07-01 v.6.3.05 Extension for ScuDo theses] diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi-sss.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi-sss.sty index d7898cddeef..1f238fd78f5 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi-sss.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi-sss.sty @@ -12,9 +12,9 @@ %% %% License information appended %% -\NeedsTeXFormat{LaTeX2e}[2016/01/01] +\NeedsTeXFormat{LaTeX2e}[2018/01/01] \ProvidesPackage{toptesi-sss}[% -2019-05-01 v.6.3.04 +2019-07-01 v.6.3.05 High school title page] diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls index 88353ede03d..c6870115e90 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls @@ -12,9 +12,9 @@ %% %% License information appended %% -\NeedsTeXFormat{LaTeX2e}[2016/01/01] +\NeedsTeXFormat{LaTeX2e}[2018/01/01] \ProvidesClass{toptesi}[% -2019-05-01 v.6.3.04 +2019-07-01 v.6.3.05 Class for typesetting university theses] diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty index 360e258ddba..81f8789f570 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty @@ -12,9 +12,9 @@ %% %% License information appended %% -\NeedsTeXFormat{LaTeX2e}[2016/01/01] +\NeedsTeXFormat{LaTeX2e}[2018/01/01] \ProvidesPackage{toptesi}[% -2019-05-01 v.6.3.04 +2019-07-01 v.6.3.05 Extension for toptesi.cls] @@ -227,19 +227,23 @@ Extension for toptesi.cls] \newif\iffigurespage \newif\iftablespage \newif\ifnumeriromani +\newif\if@mainmatter \newif\iffrontmatter -\def\frontmatter{\clearpage\ps@plain% +\def\frontmatter{\clearpage\ps@plain\@mainmatterfalse \ifTOPnumerazioneromana\numeriromanitrue\fi \frontmattertrue\@openrightfalse\c@secnumdepth=-2\relax } -\def\mainmatter{\if@twoside\@openrighttrue\fi +\def\mainmatter{\@mainmattertrue +\if@twoside\@openrighttrue\fi \ifTOPnumerazioneromana\numeriromanifalse\fi - \frontmatterfalse\c@secnumdepth=2 + \frontmatterfalse + \c@secnumdepth=2 \clearpage\ps@headings \ifTOPnumerazioneromana\pagenumbering{arabic}\fi } \newcommand\backmatter{\cleardoublepage[empty]% +\@mainmatterfalse \setcounter{secnumdepth}{-1}\if@twoside\@openrightfalse\fi} \AtBeginDocument{% @@ -247,6 +251,7 @@ Extension for toptesi.cls] } \figurespagefalse \tablespagefalse + \let\ps@blank\ps@plain \newcommand*\blankpagestyle[1]{% \expandafter\let\expandafter\ps@blank\csname ps@#1\endcsname} @@ -256,6 +261,7 @@ Extension for toptesi.cls] \if@openright \null\thispagestyle{#1}\clearpage \fi\fi\fi} + \def\sommario{% \iffrontmatter\else\frontmattertrue\fi \chapter*{\summaryname}} @@ -264,24 +270,47 @@ Extension for toptesi.cls] \iffrontmatter\else\frontmattertrue\fi \chapter*{\acknowledgename}} \let\acknowledgements\ringraziamenti -\def\@chapter[#1]#2{\iffrontmatter\mainmatter\fi - \ifnum \c@secnumdepth >\m@ne - \refstepcounter{chapter}% - \typeout{\@chapapp\space\thechapter.}% - \addcontentsline{toc}{chapter}% - {\protect\numberline{\thechapter}#1}% - \else - \addcontentsline{toc}{chapter}{#1}% - \fi - \chaptermark{#1}% - \addtocontents{lof}{\protect\addvspace{10\p@}}% - \addtocontents{lot}{\protect\addvspace{10\p@}}% - \if@twocolumn - \@topnewpage[\@makechapterhead{#2}]% - \else - \@makechapterhead{#2}% - \@afterheading - \fi} +\RenewDocumentCommand{\chapter} + {s O{#4} O{#2} m O{plain}}{% + \if@openright\cleardoublepage + \else\clearpage\fi + \thispagestyle{#5}% + \global\@topnum\z@ + \@afterindentfalse +\IfBooleanTF{#1}{% + \c@secnumdepth=-3\relax + \let\iftoc\iffalse +}{% + \iffrontmatter\mainmatter\fi + \let\iftoc\iftrue +}% + \ifnum \c@secnumdepth >\m@ne + \if@mainmatter % where \if@mainmatter is defined + % (e.g. book.cls, toptesi.cls) + \refstepcounter{chapter}% + \typeout{\@chapapp\space\thechapter.}% + \iftoc\addcontentsline{toc}{chapter}{% + \protect\numberline{\thechapter}#2}\fi + \else % + \iftoc\addcontentsline{toc}{chapter}{#2}\fi + \fi + \else % Were \mainmatter is not defined (e.g.report.cls) + \iftoc\addcontentsline{toc}{chapter}{#2}\fi + \fi + \markboth{#3}{#3}% No \MakeUppercase + \iftoc + \addtocontents{lof}% + {\protect\addvspace{10\p@}}% + \addtocontents{lot}% + {\protect\addvspace{10\p@}}% + \fi + \if@twocolumn + \@topnewpage[\@makechapterhead{#4}]% + \else + \@makechapterhead{#4}% + \@afterheading + \fi +} \def\@part[#1]#2{\iffrontmatter\mainmatter\fi \ifnum \c@secnumdepth >-2\relax \refstepcounter{part}% @@ -300,30 +329,34 @@ Extension for toptesi.cls] \fi \Huge \bfseries #2\par}% \@endpart} + \renewcommand\tableofcontents{% \chapter*{\contentsname}% - \@mkboth{\contentsname}{\contentsname}% \@starttoc{toc}% \clearpage \if@restonecol\twocolumn\fi } + +\providecommand\phantomsection{}% in case \hyperref was not loaded + \renewcommand\listoffigures{% - \chapter*{\listfigurename} - \@mkboth{\listfigurename}{\listfigurename}% + \phantomsection + \chapter*{\listfigurename}% \addcontentsline{toc}{chapter}{\listfigurename} \@starttoc{lof}% \clearpage \if@restonecol\twocolumn\fi } + \renewcommand\listoftables{% + \phantomsection \chapter*{\listtablename}% \addcontentsline{toc}{chapter}{\listtablename} - \@mkboth{\listtablename}{\listtablename}% \@starttoc{lot}% \clearpage \if@restonecol\twocolumn\fi } -\def\indici{% +\def\indici{% If headings are desired, the pagestyle must be set in advance \iffrontmatter\else\frontmattertrue\fi \tableofcontents \iftablespage @@ -333,7 +366,7 @@ Extension for toptesi.cls] \listoftables \let\addvspace=\saveaddvspace} \fi - \iffigurespage + \iffigurespage% {\addvspace{10pt} \let\saveaddvspace=\addvspace \def\addvspace##1{} @@ -342,6 +375,7 @@ Extension for toptesi.cls] \fi \ifbool{@twoside}{\cleardoublepage[empty]}{}} \let\allcontents\indici + \onecolumn \if@twoside \unless\ifScuDo @@ -557,7 +591,6 @@ Extension for toptesi.cls] \usecounter{enumi}} \else \chapter*{\bibname}\relax - \@mkboth{\bibname}{\bibname}\relax \addcontentsline{toc}{chapter}{\bibname}\relax \list{[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}% \leftmargin\labelwidth |