summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-12-06 22:32:52 +0000
committerKarl Berry <karl@freefriends.org>2024-12-06 22:32:52 +0000
commitb5bccecac12ba7eb39e52cd83992efc7d4d2dc66 (patch)
tree4924478b04ee32becdd1124372ca410d7b6e3871 /Master/texmf-dist
parent33b762e213c73d6c8a4f90c6bddc59943af81aea (diff)
suftesi (6dec24)
git-svn-id: svn://tug.org/texlive/trunk@73055 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/suftesi.pdfbin850667 -> 851951 bytes
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/templates.zipbin679693 -> 679693 bytes
-rw-r--r--Master/texmf-dist/source/latex/suftesi/suftesi.dtx105
-rw-r--r--Master/texmf-dist/tex/latex/suftesi/suftesi.cls15
4 files changed, 72 insertions, 48 deletions
diff --git a/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf b/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf
index b68b56f86d7..d4baa94aa5c 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 7ff487b578d..b3a486e24d7 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 77035c13faf..f022e7ed2d4 100644
--- a/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
+++ b/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
@@ -10,9 +10,10 @@ Copyright (C) 2009-2024 Ivan Valbusa
All rights reserved.
-This work may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either version 1.3
-of this license or (at your option) any later version.
+This work may be distributed and/or modified under
+the conditions of the LaTeX Project Public License,
+either version 1.3 of this license or (at your
+option) any later version.
The latest version of this license is in
http://www.latex-project.org/lppl.txt
and version 1.3 or later is part of all distributions of LaTeX
@@ -32,20 +33,22 @@ This work has the LPPL maintenance status "author-maintained".
\nopreamble\nopostamble
\file{suftesi.bib}{\from{suftesi.dtx}{bib}}}
-\Msg{***********************************************************}
+\Msg{*********************************************}
\Msg{*}
-\Msg{* To finish the installation you have to move the following}
-\Msg{* files into a directory searched by TeX:}
+\Msg{* To finish the installation you have to move
+\Msg{* the following files into a directory}
+\Msg{* searched by TeX:}
\Msg{*}
\Msg{* \space\space suftesi.cls}
\Msg{*}
\Msg{*}
-\Msg{* To produce the documentation on suftesi's code run}
-\Msg{* the file ending with `.dtx' through (pdf)LaTeX. See the}
+\Msg{* To produce the documentation on suftesi's}
+\Msg{* code run the file ending with `.dtx'}
+\Msg{* through pdfLaTeX. See the}
\Msg{* README file for more details.}
\Msg{*}
\Msg{* Happy TeXing}
-\Msg{***********************************************************}
+\Msg{*********************************************}}
\endgroup
%</internal>
% \fi
@@ -56,7 +59,7 @@ This work has the LPPL maintenance status "author-maintained".
%<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
%<class>\ProvidesClass{suftesi}
%<*class>
- [2024/12/04 v3.2.5 A class for typesetting theses, books and articles]
+ [2024/12/06 v3.2.6 A class for typesetting theses, books and articles]
%</class>
%<*driver>
\documentclass[12pt]{ltxdoc}
@@ -93,9 +96,10 @@ This work has the LPPL maintenance status "author-maintained".
% FONTS
%--------------------------------------------------------
\usepackage{cochineal}
-% To use the cochineal inside the document we have to define the family
-% because the .fd files of the font refer to conditionals
-% defined in 'cochineal.sty’:
+% To use the cochineal inside the document we have
+% to define the family because the .fd files of the
+% font refer to conditionals defined in
+% 'cochineal.sty’:
\DeclareFontFamily{T1}{Cochineal-LF}{}
\DeclareFontShape{T1}{Cochineal-LF}{m}{n}{
<-> s*[1.0] Cochineal-Roman-osf-t1}{}
@@ -125,10 +129,23 @@ This work has the LPPL maintenance status "author-maintained".
\usepackage[style=philosophy-classic]{biblatex}
\addbibresource{suftesi.bib}
\DeclareBibliographyCategory{pkgs-loaded}
-\addtocategory{pkgs-loaded}{appendix,caption,color,crop,enumitem,emptypage,
-fancyhdr,fixltxhyph,fontsize,mathalpha,libertinust1math,newtx,geometry,
-iftex,microtype,multicol,titlesec,titletoc,xkeyval,cclicenses,luatex85,lm,textcomp,newpx,biolinum,inconsolata,libertine,
-cochineal,mathpazo,bera,amsthm}
+\addtocategory{pkgs-loaded}{
+fixltxhyph,
+luatex85,
+appendix,caption,
+color,crop,enumitem,
+emptypage,fancyhdr,
+fontsize,mathalpha,
+libertinust1math,newtx,
+geometry,iftex,
+microtype,multicol,
+titlesec,titletoc,
+xkeyval,cclicenses,
+lm,textcomp,
+newpx,biolinum,
+inconsolata,libertine,
+cochineal,mathpazo,
+bera,amsthm}
\usepackage{array}
\usepackage{booktabs}
\usepackage{multirow}
@@ -196,17 +213,23 @@ cochineal,mathpazo,bera,amsthm}
\makeatother
\newcommand{\mygrpxsize}{12.5}
\def\latintxt{Aliquam auctor, pede consequat
- laoreet varius, eros tellus maris quam, pellentesque hendrerit.
+ laoreet varius, eros tellus maris quam,
+ pellentesque hendrerit.
Verecundia conditur.}
-\def\latintxtb{Morbi luctus, wisi viverra faucibus pretium,
- nihil est placerat pro cuius loquentis verba. Sed maleficium in quibusdam certum.}
-\def\greektxt{Πρῶτον εἰπεῖν περὶ τί καὶ τίνος ἐστὶν ἡ σκέψις, ὅτι περὶ
-ἀπόδειξιν καὶ ἐπιστήμης ἀποδεικτικῆς· εἶτα διορίσαι τί
-ἐστι πρότασις καὶ τί ὅρος καὶ τί συλλογισμός}
+\def\latintxtb{Morbi luctus, wisi viverra faucibus
+ pretium, nihil est placerat pro cuius loquentis
+ verba. Sed maleficium in quibusdam certum.}
+\def\greektxt{Πρῶτον εἰπεῖν περὶ τί καὶ τίνος ἐστὶν
+ ἡ σκέψις, ὅτι περὶ ἀπόδειξιν καὶ ἐπιστήμης
+ ἀποδεικτικῆς· εἶτα διορίσαι τί ἐστι πρότασις καὶ
+ τί ὅρος καὶ τί συλλογισμός}
\newcommand{\greekexample}[4]{%
- \noindent\textbf{#3}{ \fontfamily{#1}\selectfont\latintxt\ }%
+ \noindent\textbf{#3}%
+ {\fontfamily{#1}\selectfont\ \latintxt\ }%
{\fontfamily{#2}\fontsize{#4}{13}\selectfont%
- \textgreek{\greektxt}} {\fontfamily{#1}\selectfont\latintxtb}\par\vskip 6pt plus 1pt minus 1pt}
+ \textgreek{\greektxt}}
+ {\fontfamily{#1}\selectfont\latintxtb}\par
+ \vskip 6pt plus 1pt minus 1pt}
% --------------------------------------------------------
% LAYOUTS THUMBNAILS
% --------------------------------------------------------
@@ -337,24 +360,9 @@ cochineal,mathpazo,bera,amsthm}
%</driver>
% \fi
%
-% \CheckSum{5688}
-%
-% \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
-% Lower-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
-% Digits \0\1\2\3\4\5\6\7\8\9
-% Exclamation \! Double quote \" Hash (number) \#
-% Dollar \$ Percent \% Ampersand \&
-% Acute accent \' Left paren \( Right paren \)
-% Asterisk \* Plus \+ Comma \,
-% Minus \- Point \. Solidus \/
-% Colon \: Semicolon \; Less than \<
-% Equals \= Greater than \> Question mark \?
-% Commercial at \@ Left bracket \[ Backslash \\
-% Right bracket \] Circumflex \^ Underscore \_
-% Grave accent \` Left brace \{ Vertical bar \|
-% Right brace \} Tilde \~}
+% \CheckSum{5695}
%
+% \changes{v3.2.6}{2024/12/06}{New option \opt{loadfontsize} to temporarily fix a bug in calculation made by \sty{flontsize} when loaded by the class.}
% \changes{v3.2.5}{2024/12/04}{Removed \sty{zref} package and substituted with \sty{footnpag}.
% Now, with the \opt{fewfootnotes} option, if you have more than three footnotes per page,
% an error will be issued instead of a warning}
@@ -975,6 +983,13 @@ cochineal,mathpazo,bera,amsthm}
% If you want to set a specific value for \cmd{baselineskip}
% you have to use the \cmd{changefontsize}\oarm{baselineskip}\arm{fontsize} command.
%
+% \optitem[false]{loadfontsize}{\opt{true}\OR\opt{false}}
+% The previous option has limitations in calculating values.
+% It will be fixed, hopefully, in future versions.
+% This option disables it by default and gives full access to the \sty{fontsize} package.
+% If you have documents typeset with the previous option
+% you can reactivate it with \opt{loadfontsize=true}
+%
% \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}
@@ -2411,6 +2426,7 @@ cochineal,mathpazo,bera,amsthm}
\newif\ifsuftesi@ctocpar
\newif\ifsuftesi@ctocsubpar
\newif\ifsuftesi@FSPL
+\newif\ifsuftesi@loadfontsize
% \end{macrocode}
% The class is based on the standard \sty{book} class but the following options are disabled as they contrast with the layouts provided by the class. Specifically, the first five options are actually ineffective, while the \opt{landscape} option rotates the page correctly, but sets the text width according to the class options, effectively making it unusable.
% \begin{macrocode}
@@ -2433,10 +2449,13 @@ cochineal,mathpazo,bera,amsthm}
\ProcessOptions
\relax
\LoadClass{book}
-\RequirePackage{fontsize}
+\DeclareOptionX{loadfontsize}{\suftesi@loadfontsizetrue}
\DeclareOptionX{parindent}{\setlength{\parindent}{#1}}
\ExecuteOptionsX{parindent=\baselineskip}
\ProcessOptionsX*\relax
+\ifsuftesi@loadfontsize
+\RequirePackage{fontsize}
+\else\fi
% \end{macrocode}
% \subsection{Options setting}
% \subsubsection{Structure}
diff --git a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
index 9f2454663b0..0d1aad72110 100644
--- a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
+++ b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
@@ -12,9 +12,10 @@
%%
%% All rights reserved.
%%
-%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license or (at your option) any later version.
+%% This work may be distributed and/or modified under
+%% the conditions of the LaTeX Project Public License,
+%% either version 1.3 of this license or (at your
+%% option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
@@ -26,7 +27,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesClass{suftesi}
- [2024/12/04 v3.2.5 A class for typesetting theses, books and articles]
+ [2024/12/06 v3.2.6 A class for typesetting theses, books and articles]
\RequirePackage{xkeyval}
\newif\ifsuftesi@article
\newif\ifsuftesi@collection
@@ -74,6 +75,7 @@
\newif\ifsuftesi@ctocpar
\newif\ifsuftesi@ctocsubpar
\newif\ifsuftesi@FSPL
+\newif\ifsuftesi@loadfontsize
\DeclareOption{a4paper}{%
\ClassWarningNoLine{suftesi}{Option 'a4paper' not available}{}}
\DeclareOption{a5paper}{%
@@ -90,10 +92,13 @@
\ProcessOptions
\relax
\LoadClass{book}
-\RequirePackage{fontsize}
+\DeclareOptionX{loadfontsize}{\suftesi@loadfontsizetrue}
\DeclareOptionX{parindent}{\setlength{\parindent}{#1}}
\ExecuteOptionsX{parindent=\baselineskip}
\ProcessOptionsX*\relax
+\ifsuftesi@loadfontsize
+\RequirePackage{fontsize}
+\else\fi
\define@choicekey{}{structure}[\suftesi@val\suftesi@nr]
{book,article,collection}[book]{%
\ifcase\suftesi@nr\relax