diff options
author | Karl Berry <karl@freefriends.org> | 2013-03-29 21:29:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-03-29 21:29:15 +0000 |
commit | 6144e158828b4bf657bf525ddbb73c73725af6d5 (patch) | |
tree | 61b598a76225cc72108cb4b5a430c668f397cc44 /Master/texmf-dist/tex/latex | |
parent | 74af3538d2e25cc0e6a663296f9debd9ac8d5f76 (diff) |
toptesi (28mar13)
git-svn-id: svn://tug.org/texlive/trunk@29550 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/topcoman.sty | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/topfront.sty | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/toptesi.cls | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/toptesi.sty | 32 |
4 files changed, 29 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty index b46e51b3c16..145ed2667b0 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty @@ -29,7 +29,7 @@ %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} % lavora solo con LaTeX 2e \ProvidesPackage{topcoman}% - [2013/03/08 v.5.70 Additional commands for the TOPtesi bundle] + [2013/03/27 v.5.71 Additional commands for the TOPtesi bundle] \RequirePackage{ifxetex} \ifxetex\else \newcommand*\DeclareSlantedCapitalGreekLetters{% diff --git a/Master/texmf-dist/tex/latex/toptesi/topfront.sty b/Master/texmf-dist/tex/latex/toptesi/topfront.sty index 6ff037ba9ec..117e3ece0d1 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}[2013/03/08 v.5.70 Title page for TOPtesi] +\ProvidesPackage{topfront}[2013/03/27 v.5.71 Title page for TOPtesi] \newif\iffemminile \newif\ifdottorato \dottoratofalse \newif\iflaureatriennale \laureatriennalefalse @@ -107,7 +107,7 @@ \newcommand*\setlogodistance[1]{\TPT@logospace=#1} \providecommand*{\@logosede}{} -\newcommand\logosede[2][3cm]{\def\@logosede{#2}\TPT@logoheight=#1} +\newcommand\logosede[2][\interno]{\def\@logosede{#2}\TPT@logoheight=#1} \newcommand\printloghi{\ifdefvoid{\@logosede}{}{% \begin{lrbox}{\TPT@logobox}\hskip\TPT@logospace @@ -205,10 +205,10 @@ \@height2ex\vrule\@height1.4\p@\@depth-\p@\@width50mm\hfil}% \fi }}% - \def\@oddfoot{\vbox to 15mm{\vss + \def\@oddfoot{\vbox to \dimexpr\paperheight/20\relax{\vss \ifclassica \hbox to \hsize{\hfil\raisebox{-.3ex}[\z@][\z@]{% - \vrule\@height-2.6\p@\@depth3\p@\@width50mm}\hfil}% + \vrule\@height-2.6\p@\@depth3\p@\@width\dimexpr\textwidth/3}\hfil}% \fi \hbox to\hsize{\hfill{\Large{\@submitdate}}\hfill}}% }% diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls index 3c701f18b12..4a81b58dbc5 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls @@ -29,10 +29,12 @@ %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{toptesi}% -[2013/03/08 v.5.70 Class for typesetting university theses] +[2013/03/27 v.5.71 Class for typesetting university theses] +\DeclareOption{a4paper}{\PassOptionsToClass{\CurrentOption}{report}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}} +\ExecuteOptions{a4paper} \ProcessOptions\relax -\LoadClass[a4paper]{report} +\LoadClass{report} \RequirePackage{ifxetex} \ifxetex \RequirePackage{fontspec} diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty index e82ff466279..a0bc052ea61 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty @@ -29,7 +29,7 @@ %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{toptesi}% -[2013/03/08 v.5.70 Extension for toptesi.cls]% +[2013/03/27 v.5.71 Extension for toptesi.cls]% \def\TRON{\tracingcommands \tw@ \tracingmacros \tw@} \def\TROFF{\tracingcommands\z@ \tracingmacros \z@} \let\TROF\TROFF @@ -53,30 +53,37 @@ \ProcessOptions\relax \RequirePackage{graphicx} \if@xivpt\input{size14.clo}\fi -\textheight 585pt +\newlength\interno +\textheight 0.7\paperheight \divide\textheight by \baselineskip \multiply\textheight by \baselineskip \advance\textheight by \topskip \ifx\f@size\@xivpt - \textwidth=138mm + \setlength\interno{\dimexpr\paperwidth/6} + \footskip=1,5\basleineskip \else - \textwidth=150mm + \setlength\interno{\dimexpr\paperwidth/7} + \footskip=2\baselineskip \fi -\oddsidemargin=\paperwidth -\advance\oddsidemargin -\textwidth -\divide\oddsidemargin \tw@ -\advance\oddsidemargin -1in +\oddsidemargin=\dimexpr\interno-1in\relax \evensidemargin=\oddsidemargin -\marginparwidth\oddsidemargin -\advance\marginparwidth 1in +\marginparwidth\interno \advance\marginparwidth-2.5\marginparsep \AtBeginDocument{% \if@binding - \typeout{Messaggio Toptesi: Ricalcolo i margini} + \PackageInfo{TOPtesi}{Margin width recalculation} + \PackageInfo{TOPtesi}{Before:\MessageBreak + oddsidemargin\space\space \the\oddsidemargin\MessageBreak + evensidemargin\space \the\evensidemargin} \advance\oddsidemargin \T@Pbinding \advance\evensidemargin -\T@Pbinding \advance\marginparwidth -\T@Pbinding + \PackageInfo{TOPtesi}{After:\MessageBreak + oddsidemargin\space\space \the\oddsidemargin\MessageBreak + evensidemargin\space \the\evensidemargin} \fi} +\textwidth=\dimexpr\paperwidth-2\interno\relax + \def\lapagina{\thepage} \mark{{}{}} \newbox\@intesta @@ -147,7 +154,8 @@ \tablespagefalse \newcommand\blankpagestyle[1]{\def\blank@ps{#1}} \def\blank@ps{plain} -\renewcommand\cleardoublepage{\clearpage\ifodd\value{page}\else\if@twoside\if@openright +\renewcommand\cleardoublepage{\clearpage\ifodd\value{page}\else + \if@twoside\if@openright \clearpage\null\thispagestyle{\blank@ps}\clearpage\fi\fi\fi} \def\sommario{% \iffrontmatter\else\frontmattertrue\fi |