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 | |
parent | f74dcee34dd73e7bc5e394c7dcb4d81b185d0a30 (diff) |
suftesi
git-svn-id: svn://tug.org/texlive/trunk@60991 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/suftesi/suftesi.pdf | bin | 847637 -> 848184 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/suftesi/templates.zip | bin | 679707 -> 679707 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/suftesi/suftesi.dtx | 57 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/suftesi/suftesi.cls | 24 |
4 files changed, 52 insertions, 29 deletions
diff --git a/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf b/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf Binary files differindex ec961c454b3..6fcd730d427 100644 --- a/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf +++ b/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf diff --git a/Master/texmf-dist/doc/latex/suftesi/templates.zip b/Master/texmf-dist/doc/latex/suftesi/templates.zip Binary files differindex ce4f41a4ec3..7b538812034 100644 --- a/Master/texmf-dist/doc/latex/suftesi/templates.zip +++ b/Master/texmf-dist/doc/latex/suftesi/templates.zip diff --git a/Master/texmf-dist/source/latex/suftesi/suftesi.dtx b/Master/texmf-dist/source/latex/suftesi/suftesi.dtx index 02fec48f520..3898fbeaba5 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/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] %</class> %<*driver> \documentclass[12pt]{ltxdoc} @@ -248,7 +248,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 (\sufgetlength[cm]{2}{\expaperwidth} $\times$ \sufgetlength[cm]{2}{\expaperheight})\par}}; + \node at (\expaperwidth,-4) (caption) {\parbox{3cm}{\centering\footnotesize\texttt{#2}\par (\sufgetlength[cm]{2}{\expaperwidth} $\times$ \sufgetlength[cm]{2}{\expaperheight})\par}}; \end{tikzpicture}} % -------------------------------------------------------- % OTHER THUMBNAILS @@ -338,7 +338,7 @@ cochineal,mathpazo,bera,amsthm} %</driver> % \fi % -% \CheckSum{5686} +% \CheckSum{5685} % % \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 @@ -356,6 +356,8 @@ cochineal,mathpazo,bera,amsthm} % Grave accent \` Left brace \{ Vertical bar \| % Right brace \} Tilde \~} % +% \changes{v3.2.0}{2021/11/01}{Fixed a bug in \cmd{xfootnote} command. +% Fixed a bug occurring when using the \cmd{geometry} command.} % \changes{v3.1.3}{2021/06/06}{Maintenance release. % Moved commands for breaking titles after \opt{titletoc} settings. % Corrected a bug in \cmd{maketitle} with the \opt{collection} structure. @@ -485,7 +487,7 @@ cochineal,mathpazo,bera,amsthm} % on the basis of Sebastian Kosch's Crimson. % The \texttt{typewriter} font is Inconsolata, % designed by Raph Levien and the \textsf{sans serif} text -% is typeset in Linux Biolinum, created by Philipp H.~Pol. +% is typeset in Linux Biolinum, created by Philipp H.~Poll. %\end{minipage} % % \vfill @@ -912,7 +914,7 @@ cochineal,mathpazo,bera,amsthm} % The default roman font is Cochineal by Michael Sharpe, % the sans serif font is Linux Biolinum, designed by Philipp H. % Poll,\index{Poll, Philipp H.} and the typewriter face is Inconsolata -% by Michael Sharpe. Cochineal is a fork of Crimson, by Sebastian Kosch, +% by Raph Levien. Cochineal is a fork of Crimson, by Sebastian Kosch, % a font inspired by masterpieces like Sabon (Jan Tschichold) and Minion % (Robert Slimbach). It is a very complete typeface and it offers full % support for Greek and Cyrillic, real small caps (even in italic shape) @@ -960,15 +962,19 @@ cochineal,mathpazo,bera,amsthm} % % \optitem[10\OR 10pt]{fontsize}{\meta{dimen}} % Sets the main font sizes for the document, changing the \cmd{baselineskip} -% accordingly. This option is based on the \sty{fontsize} package \parencite{fontsize}. The \meta{fontsize} can be given in any unit recognized +% accordingly. This option is based on the \sty{fontsize} package \parencite{fontsize}. +% The \meta{fontsize} can be given in any unit recognized % by TeX (for example: \opt{6mm}, \opt{1ex}, \opt{11.5pt}). % If the unit is not declared it defaults to \texttt{pt}. % If you want to set a specific value for \cmd{baselineskip} % you have to use the \cmd{changefontsize}\oarm{baselineskip}\arm{fontsize} command. % % \optitem[low]{smallcapsstyle}{\opt{low}\OR\opt{upper}} -% Effective only with \opt{\meta{level}font=smallcaps} and \opt{toc\meta{level}font=smallcaps} options (see sections \ref{sec:titles} and \ref{sec:toc}). -% With \hologo{XeLaTeX} or \hologo{LuaLaTeX} this option is effective only if a font selection command (such as \cmd{setmainfont}) is given. +% Effective only with \opt{\meta{level}font=smallcaps} and +% \opt{toc\meta{level}font=smallcaps} options (see sections \ref{sec:titles} +% and \ref{sec:toc}). +% With \hologo{XeLaTeX} or \hologo{LuaLaTeX} this option is effective only if a font +% selection command (such as \cmd{setmainfont}) is given. % \begin{valuelist} % \item[low] Prints lowercase spaced \textsc{\lsstyle small capitals}. % \item[upper] Prints spaced \textsc{\lsstyle Small Capitals} with uppercase initials. @@ -1593,8 +1599,7 @@ cochineal,mathpazo,bera,amsthm} % \scriptsize\@thefnmark.\hskip.5em}% %}\hfill %\fakefootnote{\renewcommand\@makefntext{% -% \textsuperscript{\scriptsize\@thefnmark}\hskip.3em} -%} +% \raisebox{3pt}{\scriptsize\@thefnmark}\hskip.3em}\vspace*{5pt}} %\makeatother %\caption{The four styles for the footnotes: \opt{bulged}, \opt{hung}, \opt{dotted}, \opt{superscript}}\label{fig:fakefootnote} %\end{figure} @@ -1656,7 +1661,7 @@ cochineal,mathpazo,bera,amsthm} % \changes{v0.9b}{2012/09/23}{New command \cmd{xfootnote}} % % Aa command to print a footnote with a discretionary -% symbols given in the optional argument (default:\texttt{*}). +% symbols given in the optional argument (default:~\texttt{*}). % It does not increment the footnote counter. % % \cmditem{marginpar}{text} @@ -5334,10 +5339,6 @@ cochineal,mathpazo,bera,amsthm} \else \let\SUF@versionof\relax \fi -\AtBeginDocument{% - \pagestyle{fancy} - \renewcommand{\headrulewidth}{0pt} - \renewcommand{\footnoterule}{}} % \end{macrocode} % \paragraph{The \opt{default} headers} % In previous versions \cmd{SUF@HEAD@thechapter} and @@ -5384,9 +5385,24 @@ cochineal,mathpazo,bera,amsthm} \fi \def\SUF@leftrightmark{% \if@mainmatter\leftmark\else\rightmark\fi} -\pagestyle{sufdefault} - \ifsuftesi@centerheader\pagestyle{centerheader}\else\fi - \ifsuftesi@sufplain\pagestyle{sufplain}\else\fi +% \end{macrocode} +% The \cmd{geometry} command gives the expected result +% only if used \textit{before} the page style assignment. +% So this must be declared at the beginning of the document: +% \begin{macrocode} +\AtBeginDocument{% + \renewcommand{\headrulewidth}{0pt} + \renewcommand{\footnoterule}{} + \ifsuftesi@centerheader + \pagestyle{centerheader} + \else + \ifsuftesi@sufplain + \pagestyle{sufplain} + \else + \pagestyle{sufdefault} + \fi + \fi +} % \end{macrocode} % \subsection{Notes and quotations} % \paragraph{Block Quotations} @@ -5441,10 +5457,11 @@ cochineal,mathpazo,bera,amsthm} \fi % \end{macrocode} % \paragraph{The \cmd{xfootnote} command} Prints a footnote with discretionary -% symbol give in the first argument. +% symbol give in the first argument. Since version 1.3.4 \cmd{protected@xdef} +% replaces \cmd{xdef}. % \begin{macrocode} \newcommand*\xfootnote[1][*]{% - \xdef\@thefnmark{#1}% + \protected@xdef\@thefnmark{#1}% \@footnotemark\@footnotetext} % \end{macrocode} % \paragraph{Marginal notes} 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 |