summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-06 22:33:09 +0000
committerKarl Berry <karl@freefriends.org>2021-02-06 22:33:09 +0000
commite6119b5b2af85612fd941633865938611a67b69e (patch)
tree601925235ee0e2c5a8ff27521ff394d77e6f7616 /Master
parent92e358816d81f23b2ff53fb04a1029b39482adb8 (diff)
suftesi (6feb21)
git-svn-id: svn://tug.org/texlive/trunk@57650 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/README2
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/suftesi.pdfbin794737 -> 795474 bytes
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/templates.zipbin681673 -> 681673 bytes
-rw-r--r--Master/texmf-dist/source/latex/suftesi/suftesi.dtx74
-rw-r--r--Master/texmf-dist/tex/latex/suftesi/suftesi.cls26
5 files changed, 59 insertions, 43 deletions
diff --git a/Master/texmf-dist/doc/latex/suftesi/README b/Master/texmf-dist/doc/latex/suftesi/README
index a4211d840e5..a12471ce934 100644
--- a/Master/texmf-dist/doc/latex/suftesi/README
+++ b/Master/texmf-dist/doc/latex/suftesi/README
@@ -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
diff --git a/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf b/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf
index 3ed3266a57a..d6486c3ec7a 100644
--- a/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf
+++ b/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/suftesi/templates.zip b/Master/texmf-dist/doc/latex/suftesi/templates.zip
index 17ac609f814..6c2117f225b 100644
--- a/Master/texmf-dist/doc/latex/suftesi/templates.zip
+++ b/Master/texmf-dist/doc/latex/suftesi/templates.zip
Binary files differ
diff --git a/Master/texmf-dist/source/latex/suftesi/suftesi.dtx b/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
index 250432db6b2..e9c37111119 100644
--- a/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
+++ b/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
@@ -56,7 +56,7 @@ This work has the LPPL maintenance status "author-maintained".
%<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 @@ This work has the LPPL maintenance status "author-maintained".
\usepackage[cochineal,bigdelims,cmintegrals,vvarbb]{newtxmath}
\usepackage[cal=boondoxo]{mathalpha}
\usepackage{manfnt}
-\usepackage{lettrine}
%--------------------------------------------------------
% LAYOUT
%--------------------------------------------------------
@@ -145,7 +144,14 @@ cochineal,mathpazo,bera,amsthm}
\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 @@ cochineal,mathpazo,bera,amsthm}
% 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 @@ cochineal,mathpazo,bera,amsthm}
\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 @@ cochineal,mathpazo,bera,amsthm}
%</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 @@ cochineal,mathpazo,bera,amsthm}
% 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 @@ cochineal,mathpazo,bera,amsthm}
%\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 @@ cochineal,mathpazo,bera,amsthm}
%
% ^^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,22 +2391,40 @@ cochineal,mathpazo,bera,amsthm}
\suftesi@numparsectrue
\fi}
\define@choicekey{}{subsecstyle}[\val\nr]
- {left,center,right}[left]{%
+ {left,center,right,parleft,parcenter,parright}[left]{%
\ifcase\nr\relax
\def\SUF@lr@SUBSECSwitch{\filright}
\or
\def\SUF@lr@SUBSECSwitch{\filcenter}
\or
\def\SUF@lr@SUBSECSwitch{\filleft}
+\or%numparsubsec
+\def\SUF@lr@SUBSECSwitch{\filright}
+\suftesi@numparsubsectrue
+\or
+\def\SUF@lr@SUBSECSwitch{\filcenter}
+\suftesi@numparsubsectrue
+\or
+\def\SUF@lr@SUBSECSwitch{\filleft}
+\suftesi@numparsubsectrue
\fi}
\define@choicekey{}{subsubsecstyle}[\val\nr]
- {left,center,right}[left]{%
+ {left,center,right,parleft,parcenter,parright}[left]{%
\ifcase\nr\relax
\def\SUF@lr@SUBSUBSECSwitch{\filright}
\or
\def\SUF@lr@SUBSUBSECSwitch{\filcenter}
\or
\def\SUF@lr@SUBSUBSECSwitch{\filleft}
+\or%numparsubsubsec
+\def\SUF@lr@SUBSUBSECSwitch{\filright}
+\suftesi@numparsubsubsectrue
+\or
+\def\SUF@lr@SUBSUBSECSwitch{\filcenter}
+\suftesi@numparsubsubsectrue
+\or
+\def\SUF@lr@SUBSUBSECSwitch{\filleft}
+\suftesi@numparsubsubsectrue
\fi}
% \end{macrocode}
% \subsubsection{Sections font}
@@ -3838,6 +3832,7 @@ cochineal,mathpazo,bera,amsthm}
{\SUF@lr@PARTSwitch\SUF@partsize
\interlinepenalty \@M
\ifnum \c@secnumdepth >-2\relax
+ \addvspace{4ex}
\noindent\partname\hskip.5em{\SUF@PART@font\SUF@thepart}\SUF@dotpart
\ifsuftesi@numparpart
\par
@@ -3851,6 +3846,7 @@ cochineal,mathpazo,bera,amsthm}
\def\@spart#1{%
{\SUF@lr@PARTSwitch\SUF@partsize
\interlinepenalty \@M
+ \addvspace{4ex}
\noindent\SUF@PART@StyleSwitch#1\par}%
\@endpart}
diff --git a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
index 28bd0912393..9a4109fd3ce 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/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@compatibility
\newif\ifsuftesi@nofont
@@ -405,22 +405,40 @@
\suftesi@numparsectrue
\fi}
\define@choicekey{}{subsecstyle}[\val\nr]
- {left,center,right}[left]{%
+ {left,center,right,parleft,parcenter,parright}[left]{%
\ifcase\nr\relax
\def\SUF@lr@SUBSECSwitch{\filright}
\or
\def\SUF@lr@SUBSECSwitch{\filcenter}
\or
\def\SUF@lr@SUBSECSwitch{\filleft}
+\or%numparsubsec
+\def\SUF@lr@SUBSECSwitch{\filright}
+\suftesi@numparsubsectrue
+\or
+\def\SUF@lr@SUBSECSwitch{\filcenter}
+\suftesi@numparsubsectrue
+\or
+\def\SUF@lr@SUBSECSwitch{\filleft}
+\suftesi@numparsubsectrue
\fi}
\define@choicekey{}{subsubsecstyle}[\val\nr]
- {left,center,right}[left]{%
+ {left,center,right,parleft,parcenter,parright}[left]{%
\ifcase\nr\relax
\def\SUF@lr@SUBSUBSECSwitch{\filright}
\or
\def\SUF@lr@SUBSUBSECSwitch{\filcenter}
\or
\def\SUF@lr@SUBSUBSECSwitch{\filleft}
+\or%numparsubsubsec
+\def\SUF@lr@SUBSUBSECSwitch{\filright}
+\suftesi@numparsubsubsectrue
+\or
+\def\SUF@lr@SUBSUBSECSwitch{\filcenter}
+\suftesi@numparsubsubsectrue
+\or
+\def\SUF@lr@SUBSUBSECSwitch{\filleft}
+\suftesi@numparsubsubsectrue
\fi}
\define@choicekey{}{partfont}[\val\nr]
{roman,italic,smallcaps}[roman]{%
@@ -1678,6 +1696,7 @@
{\SUF@lr@PARTSwitch\SUF@partsize
\interlinepenalty \@M
\ifnum \c@secnumdepth >-2\relax
+ \addvspace{4ex}
\noindent\partname\hskip.5em{\SUF@PART@font\SUF@thepart}\SUF@dotpart
\ifsuftesi@numparpart
\par
@@ -1691,6 +1710,7 @@
\def\@spart#1{%
{\SUF@lr@PARTSwitch\SUF@partsize
\interlinepenalty \@M
+ \addvspace{4ex}
\noindent\SUF@PART@StyleSwitch#1\par}%
\@endpart}