texlive[57650] Master/texmf-dist: suftesi (6feb21)

commits+karl at tug.org commits+karl at tug.org
Sat Feb 6 23:33:09 CET 2021


Revision: 57650
          http://tug.org/svn/texlive?view=revision&revision=57650
Author:   karl
Date:     2021-02-06 23:33:09 +0100 (Sat, 06 Feb 2021)
Log Message:
-----------
suftesi (6feb21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/suftesi/README
    trunk/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf
    trunk/Master/texmf-dist/doc/latex/suftesi/templates.zip
    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/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/suftesi/README	2021-02-06 22:32:56 UTC (rev 57649)
+++ trunk/Master/texmf-dist/doc/latex/suftesi/README	2021-02-06 22:33:09 UTC (rev 57650)
@@ -1,7 +1,7 @@
 -----------------------------------------------------------------------
 The 'suftesi' class for LaTeX
 Author: Ivan Valbusa
-        ivan dot valbusa at univr dot it
+        ivan dot valbusa at gmail dot com
 
 This work has the LPPL maintenance status "author-maintained".
 This work may be distributed and/or modified under the

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

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

Modified: trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx	2021-02-06 22:32:56 UTC (rev 57649)
+++ trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx	2021-02-06 22:33:09 UTC (rev 57650)
@@ -56,7 +56,7 @@
 %<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
 %<class>\ProvidesClass{suftesi}
 %<*class>
-    [2021/01/27 v3.0.1 A class for typesetting theses, books and articles]
+    [2021/02/06 v3.0.2 A class for typesetting theses, books and articles]
 %</class>
 %<*driver>
 \documentclass[12pt]{ltxdoc}
@@ -102,7 +102,6 @@
 \usepackage[cochineal,bigdelims,cmintegrals,vvarbb]{newtxmath}
 \usepackage[cal=boondoxo]{mathalpha}
 \usepackage{manfnt}
-\usepackage{lettrine}
 %--------------------------------------------------------
 % LAYOUT
 %--------------------------------------------------------
@@ -145,7 +144,14 @@
 \DeclareRobustCommand*{\arm}[1]{\ar{\meta{\argstyle#1}}}
 \DeclareRobustCommand*{\oarm}[1]{\oar{\meta{\argstyle#1}}}
 \newcommand*{\OR}{${}\mid{}$}
-\newcommand{\alert}[1][]{\lettrine[#1]{\normalsize\textdbend}{\hskip.4em}}
+\makeatletter
+\newlength\CLett
+\newcommand*\alert{
+ \par\noindent
+ \setbox\z@\hbox{\textdbend}\CLett=\wd\z@%
+ \raisebox{-1.05\baselineskip}[0pt][0pt]{%
+  \llap{\box\z@\kern6pt}}} 
+\makeatother
 % New environments
 \newenvironment{ttquote}{%
   \begin{mdframed}\ttfamily\microtypesetup{activate=false}}{\end{mdframed}}
@@ -204,7 +210,7 @@
 % LAYOUTS THUMBNAILS
 % --------------------------------------------------------
 \usepackage{xfp}
-\NewExpandableDocumentCommand{\getlength}{O{pt}mm}{%
+\NewExpandableDocumentCommand{\sufgetlength}{O{pt}mm}{%
   % #1 (optional, default pt), #2 = length
   \fpeval{round((#3)/(1#1),#2)}}
 \newlength{\expaperwidth}
@@ -240,7 +246,7 @@
   \draw[draw=gray!10,thick] (\expaperwidth,0) -- (\expaperwidth,\expaperheight);
   \draw[xshift=\exxshift,body] (0,0) rectangle (\extextwidth,\extextheight);
   \draw[xshift=\exzshift,body] (0,0) rectangle (\extextwidth,\extextheight);
-  \node at (\expaperwidth,-4) (caption) {\parbox{2.5cm}{\centering\footnotesize\texttt{#2}\par (\getlength[cm]{2}{\expaperwidth} $\times$ \getlength[cm]{2}{\expaperheight})\par}};
+  \node at (\expaperwidth,-4) (caption) {\parbox{2.5cm}{\centering\footnotesize\texttt{#2}\par (\sufgetlength[cm]{2}{\expaperwidth} $\times$ \sufgetlength[cm]{2}{\expaperheight})\par}};
   \end{tikzpicture}}
 % --------------------------------------------------------
 % HYPERREF SETUP
@@ -271,7 +277,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{5348}
+% \CheckSum{5380}
 %
 % \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
@@ -289,6 +295,7 @@
 %   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %   Right brace   \}     Tilde         \~}
 %
+% \changes{v3.0.2}{2021/02/06}{Improved \opt{subsecstyle} and \opt{subsubsecstyle} options.}
 % \changes{v3.0.1}{2021/01/27}{Maintenance release.}
 % \changes{v3.0}{2021/01/24}{Improved \sty{biblatex} support. Updated documentation.}
 % \changes{v2.9.9b (2.9.11)}{2020/12/21}{New page layouts: \opt{pocketa}, \opt{pocketb}, \opt{pocketc}. New commands \cmd{breakinbody}, \cmd{breakinbodyleft}, \cmd{breakintoc} (old names: \cmd{headbreak} and \cmd{xheadbreak}). Changed definitions of \cmd{appendixpagename}, \cmd{appendixtocname} and \cmd{appendixname} commands (default: english). The \cmd{part} command has been completely redefined. Updated documentation.}
@@ -991,10 +998,6 @@
 %\end{verbatim}
 % \end{latexcode}
 %
-% ^^A\subsection{Title page}
-% 
-% ^^A The class provides a very simple title page through the \cmd{maketitle} command. A large collection of stylish title pages is provided by the \sty{titlepages} package by Peter Wilson. This package is part of  the \sty{memoir} documentation but you can copy the code examples and adapt them to work with \sty{suftesi} with quite simple changes.
-%
 % ^^A ----------------------------------------------------------------
 % ^^A
 %        \subsection{Appendices}
@@ -1928,33 +1931,6 @@
 %
 % ^^A ----------------------------------------------------------------
 % ^^A
-% ^^A         \section{Known issues}
-% ^^A
-% ^^A ----------------------------------------------------------------
-% ^^A 
-% ^^A  A problem occurs with the \opt{article} document structure. The \cmd{part} command resets the headers so if it is the first sectioning command of the page you will get no headers in that page. In this case you have to add the header manually with something like this:
-% ^^A  \begin{latexcode}
-% ^^A \begin{verbatim}
-% ^^A \markboth{Section title}{Section title}
-% ^^A \part{The title of the part}
-% ^^A 
-% ^^A \section{Section title}
-% ^^A \end{verbatim}
-% ^^A  \end{latexcode}
-% ^^A  If the title of the part is at the beginning of the page you will need the \sty{afterpage} package \parencite{afterpage} and the \cmd{afterpage} command:
-% ^^A  \begin{latexcode}
-% ^^A \begin{verbatim}
-% ^^A \afterpage{
-% ^^A  \markboth{Section title}{Section title}
-% ^^A    \part{The title of the part}
-% ^^A   }
-% ^^A 
-% ^^A  \section{Section title}
-% ^^A \end{verbatim}
-% ^^A  \end{latexcode}
-%
-% ^^A ----------------------------------------------------------------
-% ^^A
 %        \section{Backward compatibility}
 % ^^A
 % ^^A ----------------------------------------------------------------
@@ -2415,7 +2391,7 @@
   \suftesi at numparsectrue
 \fi}
 \define at choicekey{}{subsecstyle}[\val\nr]
-    {left,center,right}[left]{%
+    {left,center,right,parleft,parcenter,parright}[left]{%
 \ifcase\nr\relax
   \def\SUF at lr@SUBSECSwitch{\filright}
 \or
@@ -2422,9 +2398,18 @@
   \def\SUF at lr@SUBSECSwitch{\filcenter}
 \or
   \def\SUF at lr@SUBSECSwitch{\filleft}
+\or%numparsubsec
+\def\SUF at lr@SUBSECSwitch{\filright}
+\suftesi at numparsubsectrue
+\or
+\def\SUF at lr@SUBSECSwitch{\filcenter}
+\suftesi at numparsubsectrue
+\or
+\def\SUF at lr@SUBSECSwitch{\filleft}
+\suftesi at numparsubsectrue
 \fi}
 \define at choicekey{}{subsubsecstyle}[\val\nr]
-    {left,center,right}[left]{%
+    {left,center,right,parleft,parcenter,parright}[left]{%
 \ifcase\nr\relax
   \def\SUF at lr@SUBSUBSECSwitch{\filright}
 \or
@@ -2431,6 +2416,15 @@
   \def\SUF at lr@SUBSUBSECSwitch{\filcenter}
 \or
   \def\SUF at lr@SUBSUBSECSwitch{\filleft}
+\or%numparsubsubsec
+\def\SUF at lr@SUBSUBSECSwitch{\filright}
+\suftesi at numparsubsubsectrue
+\or
+\def\SUF at lr@SUBSUBSECSwitch{\filcenter}
+\suftesi at numparsubsubsectrue
+\or
+\def\SUF at lr@SUBSUBSECSwitch{\filleft}
+\suftesi at numparsubsubsectrue
 \fi}
 %    \end{macrocode}
 % \subsubsection{Sections font}
@@ -3838,6 +3832,7 @@
   {\SUF at lr@PARTSwitch\SUF at partsize
     \interlinepenalty \@M
     \ifnum \c at secnumdepth >-2\relax
+    \addvspace{4ex}   
     \noindent\partname\hskip.5em{\SUF at PART@font\SUF at thepart}\SUF at dotpart
     \ifsuftesi at numparpart
     \par
@@ -3851,6 +3846,7 @@
 \def\@spart#1{%
   {\SUF at lr@PARTSwitch\SUF at partsize
     \interlinepenalty \@M
+    \addvspace{4ex}   
     \noindent\SUF at PART@StyleSwitch#1\par}%
   \@endpart}
 

Modified: trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls	2021-02-06 22:32:56 UTC (rev 57649)
+++ trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls	2021-02-06 22:33:09 UTC (rev 57650)
@@ -26,7 +26,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2005/12/01]
 \ProvidesClass{suftesi}
-    [2021/01/27 v3.0.1 A class for typesetting theses, books and articles]
+    [2021/02/06 v3.0.2 A class for typesetting theses, books and articles]
 \RequirePackage{xkeyval}
 \newif\ifsuftesi at compatibility
 \newif\ifsuftesi at nofont
@@ -405,7 +405,7 @@
   \suftesi at numparsectrue
 \fi}
 \define at choicekey{}{subsecstyle}[\val\nr]
-    {left,center,right}[left]{%
+    {left,center,right,parleft,parcenter,parright}[left]{%
 \ifcase\nr\relax
   \def\SUF at lr@SUBSECSwitch{\filright}
 \or
@@ -412,9 +412,18 @@
   \def\SUF at lr@SUBSECSwitch{\filcenter}
 \or
   \def\SUF at lr@SUBSECSwitch{\filleft}
+\or%numparsubsec
+\def\SUF at lr@SUBSECSwitch{\filright}
+\suftesi at numparsubsectrue
+\or
+\def\SUF at lr@SUBSECSwitch{\filcenter}
+\suftesi at numparsubsectrue
+\or
+\def\SUF at lr@SUBSECSwitch{\filleft}
+\suftesi at numparsubsectrue
 \fi}
 \define at choicekey{}{subsubsecstyle}[\val\nr]
-    {left,center,right}[left]{%
+    {left,center,right,parleft,parcenter,parright}[left]{%
 \ifcase\nr\relax
   \def\SUF at lr@SUBSUBSECSwitch{\filright}
 \or
@@ -421,6 +430,15 @@
   \def\SUF at lr@SUBSUBSECSwitch{\filcenter}
 \or
   \def\SUF at lr@SUBSUBSECSwitch{\filleft}
+\or%numparsubsubsec
+\def\SUF at lr@SUBSUBSECSwitch{\filright}
+\suftesi at numparsubsubsectrue
+\or
+\def\SUF at lr@SUBSUBSECSwitch{\filcenter}
+\suftesi at numparsubsubsectrue
+\or
+\def\SUF at lr@SUBSUBSECSwitch{\filleft}
+\suftesi at numparsubsubsectrue
 \fi}
 \define at choicekey{}{partfont}[\val\nr]
     {roman,italic,smallcaps}[roman]{%
@@ -1678,6 +1696,7 @@
   {\SUF at lr@PARTSwitch\SUF at partsize
     \interlinepenalty \@M
     \ifnum \c at secnumdepth >-2\relax
+    \addvspace{4ex}
     \noindent\partname\hskip.5em{\SUF at PART@font\SUF at thepart}\SUF at dotpart
     \ifsuftesi at numparpart
     \par
@@ -1691,6 +1710,7 @@
 \def\@spart#1{%
   {\SUF at lr@PARTSwitch\SUF at partsize
     \interlinepenalty \@M
+    \addvspace{4ex}
     \noindent\SUF at PART@StyleSwitch#1\par}%
   \@endpart}
 



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