texlive[53608] Master/texmf-dist: suftesi (30jan20)

commits+karl at tug.org commits+karl at tug.org
Thu Jan 30 23:20:51 CET 2020


Revision: 53608
          http://tug.org/svn/texlive?view=revision&revision=53608
Author:   karl
Date:     2020-01-30 23:20:50 +0100 (Thu, 30 Jan 2020)
Log Message:
-----------
suftesi (30jan20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf
    trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
    trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls

Modified: trunk/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx	2020-01-30 22:20:36 UTC (rev 53607)
+++ trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx	2020-01-30 22:20:50 UTC (rev 53608)
@@ -4,7 +4,7 @@
 \input docstrip
 \preamble
 
- Copyright 2009-2019 by Ivan Valbusa
+ Copyright 2009-2020 by Ivan Valbusa
 
  This program is provided under the terms of the
  LaTeX Project Public License distributed from CTAN
@@ -44,7 +44,7 @@
 \endgroup
 %</internal>
 %
-% Copyright (C) 2009-2019 by Ivan Valbusa 
+% Copyright (C) 2009-2020 by Ivan Valbusa 
 % <ivan dot valbusa at univr dot it>
 % -------------------------------------------------------
 % 
@@ -67,7 +67,7 @@
 %<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
 %<class>\ProvidesClass{suftesi}
 %<*class>
-    [2019/10/26 v2.9.2 A class for typesetting theses, books and articles]
+    [2020/01/29 v2.9.3 A class for typesetting theses, books and articles]
 %</class>
 %<*driver>
 \documentclass{ltxdoc}
@@ -175,7 +175,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{4656}
+% \CheckSum{4902}
 %
 % \CharacterTable
 %  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -193,6 +193,7 @@
 %   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %   Right brace   \}     Tilde         \~}
 %
+% \changes{v2.9.3}{2020/01/29}{Updated documentation.}
 % \changes{v2.9.2}{2019/10/26}{Added \cmd{protect} to \cmd{SUF at thechapter} and \cmd{SUF at thesection} in the definitions of \cmd{chaptermark} and \cmd{sectionmark} to correct a bug when loading \texttt{greek} option with \sty{babel}}
 % \changes{v2.9.1}{2018/11/09}{Added \sty{libertinust1math} package for Libertine font. Added \sty{luatex85} for Lua\TeX{} engine}
 % \changes{v2.9}{2016/04/04}{New options \opt{tocauthorfont} and \opt{toctitlefont}. Added macros\cmd{suftesi at MakeTextTOCLowercase} and \cmd{SUF at TOCtitlesmallcaps}. Improved \cmd{xheadbreak} command. New templates \texttt{book}, \texttt{theses-template-article}, \texttt{theses-template-book}.}
@@ -1263,6 +1264,36 @@
 %
 % \changes{v0.5}{2011/10/21}{New command \opt{chapnumfont}}
 %
+% \section{Sections font}\label{sec:secfont}
+%
+% \changes{v2.9.3}{2020/001/29}{New commands to change the font of the section/number title}
+% 
+%
+%\begin{ltxsyntax}
+% \cmditem{<level>font}{commands}\hfill(default=\texttt{empty})
+%
+% Changes the font of the \meta{level} title. Where \meta{level} can be \opt{part}, \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}. For example:
+%
+%\begin{latexcode}
+%\begin{verbatim}
+% \chapfont{\bfseries\sffamily\scshape\Huge}
+%\end{verbatim}
+%\end{latexcode}
+%
+%^^A \cmditem{{level}numfont}{commands}\hfill(default=\texttt{empty})
+%
+% Changes the font of the \meta{level} number. Where \meta{level} can be \opt{part}, \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}. Note that you have to adjust the spacing accordingly. For example, with the default chapter style:
+%
+%\begin{latexcode}
+%\begin{verbatim}
+%\chapnumfont{%
+   %\chapnumfont{\bfseries\fontsize{160}{50}\selectfont
+   %\color{gray}\arabic{chapter}\hskip-15cm}
+%\end{verbatim}
+%\end{latexcode}
+%
+%\end{ltxsyntax}
+%
 % \section{Collections}\label{sec:collection}
 %
 % The \opt{collection} document structure is thought to create a collection of papers. Each paper has to be typeset in a separate \file{.tex} file inside the \env{article} environment:
@@ -1976,6 +2007,7 @@
 \or
 \def\SUF at SUBSUBSEC@StyleSwitch{\expandafter\SUF at titlesmallcaps}
 \fi}
+%
 %    \end{macrocode}
 % \subsection*{TOC font}
 %    \begin{macrocode}
@@ -2065,26 +2097,32 @@
 dotarabic,dotroman,dotRoman}[arabic]{%
 \ifcase\nr\relax
   \def\SUF at thechapter{\arabic{chapter}}
+  \def\SUF at HEAD@thechapter{\arabic{chapter}}
   \def\SUF at dotchap{}
   \def\SUF at toclabelnum{}
 \or
   \def\SUF at thechapter{\textsc{\roman{chapter}}}
+  \def\SUF at HEAD@thechapter{\textsc{\roman{chapter}}}
   \def\SUF at dotchap{}
   \def\SUF at toclabelnum{\scshape\@roman}
 \or
   \def\SUF at thechapter{\Roman{chapter}}
+  \def\SUF at HEAD@thechapter{\Roman{chapter}}
   \def\SUF at dotchap{}
   \def\SUF at toclabelnum{\@Roman}
 \or
   \def\SUF at thechapter{\arabic{chapter}}
+  \def\SUF at HEAD@thechapter{\arabic{chapter}}
   \def\SUF at dotchap{.}
   \def\SUF at toclabelnum{}
 \or
   \def\SUF at thechapter{\textsc{\roman{chapter}}}
+  \def\SUF at HEAD@thechapter{\textsc{\roman{chapter}}}
   \def\SUF at dotchap{.}
   \def\SUF at toclabelnum{\scshape\@roman}
 \or
   \def\SUF at thechapter{\Roman{chapter}}
+  \def\SUF at HEAD@thechapter{\Roman{chapter}}
   \def\SUF at dotchap{.}
   \def\SUF at toclabelnum{\@Roman}
 \fi}
@@ -2095,30 +2133,96 @@
     {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
 \ifcase\nr\relax
   \def\SUF at thesection{\arabic{section}}
+  \def\SUF at HEAD@thesection{\arabic{section}}
   \def\SUF at dotsec{}
   \def\SUF at toclabelnum{}
 \or
   \def\SUF at thesection{\textsc{\roman{section}}}
+  \def\SUF at HEAD@thesection{\textsc{\roman{section}}}
   \def\SUF at dotsec{}
   \def\SUF at toclabelnum{\scshape\@roman}
 \or
   \def\SUF at thesection{\Roman{section}}
+  \def\SUF at HEAD@thesection{\Roman{section}}
   \def\SUF at dotsec{}
   \def\SUF at toclabelnum{\@Roman}
 \or
   \def\SUF at thesection{\arabic{section}}
+  \def\SUF at HEAD@thesection{\arabic{section}}
   \def\SUF at dotsec{.}
   \def\SUF at toclabelnum{}
 \or
   \def\SUF at thesection{\textsc{\roman{section}}}
+  \def\SUF at HEAD@thesection{\textsc{\roman{section}}}
   \def\SUF at dotsec{.}
   \def\SUF at toclabelnum{\scshape\@roman}
 \or
   \def\SUF at thesection{\Roman{section}}
+  \def\SUF at HEAD@thesection{\Roman{section}}
   \def\SUF at dotsec{.}
   \def\SUF at toclabelnum{\@Roman}
 \fi}
 %    \end{macrocode}
+% \subsubsection*{Subsection number style}
+%    \begin{macrocode}
+\define at choicekey{}{subsecnumstyle}[\val\nr]
+{arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
+	\ifcase\nr\relax
+	\def\SUF at thesubsection{\arabic{subsection}}
+	\def\SUF at dotsubsec{}
+	\def\SUF at toclabelnum{}
+	\or
+	\def\SUF at thesubsection{\textsc{\roman{subsection}}}
+	\def\SUF at dotsubsec{}
+	\def\SUF at toclabelnum{\scshape\@roman}
+	\or
+	\def\SUF at thesubsection{\Roman{subsection}}
+	\def\SUF at dotsubsec{}
+	\def\SUF at toclabelnum{\@Roman}
+	\or
+	\def\SUF at thesubsection{\arabic{subsection}}
+	\def\SUF at dotsubsec{.}
+	\def\SUF at toclabelnum{}
+	\or
+	\def\SUF at thesubsection{\textsc{\roman{subsection}}}
+	\def\SUF at dotsubsec{.}
+	\def\SUF at toclabelnum{\scshape\@roman}
+	\or
+	\def\SUF at thesubsection{\Roman{subsection}}
+	\def\SUF at dotsubsec{.}
+	\def\SUF at toclabelnum{\@Roman}
+	\fi}
+%    \end{macrocode}
+% \subsubsection*{Sub-subsection number style}
+%    \begin{macrocode}
+\define at choicekey{}{subsubsecnumstyle}[\val\nr]
+{arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
+	\ifcase\nr\relax
+	\def\SUF at thesubsubsection{\arabic{subsubsection}}
+	\def\SUF at dotsubsubsec{}
+	\def\SUF at toclabelnum{}
+	\or
+	\def\SUF at thesubsubsection{\textsc{\roman{subsubsection}}}
+	\def\SUF at dotsubsubsec{}
+	\def\SUF at toclabelnum{\scshape\@roman}
+	\or
+	\def\SUF at thesubsubsection{\Roman{subsubsection}}
+	\def\SUF at dotsubsubsec{}
+	\def\SUF at toclabelnum{\@Roman}
+	\or
+	\def\SUF at thesubsubsection{\arabic{subsubsection}}
+	\def\SUF at dotsubsubsec{.}
+	\def\SUF at toclabelnum{}
+	\or
+	\def\SUF at thesubsubsection{\textsc{\roman{subsubsection}}}
+	\def\SUF at dotsubsubsec{.}
+	\def\SUF at toclabelnum{\scshape\@roman}
+	\or
+	\def\SUF at thesubsubsection{\Roman{subsubsection}}
+	\def\SUF at dotsubsubsec{.}
+	\def\SUF at toclabelnum{\@Roman}
+	\fi}
+%    \end{macrocode}
 % This option controls the style of small capitals used in the 
 % title of chapters and sections using \opt{\meta{level}font=smallcaps} option:
 %    \begin{macrocode}
@@ -2132,6 +2236,18 @@
   \def\suftesi at MakeTextTOCLowercase{\relax}
 \fi}
 %    \end{macrocode}
+% \subsubsection*{Fine adjustment of sections font}%EXPERIMENTAL
+%    \begin{macrocode}
+\newcommand{\partfont}[1]{\def\SUF at PART@StyleSwitch{#1}}
+\newcommand{\chapfont}[1]{\def\SUF at CHAP@StyleSwitch{#1}}
+\newcommand{\secfont}[1]{\def\SUF at SEC@StyleSwitch{#1}}
+\newcommand{\subsecfont}[1]{\def\SUF at SUBSEC@StyleSwitch{#1}}
+\newcommand{\subsubsecfont}[1]{\def\SUF at SUBSUBSEC@StyleSwitch{#1}}
+\newcommand{\chapnumfont}[1]{\def\SUF at thechapter{#1}}
+\newcommand{\secnumfont}[1]{\def\SUF at thesection{#1}}
+\newcommand{\subsecnumfont}[1]{\def\SUF at thesubsection{#1}}
+\newcommand{\subsubsecnumfont}[1]{\def\SUF at thesubsubsection{#1}}
+%    \end{macrocode}
 % \subsection*{Headers}
 %
 % \subsubsection*{Header style}
@@ -2744,9 +2860,11 @@
   subsecfont=roman,
   subsubsecfont=roman,
   headerfont=roman,
-  secnumstyle=arabic,
   partnumstyle=Roman,
   chapnumstyle=arabic,
+  secnumstyle=arabic,
+  subsecnumstyle=arabic,
+  subsubsecnumstyle=arabic,
   smallcapsstyle=low,
   titlefont=italic,
   authorfont=roman,
@@ -3140,54 +3258,84 @@
 %    \begin{macrocode}
 \def\SUF at default@SECTIONS{
 \ifsuftesi at numparsec
+%\titleformat{\section}[display]
+%	  {\SUF at sectionsize\SUF at lr@SECSwitch}
+%	  {\ifsuftesi at article\SUF at thesection
+%	    \else\thesection\fi\SUF at dotsec}
+%	  {0ex}
+%	  {\SUF at SEC@StyleSwitch}
 \titleformat{\section}[display]
-	  {\SUF at sectionsize\SUF at lr@SECSwitch}
-	  {\ifsuftesi at article\SUF at thesection
-	    \else\thesection\fi\SUF at dotsec}
-	  {0ex}
-	  {\SUF at SEC@StyleSwitch}
+{\SUF at sectionsize\SUF at lr@SECSwitch}
+{\SUF at thesection\SUF at dotsec}
+{0ex}
+{\SUF at SEC@StyleSwitch}
 	\titlespacing*{\section}{0em}{\sectionsep}{\sectionsep}[0em]	 
 \else
+%\titleformat{\section}[hang]
+%	  {\SUF at sectionsize\SUF at lr@SECSwitch}
+%	  {\ifsuftesi at article\SUF at thesection
+%	    \else\thesection\fi\SUF at dotsec}
+%	  {1em}
+%	  {\SUF at SEC@StyleSwitch}
 \titleformat{\section}[hang]
-	  {\SUF at sectionsize\SUF at lr@SECSwitch}
-	  {\ifsuftesi at article\SUF at thesection
-	    \else\thesection\fi\SUF at dotsec}
-	  {1em}
-	  {\SUF at SEC@StyleSwitch}
+{\SUF at sectionsize\SUF at lr@SECSwitch}
+{\SUF at thesection\SUF at dotsec}
+{1em}
+{\SUF at SEC@StyleSwitch}
 	\titlespacing*{\section}{0ex}{\sectionsep}{\sectionsep}[0ex]	  
 \fi
 %    \end{macrocode}
 %    \begin{macrocode}
 \ifsuftesi at numparsubsec
+%\titleformat{\subsection}[display]
+%	  {\SUF at subsectionsize\SUF at lr@SUBSECSwitch}
+%	  {\textnormal\thesubsection}
+%	  {0ex}
+%	  {\SUF at SUBSEC@StyleSwitch}
 \titleformat{\subsection}[display]
-	  {\SUF at subsectionsize\SUF at lr@SUBSECSwitch}
-	  {\textnormal\thesubsection}
-	  {0ex}
-	  {\SUF at SUBSEC@StyleSwitch}
+{\SUF at subsectionsize\SUF at lr@SUBSECSwitch}
+{\textnormal\SUF at thesubsection\SUF at dotsubsec}
+{0ex}
+{\SUF at SUBSEC@StyleSwitch}
 	\titlespacing*{\subsection}{0em}{\sectionsep}{\sectionsep}[0em]
 \else
+%\titleformat{\subsection}[hang]
+%	  {\SUF at subsectionsize\SUF at lr@SUBSECSwitch}
+%	  {\textnormal\thesubsection}
+%	  {1em}
+%	  {\SUF at SUBSEC@StyleSwitch}
 \titleformat{\subsection}[hang]
-	  {\SUF at subsectionsize\SUF at lr@SUBSECSwitch}
-	  {\textnormal\thesubsection}
-	  {1em}
-	  {\SUF at SUBSEC@StyleSwitch}
+{\SUF at subsectionsize\SUF at lr@SUBSECSwitch}
+{\textnormal\SUF at thesubsection\SUF at dotsubsec}
+{1em}
+{\SUF at SUBSEC@StyleSwitch}
 	\titlespacing*{\subsection}{\parindent}{\sectionsep}{\sectionsep}[0ex]
 \fi
 %    \end{macrocode}
 %    \begin{macrocode}
 \ifsuftesi at numparsubsubsec
+%\titleformat{\subsubsection}[display]
+%	  {\SUF at subsectionsize\SUF at lr@SUBSUBSECSwitch}
+%	  {\textnormal\thesubsubsection}
+%	  {0ex}
+%	  {\SUF at SUBSUBSEC@StyleSwitch}
 \titleformat{\subsubsection}[display]
-	  {\SUF at subsectionsize\SUF at lr@SUBSUBSECSwitch}
-	  {\textnormal\thesubsubsection}
-	  {0ex}
-	  {\SUF at SUBSUBSEC@StyleSwitch}
+{\SUF at subsectionsize\SUF at lr@SUBSUBSECSwitch}
+{\textnormal\SUF at thesubsubsection\SUF at dotsubsubsec}
+{0ex}
+{\SUF at SUBSUBSEC@StyleSwitch}
 	\titlespacing*{\subsubsection}{0em}{\sectionsep}{\sectionsep}[0em]  
 \else
+%\titleformat{\subsubsection}[hang]
+%	  {\SUF at subsectionsize\SUF at lr@SUBSUBSECSwitch}
+%	  {\textnormal\thesubsubsection}
+%	  {1em}
+%	  {\SUF at SUBSUBSEC@StyleSwitch}
 \titleformat{\subsubsection}[hang]
-	  {\SUF at subsectionsize\SUF at lr@SUBSUBSECSwitch}
-	  {\textnormal\thesubsubsection}
-	  {1em}
-	  {\SUF at SUBSUBSEC@StyleSwitch}
+{\SUF at subsectionsize\SUF at lr@SUBSUBSECSwitch}
+{\textnormal\SUF at thesubsubsection\SUF at dotsubsubsec}
+{1em}
+{\SUF at SUBSUBSEC@StyleSwitch}
 	\titlespacing*{\subsubsection}{\parindent}{\sectionsep}{\sectionsep}[0ex]  
   \fi
 }
@@ -4022,9 +4170,9 @@
 % \paragraph{The \opt{default} headers}
 %    \begin{macrocode}
 \renewcommand{\chaptermark}[1]{%
-  \markboth{\chaptertitlename\ \protect\SUF at thechapter}{#1}}
+  \markboth{\chaptertitlename\ \protect\SUF at HEAD@thechapter}{#1}}
 	\ifsuftesi at article
-	  \renewcommand{\sectionmark}[1]{\markright{\protect\SUF at thesection.\ #1}}
+	  \renewcommand{\sectionmark}[1]{\markright{\protect\SUF at HEAD@thesection.\ #1}}
 	    \else
 	  \renewcommand{\sectionmark}[1]{}
 	\fi

Modified: trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls	2020-01-30 22:20:36 UTC (rev 53607)
+++ trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls	2020-01-30 22:20:50 UTC (rev 53608)
@@ -6,7 +6,7 @@
 %%
 %% suftesi.dtx  (with options: `class')
 %% 
-%%  Copyright 2009-2019 by Ivan Valbusa
+%%  Copyright 2009-2020 by Ivan Valbusa
 %% 
 %%  This program is provided under the terms of the
 %%  LaTeX Project Public License distributed from CTAN
@@ -19,8 +19,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2005/12/01]
 \ProvidesClass{suftesi}
-    [2019/10/26 v2.9.2 A class for typesetting theses, books and articles]
+    [2020/01/29 v2.9.3 A class for typesetting theses, books and articles]
 
+   %\chapnumfont{\bfseries\fontsize{160}{50}\selectfont
+   %\color{gray}\arabic{chapter}\hskip-15cm}
 \ClassWarningNoLine{suftesi}{%
   ******************************************\MessageBreak
   * DO NOT MODIFY THE STYLES OF THIS CLASS\MessageBreak
@@ -458,26 +460,32 @@
 dotarabic,dotroman,dotRoman}[arabic]{%
 \ifcase\nr\relax
   \def\SUF at thechapter{\arabic{chapter}}
+  \def\SUF at HEAD@thechapter{\arabic{chapter}}
   \def\SUF at dotchap{}
   \def\SUF at toclabelnum{}
 \or
   \def\SUF at thechapter{\textsc{\roman{chapter}}}
+  \def\SUF at HEAD@thechapter{\textsc{\roman{chapter}}}
   \def\SUF at dotchap{}
   \def\SUF at toclabelnum{\scshape\@roman}
 \or
   \def\SUF at thechapter{\Roman{chapter}}
+  \def\SUF at HEAD@thechapter{\Roman{chapter}}
   \def\SUF at dotchap{}
   \def\SUF at toclabelnum{\@Roman}
 \or
   \def\SUF at thechapter{\arabic{chapter}}
+  \def\SUF at HEAD@thechapter{\arabic{chapter}}
   \def\SUF at dotchap{.}
   \def\SUF at toclabelnum{}
 \or
   \def\SUF at thechapter{\textsc{\roman{chapter}}}
+  \def\SUF at HEAD@thechapter{\textsc{\roman{chapter}}}
   \def\SUF at dotchap{.}
   \def\SUF at toclabelnum{\scshape\@roman}
 \or
   \def\SUF at thechapter{\Roman{chapter}}
+  \def\SUF at HEAD@thechapter{\Roman{chapter}}
   \def\SUF at dotchap{.}
   \def\SUF at toclabelnum{\@Roman}
 \fi}
@@ -485,29 +493,89 @@
     {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
 \ifcase\nr\relax
   \def\SUF at thesection{\arabic{section}}
+  \def\SUF at HEAD@thesection{\arabic{section}}
   \def\SUF at dotsec{}
   \def\SUF at toclabelnum{}
 \or
   \def\SUF at thesection{\textsc{\roman{section}}}
+  \def\SUF at HEAD@thesection{\textsc{\roman{section}}}
   \def\SUF at dotsec{}
   \def\SUF at toclabelnum{\scshape\@roman}
 \or
   \def\SUF at thesection{\Roman{section}}
+  \def\SUF at HEAD@thesection{\Roman{section}}
   \def\SUF at dotsec{}
   \def\SUF at toclabelnum{\@Roman}
 \or
   \def\SUF at thesection{\arabic{section}}
+  \def\SUF at HEAD@thesection{\arabic{section}}
   \def\SUF at dotsec{.}
   \def\SUF at toclabelnum{}
 \or
   \def\SUF at thesection{\textsc{\roman{section}}}
+  \def\SUF at HEAD@thesection{\textsc{\roman{section}}}
   \def\SUF at dotsec{.}
   \def\SUF at toclabelnum{\scshape\@roman}
 \or
   \def\SUF at thesection{\Roman{section}}
+  \def\SUF at HEAD@thesection{\Roman{section}}
   \def\SUF at dotsec{.}
   \def\SUF at toclabelnum{\@Roman}
 \fi}
+\define at choicekey{}{subsecnumstyle}[\val\nr]
+{arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
+\ifcase\nr\relax
+\def\SUF at thesubsection{\arabic{subsection}}
+\def\SUF at dotsubsec{}
+\def\SUF at toclabelnum{}
+\or
+\def\SUF at thesubsection{\textsc{\roman{subsection}}}
+\def\SUF at dotsubsec{}
+\def\SUF at toclabelnum{\scshape\@roman}
+\or
+\def\SUF at thesubsection{\Roman{subsection}}
+\def\SUF at dotsubsec{}
+\def\SUF at toclabelnum{\@Roman}
+\or
+\def\SUF at thesubsection{\arabic{subsection}}
+\def\SUF at dotsubsec{.}
+\def\SUF at toclabelnum{}
+\or
+\def\SUF at thesubsection{\textsc{\roman{subsection}}}
+\def\SUF at dotsubsec{.}
+\def\SUF at toclabelnum{\scshape\@roman}
+\or
+\def\SUF at thesubsection{\Roman{subsection}}
+\def\SUF at dotsubsec{.}
+\def\SUF at toclabelnum{\@Roman}
+\fi}
+\define at choicekey{}{subsubsecnumstyle}[\val\nr]
+{arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
+\ifcase\nr\relax
+\def\SUF at thesubsubsection{\arabic{subsubsection}}
+\def\SUF at dotsubsubsec{}
+\def\SUF at toclabelnum{}
+\or
+\def\SUF at thesubsubsection{\textsc{\roman{subsubsection}}}
+\def\SUF at dotsubsubsec{}
+\def\SUF at toclabelnum{\scshape\@roman}
+\or
+\def\SUF at thesubsubsection{\Roman{subsubsection}}
+\def\SUF at dotsubsubsec{}
+\def\SUF at toclabelnum{\@Roman}
+\or
+\def\SUF at thesubsubsection{\arabic{subsubsection}}
+\def\SUF at dotsubsubsec{.}
+\def\SUF at toclabelnum{}
+\or
+\def\SUF at thesubsubsection{\textsc{\roman{subsubsection}}}
+\def\SUF at dotsubsubsec{.}
+\def\SUF at toclabelnum{\scshape\@roman}
+\or
+\def\SUF at thesubsubsection{\Roman{subsubsection}}
+\def\SUF at dotsubsubsec{.}
+\def\SUF at toclabelnum{\@Roman}
+\fi}
 \define at choicekey{}{smallcapsstyle}[\val\nr]
     {low,upper}[low]{%
 \ifcase\nr\relax
@@ -517,6 +585,15 @@
   \def\suftesi at MakeTextLowercase{\relax}
   \def\suftesi at MakeTextTOCLowercase{\relax}
 \fi}
+\newcommand{\partfont}[1]{\def\SUF at PART@StyleSwitch{#1}}
+\newcommand{\chapfont}[1]{\def\SUF at CHAP@StyleSwitch{#1}}
+\newcommand{\secfont}[1]{\def\SUF at SEC@StyleSwitch{#1}}
+\newcommand{\subsecfont}[1]{\def\SUF at SUBSEC@StyleSwitch{#1}}
+\newcommand{\subsubsecfont}[1]{\def\SUF at SUBSUBSEC@StyleSwitch{#1}}
+\newcommand{\chapnumfont}[1]{\def\SUF at thechapter{#1}}
+\newcommand{\secnumfont}[1]{\def\SUF at thesection{#1}}
+\newcommand{\subsecnumfont}[1]{\def\SUF at thesubsection{#1}}
+\newcommand{\subsubsecnumfont}[1]{\def\SUF at thesubsubsection{#1}}
 \define at choicekey{}{headerstyle}[\val\nr]
     {inner,center,plain,authortitleinner,
      authortitlecenter}[inner]{%
@@ -1059,9 +1136,11 @@
   subsecfont=roman,
   subsubsecfont=roman,
   headerfont=roman,
-  secnumstyle=arabic,
   partnumstyle=Roman,
   chapnumstyle=arabic,
+  secnumstyle=arabic,
+  subsecnumstyle=arabic,
+  subsubsecnumstyle=arabic,
   smallcapsstyle=low,
   titlefont=italic,
   authorfont=roman,
@@ -1397,49 +1476,47 @@
 \def\SUF at default@SECTIONS{
 \ifsuftesi at numparsec
 \titleformat{\section}[display]
-  {\SUF at sectionsize\SUF at lr@SECSwitch}
-  {\ifsuftesi at article\SUF at thesection
-    \else\thesection\fi\SUF at dotsec}
-  {0ex}
-  {\SUF at SEC@StyleSwitch}
+{\SUF at sectionsize\SUF at lr@SECSwitch}
+{\SUF at thesection\SUF at dotsec}
+{0ex}
+{\SUF at SEC@StyleSwitch}
 \titlespacing*{\section}{0em}{\sectionsep}{\sectionsep}[0em]
 \else
 \titleformat{\section}[hang]
-  {\SUF at sectionsize\SUF at lr@SECSwitch}
-  {\ifsuftesi at article\SUF at thesection
-    \else\thesection\fi\SUF at dotsec}
-  {1em}
-  {\SUF at SEC@StyleSwitch}
+{\SUF at sectionsize\SUF at lr@SECSwitch}
+{\SUF at thesection\SUF at dotsec}
+{1em}
+{\SUF at SEC@StyleSwitch}
 \titlespacing*{\section}{0ex}{\sectionsep}{\sectionsep}[0ex]
 \fi
 \ifsuftesi at numparsubsec
 \titleformat{\subsection}[display]
-  {\SUF at subsectionsize\SUF at lr@SUBSECSwitch}
-  {\textnormal\thesubsection}
-  {0ex}
-  {\SUF at SUBSEC@StyleSwitch}
+{\SUF at subsectionsize\SUF at lr@SUBSECSwitch}
+{\textnormal\SUF at thesubsection\SUF at dotsubsec}
+{0ex}
+{\SUF at SUBSEC@StyleSwitch}
 \titlespacing*{\subsection}{0em}{\sectionsep}{\sectionsep}[0em]
 \else
 \titleformat{\subsection}[hang]
-  {\SUF at subsectionsize\SUF at lr@SUBSECSwitch}
-  {\textnormal\thesubsection}
-  {1em}
-  {\SUF at SUBSEC@StyleSwitch}
+{\SUF at subsectionsize\SUF at lr@SUBSECSwitch}
+{\textnormal\SUF at thesubsection\SUF at dotsubsec}
+{1em}
+{\SUF at SUBSEC@StyleSwitch}
 \titlespacing*{\subsection}{\parindent}{\sectionsep}{\sectionsep}[0ex]
 \fi
 \ifsuftesi at numparsubsubsec
 \titleformat{\subsubsection}[display]
-  {\SUF at subsectionsize\SUF at lr@SUBSUBSECSwitch}
-  {\textnormal\thesubsubsection}
-  {0ex}
-  {\SUF at SUBSUBSEC@StyleSwitch}
+{\SUF at subsectionsize\SUF at lr@SUBSUBSECSwitch}
+{\textnormal\SUF at thesubsubsection\SUF at dotsubsubsec}
+{0ex}
+{\SUF at SUBSUBSEC@StyleSwitch}
 \titlespacing*{\subsubsection}{0em}{\sectionsep}{\sectionsep}[0em]
 \else
 \titleformat{\subsubsection}[hang]
-  {\SUF at subsectionsize\SUF at lr@SUBSUBSECSwitch}
-  {\textnormal\thesubsubsection}
-  {1em}
-  {\SUF at SUBSUBSEC@StyleSwitch}
+{\SUF at subsectionsize\SUF at lr@SUBSUBSECSwitch}
+{\textnormal\SUF at thesubsubsection\SUF at dotsubsubsec}
+{1em}
+{\SUF at SUBSUBSEC@StyleSwitch}
 \titlespacing*{\subsubsection}{\parindent}{\sectionsep}{\sectionsep}[0ex]
   \fi
 }
@@ -2176,9 +2253,9 @@
   \renewcommand{\footnoterule}{}
 \def\SUF at versionstring{\texttt{\version at string{} \today}}
 \renewcommand{\chaptermark}[1]{%
-  \markboth{\chaptertitlename\ \protect\SUF at thechapter}{#1}}
+  \markboth{\chaptertitlename\ \protect\SUF at HEAD@thechapter}{#1}}
 \ifsuftesi at article
-  \renewcommand{\sectionmark}[1]{\markright{\protect\SUF at thesection.\ #1}}
+  \renewcommand{\sectionmark}[1]{\markright{\protect\SUF at HEAD@thesection.\ #1}}
     \else
   \renewcommand{\sectionmark}[1]{}
 \fi



More information about the tex-live-commits mailing list.