diff options
author | Karl Berry <karl@freefriends.org> | 2018-05-13 21:35:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-05-13 21:35:54 +0000 |
commit | 6809ce56c76ce49653a6fd4f5a8c3219df10fb72 (patch) | |
tree | ce231e2cd87cfd175e46e227f5a1118e885d88ef /Master/texmf-dist/tex/latex/toptesi | |
parent | b3b423b8d0530436ee4ef06db3381aac4e79dc6e (diff) |
toptesi (13may18)
git-svn-id: svn://tug.org/texlive/trunk@47699 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi')
10 files changed, 90 insertions, 65 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty index 52d767c25b0..b0450fe77e1 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty @@ -7,16 +7,17 @@ %% toptesi.dtx (with options: `topcmn') %% ______________________________________________________ %% The TOPtesi bundle -%% Copyright (C) 2015-2017 Claudio Beccari +%% Copyright (C) 2015-2018 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2016/01/01] \ProvidesPackage{topcoman}[% -2018/01/12 v.~6.1.12 +2018/05/06 v.~6.2.04 Additional commands for the TOPtesi bundle] + \RequirePackage{iftex} \ifPDFTeX \newcommand*\DeclareSlantedCapitalGreekLetters{% @@ -45,10 +46,10 @@ Additional commands for the TOPtesi bundle] \providecommand*\textsubscript{\raisebox{-0.5ex}} \ifPDFTeX -\RequirePackage{textcomp} +\@ifpackageloaded{textcomp}{}{\RequirePackage{textcomp}} \fi \providecommand{\ohm}{\textormath{\textohm}{\mathrm{\Omega}}} -\@ifpackageloaded{toptesi}{ +\@ifpackageloaded{toptesi}{% \providecommand\ped{}\providecommand\ap{} \renewcommand*{\ped}[1]{\textormath{\textsubscript{#1}}{_{\mathrm{#1}}}} \renewcommand*{\ap}[1]{\textormath{\textsuperscript{#1}}{^{\mathrm{#1}}}}}{% @@ -71,8 +72,11 @@ Additional commands for the TOPtesi bundle] \RequirePackage{fancyvrb} \fvset{fontsize=\small} \let\listing\VerbatimInput -\DeclareRobustCommand*{\simulatedSC}[1]{% -{\mbox{$\relax$}\fontsize{\sf@size}{\f@baselineskip}\selectfont#1}}% +\DeclareRobustCommand*{\fakeSC}[1]{% +{\dimen@=\f@size\p@\dimen@=0.75\dimen@ +\fontsize{\dimen@}{\f@baselineskip}\selectfont +\expandafter{\uppercase{#1}}}}% +\ifPDFTeX\let\simulatedSC\fakeSC\else\let\simulatedSC\textsc\fi \def\ft@figure{\iflanguage{italian}{\MakeLowercase{\figurename}}% {\figurename}~} \def\ft@table{\iflanguage{italian}{\MakeLowercase{\tablename}}% @@ -83,7 +87,7 @@ Additional commands for the TOPtesi bundle] \let\p@figure\empty\let\p@table\empty} \DisableFigTabNames %% -%% Copyright 2005-2017 Claudio Beccari +%% Copyright 2005-2018 Claudio Beccari %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/latex/toptesi/topfront.sty b/Master/texmf-dist/tex/latex/toptesi/topfront.sty index b66cd76d296..e4ce23d8adb 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topfront.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topfront.sty @@ -7,19 +7,21 @@ %% toptesi.dtx (with options: `topfrn') %% ______________________________________________________ %% The TOPtesi bundle -%% Copyright (C) 2015-2017 Claudio Beccari +%% Copyright (C) 2015-2018 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2016/01/01] \ProvidesPackage{topfront}[% -2018/01/12 v.~6.1.12 +2018/05/06 v.~6.2.04 Title page for TOPtesi and other classes] + \@ifpackageloaded{etoolbox}{}{\RequirePackage{etoolbox}} \@ifpackageloaded{xspace}{}{\RequirePackage{xspace}} \@ifpackageloaded{xparse}{}{\RequirePackage{xparse}} + \ifcsundef{ifclassica}{\newif\ifclassica \classicafalse}{} \ifcsundef{if@utoretitolo}{\newif\if@utoretitolo\@utoretitolofalse}{} \ifcsundef{if@ldstyle}{\newif\if@ldstyle\@ldstylefalse}{} @@ -35,7 +37,9 @@ Title page for TOPtesi and other classes] \ifcsundef{ifTOPfront}{\newif\ifTOPfront \TOPfronttrue \newif\ifevenboxes \evenboxesfalse}{} + \ifcsundef{c@tomo}{\newcounter{tomo}}{} + \DeclareOption{evenboxes}{\evenboxestrue} \DeclareOption{cucitura}{\@bindingtrue} \DeclareOption{14pt}{\@xivpttrue} @@ -58,7 +62,8 @@ Title page for TOPtesi and other classes] } \fi\par \ifcsvoid{@ateneo}{}{% - \hbox to\textwidth{\hss\LARGE\rule[-1ex]{0pt}{3.3ex}\MakeUppercase{\@ateneo}\hss}} + \hbox to\textwidth{\hss\LARGE\rule[-1ex]{0pt}{3.3ex}% + \MakeUppercase{\@ateneo}\hss}} \vss }% }% @@ -301,12 +306,13 @@ Title page for TOPtesi and other classes] \@ifundefined{TerzoTomo}{\def\TerzoTomo{Tomo terzo}}{} \@ifundefined{QuartoTomo}{\def\QuartoTomo{Tomo quarto}}{} \ifTOPfront -\ifclassica -\def\Candidato{Laureando} -\def\Candidata{Laureanda} -\def\Candidati{Laureandi} -\def\Candidate{Laureande} -\fi\fi + \ifclassica + \def\Candidato{Laureando} + \def\Candidata{Laureanda} + \def\Candidati{Laureandi} + \def\Candidate{Laureande} + \fi +\fi \@ifundefined{@submitdate}{\def\@submitdate{\ifcase\the\month\or% Gennaio\or Febbraio\or Marzo\or Aprile\or Maggio\or Giugno\or Luglio\or Agosto\or Settembre\or Ottobre\or Novembre\or Dicembre\fi @@ -549,7 +555,7 @@ Title page for TOPtesi and other classes] {\null\vfill\thispagestyle{empty}\@retrofrontespizio\par\clearpage}% \endgroup} %% -%% Copyright 2005-2017 Claudio Beccari +%% Copyright 2005-2018 Claudio Beccari %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi-dottorale.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi-dottorale.sty index 3d6c17108d7..214b63f5807 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi-dottorale.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi-dottorale.sty @@ -7,15 +7,16 @@ %% toptesi.dtx (with options: `topdoc') %% ______________________________________________________ %% The TOPtesi bundle -%% Copyright (C) 2015-2017 Claudio Beccari +%% Copyright (C) 2015-2018 Claudio Beccari %% All rights reserved %% %% License information appended %% \ProvidesPackage{toptesi-dottorale}[% -2018/01/12 v.~6.1.12 +2018/05/06 v.~6.2.04 Ph.D. degree title page] + \@ifpackageloaded{etoolbox}{}{\RequirePackage{etoolbox}} \@ifpackageloaded{xspace}{}{\RequirePackage{xspace}} \@ifpackageloaded{xparse}{}{\RequirePackage{xparse}} @@ -540,7 +541,7 @@ Ph.D. degree title page] {\null\vfill\thispagestyle{empty}\@retrofrontespizio\par\clearpage}% \endgroup} %% -%% Copyright 2005-2017 Claudio Beccari +%% Copyright 2005-2018 Claudio Beccari %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi-magistrale.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi-magistrale.sty index de114d4d6df..acf0f465479 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi-magistrale.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi-magistrale.sty @@ -7,16 +7,17 @@ %% toptesi.dtx (with options: `topmag') %% ______________________________________________________ %% The TOPtesi bundle -%% Copyright (C) 2015-2017 Claudio Beccari +%% Copyright (C) 2015-2018 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2016/01/01] \ProvidesPackage{toptesi-magistrale}[% -2018/01/12 v.~6.1.12 +2018/05/06 v.~6.2.04 Master degree title page] + \@ifpackageloaded{etoolbox}{}{\RequirePackage{etoolbox}} \@ifpackageloaded{xspace}{}{\RequirePackage{xspace}} \@ifpackageloaded{xparse}{}{\RequirePackage{xparse}} @@ -485,7 +486,7 @@ Master degree title page] {\null\vfill\thispagestyle{empty}\@retrofrontespizio\par\clearpage}% \endgroup} %% -%% Copyright 2005-2017 Claudio Beccari +%% Copyright 2005-2018 Claudio Beccari %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi-monografia.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi-monografia.sty index a98c7f3045e..375f5f9ac0a 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi-monografia.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi-monografia.sty @@ -7,16 +7,17 @@ %% toptesi.dtx (with options: `topmon') %% ______________________________________________________ %% The TOPtesi bundle -%% Copyright (C) 2015-2017 Claudio Beccari +%% Copyright (C) 2015-2018 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2016/01/01] \ProvidesPackage{toptesi-monografia}[% -2018/01/12 v.~6.1.12 +2018/05/06 v.~6.2.04 Bachelor degree title page] + \monografiatrue \@ifpackageloaded{etoolbox}{}{\RequirePackage{etoolbox}} \@ifpackageloaded{xparse}{}{\RequirePackage{xparse}} @@ -136,7 +137,8 @@ Bachelor degree title page] \let\nomeateneo\NomeAteneo \providecommand\@strutturadi{} \newcommand\StrutturaDi[1]{\gdef\@strutturadi{#1\unskip\xspace}} -\newcommand\struttura[2][]{\gdef\@struttura{\ifempty{#1}{}{#1 }\@strutturadi #2}} +\newcommand\struttura[2][]{\gdef\@struttura{\ifempty{#1}{}{#1 }% + \@strutturadi #2}} \ifcsundef{TPT@logospace}{\newlength{\TPT@logospace}\TPT@logospace=3em}{} \ifcsundef{TPT@logobox}{\newsavebox{\TPT@logobox}}{} \ifcsundef{TPT@logoheight}{\newdimen\TPT@logoheight}{} @@ -321,7 +323,7 @@ Bachelor degree title page] \newpage} } %% -%% Copyright 2005-2017 Claudio Beccari +%% Copyright 2005-2018 Claudio Beccari %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi-scudo.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi-scudo.sty index 54b42c24cfc..d143df3f6e3 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi-scudo.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi-scudo.sty @@ -7,16 +7,17 @@ %% toptesi.dtx (with options: `topscu') %% ______________________________________________________ %% The TOPtesi bundle -%% Copyright (C) 2015-2017 Claudio Beccari +%% Copyright (C) 2015-2018 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2016/01/01] \ProvidesPackage{toptesi-scudo}[% -2018/01/12 v.~6.1.12 +2018/05/06 v.~6.2.04 Extension for ScuDo theses] + \ScuDotrue \ifPDFTeX \RequirePackage{amsmath,amssymb,amsthm} @@ -30,6 +31,13 @@ Extension for ScuDo theses] \providecommand{\gei}{\ensuremath{{\mathop{\mathrm{j}}\nolimits}}} \providecommand{\eu}{\ensuremath{{\mathop{\mathrm{e}}\nolimits}}} \let\iu\gei} + +\ifcsundef{ifmybibstyle}{\newif\ifmybibstyle\mybibstylefalse}{} +\DeclareOption{mybibliostyle}{\mybibstyletrue} +\ProcessOptions*\relax + +\@ifpackageloaded{xparse}{}{% + \RequirePackage{xparse}}% Command and environment advanced definitions \RequirePackage{lscape} % Supports landscape Layout \RequirePackage{setspace} % Define line spacing in paragraph. Don't use! \RequirePackage{calc} % Calculation macros @@ -38,11 +46,9 @@ Extension for ScuDo theses] \RequirePackage{subcaption}% Defines env. subfigure and its caption \RequirePackage{tabularx} % Tables with expandable columns \RequirePackage{booktabs} % professional rules in tables -\RequirePackage{multirow} % It's more professional avoiding tables with - % cells spanning several rows +\RequirePackage{multirow} % Multirow cells are not professional \RequirePackage{siunitx} % advanced management of units of measure -\RequirePackage{float} % Never ever use its code position H ! - % Use only to define new floating objects +\RequirePackage{float} % Use only to define new floating objects! \usepackage[intoc]{nomencl}% Generate nomenclatures or glossaries \makenomenclature \renewcommand{\nomgroup}[1]{% @@ -68,13 +74,15 @@ Extension for ScuDo theses] \exec@makeindex \ifblank{#1}{\printnomenclature}{\printnomenclature[#1]}% } -\usepackage[autostyle]{csquotes} % necessary for biblatex -\usepackage[backend=biber, - style=numeric-comp, - citestyle=numeric, - sorting=nty, - natbib]{biblatex} % LaTeX specific bibliography handler -\addbibresource{references.bib}% bibliographic data base(s} +\unless\ifmybibstyle + \usepackage[autostyle]{csquotes} % necessary for biblatex + \usepackage[backend=biber, + style=numeric-comp, + citestyle=numeric, + sorting=nty, + natbib]{biblatex} % LaTeX specific bibliography handler + \addbibresource{references.bib}% bibliographic data base(s} +\fi \usepackage{imakeidx}% to generate automatic indices \ifPDFTeX \usepackage{indentfirst}\fi \raggedbottom @@ -248,7 +256,7 @@ This class is available in every up-to-date and complete } %% -%% Copyright 2005-2017 Claudio Beccari +%% Copyright 2005-2018 Claudio Beccari %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi-sss.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi-sss.sty index a82ea10efcb..fd85c8d3f6c 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi-sss.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi-sss.sty @@ -7,18 +7,19 @@ %% toptesi.dtx (with options: `topsss') %% ______________________________________________________ %% The TOPtesi bundle -%% Copyright (C) 2015-2017 Claudio Beccari +%% Copyright (C) 2015-2018 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2016/01/01] \ProvidesPackage{toptesi-sss}[% -2018/01/12 v.~6.1.12 +2018/05/06 v.~6.2.04 High school title page] + %% -%%%% Math fonts and AMS extensions (fontspec is already loaded) +%%%% Math fonts and AMS extensions (|fontspec| is already loaded) \secondariatrue \ifPDFTeX \@ifpackageloaded{newtxmath}{}% @@ -37,8 +38,7 @@ High school title page] \RequirePackage{calc} % Calculation macros \RequirePackage{ifthen} % Conditional statements \RequirePackage{booktabs} % professional rules in tables -\RequirePackage{multirow} % It's more professional avoiding tables - % with cells spanning several rows +\RequirePackage{multirow} % Multirow table cells are not professional \RequirePackage[autostyle]{csquotes} % necessary for biblatex \ifPDFTeX \RequirePackage{indentfirst}\fi \raggedbottom @@ -114,7 +114,7 @@ High school title page] {\Large\textbf{\@title}\par} {\vspace{0.5\baselineskip} -\normalsize\@subtitle\par}% uno \stretch{1} è già stato fatto +\normalsize\@subtitle\par} \ifBlank{\@SSSLogo}% {\vspace{\stretch{1}}}% {\includegraphics[height=30mm]{\@SSSLogo}}\par\vspace{\stretch{1}} @@ -142,7 +142,7 @@ Anno scolastico \@annoscolastico}} \clearpage}%% %% %% -%% Copyright 2005-2017 Claudio Beccari +%% Copyright 2005-2018 Claudio Beccari %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg b/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg index e860106a200..968255df2ba 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg @@ -7,12 +7,13 @@ %% toptesi.dtx (with options: `topcfg') %% ______________________________________________________ %% The TOPtesi bundle -%% Copyright (C) 2015-2017 Claudio Beccari +%% Copyright (C) 2015-2018 Claudio Beccari %% All rights reserved %% %% License information appended %% + %% %%================================================================ %% This file is the only file of the TOPtesi bundle that the user @@ -29,17 +30,18 @@ %%================================================================ %% \ifmagistrale - \ateneo{Politecnico di Torino} - \facolta{}% nessun nome di default/ no default name for PoliTO - \FacoltaDi{}% nessun prefisso per la facoltà/no default faculty label for PoliTO - \CorsoDiLaureaIn{Corso di Laurea in} + \ateneo{}%% The PoliTO name is contained in its logo + \facolta{}%% nessun nome di default/ no default name for PoliTO + \FacoltaDi{}%% nessun prefisso per la facolta'/no default faculty + %% label for PoliTO + \CorsoDiLaureaIn{Corso di Laurea in\xspace}%% \TesiDiLaurea{Tesi di Laurea Magistrale} \InName{in} - %%\retrofrontespizio{Questo testo è soggetto alla + %%\retrofrontespizio{Questo testo e' soggetto alla %% Creative Commons Licence} \fi \ifsecondaria - + \relax \fi \ifScuDo \PhDschoolLogo{Logo-Scudo} @@ -62,7 +64,7 @@ provided that credit is given to the original author.} \fi %% -%% Copyright 2005-2017 Claudio Beccari +%% Copyright 2005-2018 Claudio Beccari %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls index d07fb85d423..dd3416e845f 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls @@ -7,16 +7,17 @@ %% toptesi.dtx (with options: `class') %% ______________________________________________________ %% The TOPtesi bundle -%% Copyright (C) 2015-2017 Claudio Beccari +%% Copyright (C) 2015-2018 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2016/01/01] \ProvidesClass{toptesi}[% -2018/01/12 v.~6.1.12 +2018/05/06 v.~6.2.04 Class for typesetting university theses] + \usepackage{trace} \RequirePackage{xkeyval} \DeclareOptionX{formato}[a4paper]{\PassOptionsToClass{#1}{report}} @@ -41,7 +42,7 @@ Class for typesetting university theses] \fi \usepackage{toptesi} %% -%% Copyright 2005-2017 Claudio Beccari +%% Copyright 2005-2018 Claudio Beccari %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty index e7945e74588..b5d4bda40ba 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty @@ -7,20 +7,20 @@ %% toptesi.dtx (with options: `topsty') %% ______________________________________________________ %% The TOPtesi bundle -%% Copyright (C) 2015-2017 Claudio Beccari +%% Copyright (C) 2015-2018 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2016/01/01] \ProvidesPackage{toptesi}[% -2018/01/12 v.~6.1.12 +2018/05/06 v.~6.2.04 Extension for toptesi.cls] + \def\TRON{\tracingcommands \tw@ \tracingmacros \tw@} \def\TROFF{\tracingcommands\z@ \tracingmacros \z@} \let\TROF\TROFF - \newif\ifevenboxes \evenboxesfalse \newif\if@utoretitolo \@utoretitolofalse \newif\if@ldstyle \@ldstylefalse @@ -91,7 +91,7 @@ Extension for toptesi.cls] \TOPfrontfalse\T@Pfrontespiziofalse \ifstrequal{#1}{custom}{\relax}{% \ifstrequal{#1}{triennale}{% - \def\TPT@tipo{toptesi-monografia}% opz:monografia + \def\TPT@tipo{toptesi-monografia}% opz: monografia }{\ifstrequal{#1}{secondaria}{% opz: secondaria \edef\TPT@tipo{toptesi-sss}% }{% @@ -429,7 +429,7 @@ Extension for toptesi.cls] \newcounter{NumberSD} \setcounter{NumberSD}{0} \providecommand*\theNumberSD{\value{NumberSD}} \newif\ifNumberFloat \NumberFloattrue -\NewDocumentCommand\captionSD{s O{} m}{% o: optionale fra graffe +\NewDocumentCommand\captionSD{s O{} m}{% O: optional arg. with null default \IfBooleanTF{#1}% {% \@makecaption{}{#3}% @@ -732,7 +732,7 @@ Skipping any redefinition\MessageBreak}% } \let\wittysentences\citazioni \let\endwittysentences\endcitazioni %% -%% Copyright 2005-2017 Claudio Beccari +%% Copyright 2005-2018 Claudio Beccari %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of |