From 7011e31571eda36fd63231056e58de916886ff00 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 5 Apr 2014 22:21:58 +0000 Subject: suftesi (5apr14) git-svn-id: svn://tug.org/texlive/trunk@33382 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/suftesi/suftesi.cls | 73 ++++++++++++++++++------- 1 file changed, 53 insertions(+), 20 deletions(-) (limited to 'Master/texmf-dist/tex/latex/suftesi') diff --git a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls index 6338af35626..c4fad11c000 100644 --- a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls +++ b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls @@ -19,7 +19,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesClass{suftesi} - [2014/02/16 v1.9b A class for typesetting theses, books and articles] + [2014/04/05 v1.9c A class for typesetting theses, books and articles] \ClassWarningNoLine{suftesi}{% ******************************************\MessageBreak * DO NOT MODIFY THE STYLES OF THIS CLASS\MessageBreak @@ -415,12 +415,12 @@ dotarabic,dotroman,dotRoman}[arabic]{% \suftesi@sufplaintrue \or \suftesi@authortitletrue - \def\SUF@rightmark{\SUF@Rheadstyle{\@headtitle}} - \def\SUF@leftmark{\SUF@Lheadstyle{\@author}} + \def\SUF@rightmark{\let\thanks\@gobble\SUF@Rheadstyle{\@headtitle}} + \def\SUF@leftmark{\let\thanks\@gobble\SUF@Lheadstyle{\@author}} \or \suftesi@authortitletrue - \def\SUF@rightmark{\SUF@Rheadstyle{\@headtitle}} - \def\SUF@leftmark{\SUF@Lheadstyle{\@author}} + \def\SUF@rightmark{\let\thanks\@gobble\SUF@Rheadstyle{\@headtitle}} + \def\SUF@leftmark{\let\thanks\@gobble\SUF@Lheadstyle{\@author}} \suftesi@centerheadertrue \or \suftesi@elementsheadertrue @@ -987,6 +987,28 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} \def\encodingdefault{LGR}} \DeclareTextFontCommand{\textgreek}{\greektext} } + \DeclareFontFamily{LGR}{pplj}{} + \DeclareFontShape{LGR}{pplj}{m}{n}{<->ssub * lmr/m/n}{} + \DeclareFontShape{LGR}{pplj}{m}{it}{<->ssub * lmr/m/it}{} + \DeclareFontShape{LGR}{pplj}{m}{sl}{<->ssub * lmr/m/sl}{} + \DeclareFontShape{LGR}{pplj}{m}{sc}{<->ssub * lmr/m/sc}{} + \DeclareFontShape{LGR}{pplj}{b}{n}{<->ssub * lmr/bx/n}{} + \DeclareFontShape{LGR}{pplj}{b}{it}{<->ssub * lmr/bx/it}{} + \DeclareFontShape{LGR}{pplj}{b}{sl}{<->ssub * lmr/bx/sl}{} + \DeclareFontShape{LGR}{pplj}{b}{sc}{<->ssub * lmr/bx/sc}{} + \DeclareFontShape{LGR}{pplj}{bx}{n}{<->ssub * lmr/bx/n}{} + \DeclareFontShape{LGR}{pplj}{bx}{it}{<->ssub * lmr/bx/it}{} + \DeclareFontShape{LGR}{pplj}{bx}{sl}{<->ssub * lmr/bx/sl}{} + \DeclareFontShape{LGR}{pplj}{bx}{sc}{<->ssub * lmr/bx/sc}{} + \DeclareFontShape{LGR}{pplj}{m}{li}{<->ssub * lmr/m/li}{} + \DeclareFontShape{LGR}{pplj}{b}{li}{<->ssub * lmr/b/li}{} + \DeclareFontShape{LGR}{pplj}{bx}{li}{<->ssub * lmr/bx/li}{} + \DeclareFontShape{LGR}{pplj}{m}{ui}{<->ssub * lmr/m/ui}{} + \DeclareFontShape{LGR}{pplj}{b}{ui}{<->ssub * lmr/m/ui}{} + \DeclareFontShape{LGR}{pplj}{bx}{ui}{<->ssub * lmr/bx/ui}{} + \DeclareFontShape{LGR}{pplj}{m}{rs}{<->ssub * lmr/m/rs}{} + \DeclareFontShape{LGR}{pplj}{b}{rs}{<->ssub * lmr/m/rs}{} + \DeclareFontShape{LGR}{pplj}{bx}{rs}{<->ssub * lmr/bx/rs}{} \fi \ifsuftesi@porson \sbox\z@{\fontsize{10}{10}\normalfont A} @@ -1546,6 +1568,8 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} \newcounter{issue} \newcounter{title} \setcounter{title}{1} +\newcounter{article} +\setcounter{article}{0} \setcounter{journalnumber}{0} \setcounter{tocdepth}{0} \def\journalname#1{\gdef\@journalname{#1}} @@ -1629,16 +1653,16 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} \fi \else \newpage - \global\@topnum\z@ + \global\@topnum\z@ % Prevents figures from going at top of page. \@maketitle \fi - \thispagestyle{plain}\@thanks + \thispagestyle{plain}\@thanks% \endgroup \setcounter{footnote}{0}% - \global\let\@thanks\@empty - \let\thanks\@gobble} -\def\@maketitle{% - \cleardoublepage + \setcounter{section}{0}% + \global\let\and\relax + \let\thanks\@gobble} +\AtBeginDocument{\def\@maketitle{% \SUF@chaptersize \SUF@lr@coll@titleSwitch \let\footnote\thanks @@ -1658,14 +1682,20 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} \else \SUF@titlefont@Switch{\@title}% \fi\\} - \vskip2.5cm} + \vskip1.5cm}} +\newenvironment{article} + {\begingroup + \global\let\@thanks\@empty + \setcounter{footnote}{0} + \refstepcounter{article} + \label{begin:\thearticle} +} + {\label{end:\thearticle}\endgroup + } \newcommand{\includeart}[1]{% - \begingroup \clearpage - \setcounter{section}{0} - \input{#1}%\label{end:\thetitle} - \global\let\@thanks\@empty - \endgroup} + \input{#1} +} \newcommand{\frontispiece}{% \thispagestyle{empty}% \begingroup @@ -1965,7 +1995,7 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} \end{center}% \quotation \fi} - {\if@twocolumn\else\endquotation\fi} + {\if@twocolumn\else\endquotation\fi\vspace{6ex}} \else \if@titlepage \newenvironment{abstract}{% @@ -2071,8 +2101,11 @@ Janusz M. Nowacki. \newlength\SUF@label@chap \setlength\SUF@label@chap{.5em} \newcommand*{\toclabelwidth}[2]{% - \addtolength{\csname SUF@label@#1\endcsname}{#2}% - \addtolength{\csname SUF@tocindent@#1\endcsname}{#2}}% + \AtBeginDocument{ + \addtolength{\csname SUF@label@#1\endcsname}{#2}% + \addtolength{\csname SUF@tocindent@#1\endcsname}{#2}% + } +} \newcommand{\toclabelspace}{% \ClassError{suftesi} {\MessageBreak -- cgit v1.2.3