diff options
author | Karl Berry <karl@freefriends.org> | 2021-11-07 21:42:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-11-07 21:42:57 +0000 |
commit | 6db201ee577d919c52166a873f7f3755b4113c1f (patch) | |
tree | e92c3552f285d95e5653de499807d5c0feca09d7 /Master/texmf-dist/tex/latex/suftesi | |
parent | f74dcee34dd73e7bc5e394c7dcb4d81b185d0a30 (diff) |
suftesi
git-svn-id: svn://tug.org/texlive/trunk@60991 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/suftesi')
-rw-r--r-- | Master/texmf-dist/tex/latex/suftesi/suftesi.cls | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls index 8e0ec9131fc..73811b07a41 100644 --- a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls +++ b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls @@ -26,7 +26,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesClass{suftesi} - [2021/06/06 v3.1.3 A class for typesetting theses, books and articles] + [2021/11/01 v3.2.0 A class for typesetting theses, books and articles] \RequirePackage{xkeyval} \newif\ifsuftesi@article \newif\ifsuftesi@collection @@ -2704,10 +2704,6 @@ \else \let\SUF@versionof\relax \fi -\AtBeginDocument{% - \pagestyle{fancy} - \renewcommand{\headrulewidth}{0pt} - \renewcommand{\footnoterule}{}} \renewcommand{\chaptermark}[1]{% \markboth{\chaptertitlename\ \SUF@HEAD@thechapter}{#1}} \ifsuftesi@article @@ -2744,9 +2740,19 @@ \fi \def\SUF@leftrightmark{% \if@mainmatter\leftmark\else\rightmark\fi} -\pagestyle{sufdefault} - \ifsuftesi@centerheader\pagestyle{centerheader}\else\fi - \ifsuftesi@sufplain\pagestyle{sufplain}\else\fi +\AtBeginDocument{% + \renewcommand{\headrulewidth}{0pt} + \renewcommand{\footnoterule}{} + \ifsuftesi@centerheader + \pagestyle{centerheader} + \else + \ifsuftesi@sufplain + \pagestyle{sufplain} + \else + \pagestyle{sufdefault} + \fi + \fi +} \renewenvironment{quotation} {\list{}{\listparindent\parindent% \itemindent \listparindent @@ -2790,7 +2796,7 @@ \def\thefootnote{\@fnsymbol\c@footnote}% \fi \newcommand*\xfootnote[1][*]{% - \xdef\@thefnmark{#1}% + \protected@xdef\@thefnmark{#1}% \@footnotemark\@footnotetext} \let\oldmarginpar\marginpar \ifSUF@marginpar |