diff options
author | Norbert Preining <norbert@preining.info> | 2023-09-08 03:02:30 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-09-08 03:02:30 +0000 |
commit | 608e422a8e775ac4d1c23c80b4170776701680d5 (patch) | |
tree | d1e69057c0dc339fb0f890882f5fef9fe3b3a66f /macros/latex/contrib/suftesi/suftesi.dtx | |
parent | 96f1d7a9e9fe6e682cbd19d1bf2b7797891160b6 (diff) |
CTAN sync 202309080302
Diffstat (limited to 'macros/latex/contrib/suftesi/suftesi.dtx')
-rw-r--r-- | macros/latex/contrib/suftesi/suftesi.dtx | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/macros/latex/contrib/suftesi/suftesi.dtx b/macros/latex/contrib/suftesi/suftesi.dtx index 3898fbeaba..a9a76bfce1 100644 --- a/macros/latex/contrib/suftesi/suftesi.dtx +++ b/macros/latex/contrib/suftesi/suftesi.dtx @@ -5,7 +5,7 @@ \preamble The 'suftesi' document class -Copyright (C) 2009-2021 Ivan Valbusa +Copyright (C) 2009-2023 Ivan Valbusa <ivan dot valbusa at gmail dot com> All rights reserved. @@ -56,7 +56,7 @@ This work has the LPPL maintenance status "author-maintained". %<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01] %<class>\ProvidesClass{suftesi} %<*class> - [2021/11/01 v3.2.0 A class for typesetting theses, books and articles] + [2023/09/07 v3.2.1 A class for typesetting theses, books and articles] %</class> %<*driver> \documentclass[12pt]{ltxdoc} @@ -127,8 +127,7 @@ This work has the LPPL maintenance status "author-maintained". \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, -substitutefont,luatex85,lm,textcomp,newpx,biolinum,inconsolata,libertine, +iftex,microtype,multicol,titlesec,titletoc,xkeyval,cclicenses,luatex85,lm,textcomp,newpx,biolinum,inconsolata,libertine, cochineal,mathpazo,bera,amsthm} \usepackage{array} \usepackage{booktabs} @@ -356,8 +355,9 @@ cochineal,mathpazo,bera,amsthm} % Grave accent \` Left brace \{ Vertical bar \| % Right brace \} Tilde \~} % +% \changes{v3.2.1}{2023/09/07}{Removed \sty{substitutefont} package (obsolete) and replaced \cmd{substitutefont} with \cmd{DeclareFontFamilySubstitution} provided by the \LaTeX\ kernel. Definitions of \texttt{sufred} and \texttt{sufgray} color moved \cmd{AtBeginDocument}.} % \changes{v3.2.0}{2021/11/01}{Fixed a bug in \cmd{xfootnote} command. -% Fixed a bug occurring when using the \cmd{geometry} 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. @@ -463,7 +463,7 @@ cochineal,mathpazo,bera,amsthm} % \DoNotIndex{\titlepage,\vss,\vtop,\xdef,\@gobbletwo,\color,\dimexpr} % \DoNotIndex{\huge,\large,\makebox,\ProcessOptions,\renewcommand} % -%\nocite{appendix,caption,color,crop,enumitem,emptypage,fancyhdr,fixltxhyph,fontsize,mathalpha,libertinust1math,newtx,geometry,iftex,microtype,multicol,titlesec,titletoc,xkeyval,cclicenses,substitutefont,luatex85,lm,textcomp,newpx,biolinum,inconsolata,libertine,cochineal,mathpazo,bera,amsthm,zref,etoolbox} +%\nocite{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,zref,etoolbox} % % \thispagestyle{empty} % @@ -621,7 +621,7 @@ cochineal,mathpazo,bera,amsthm} % microtype, multicol, titlesec, titletoc, % xkeyval, cclicenses*, zref** \\ % \midrule -% & \textrm{\hologo{pdfLaTeX} only} & fontenc, substitutefont \\ +% & \textrm{\hologo{pdfLaTeX} only} & fontenc \\ % \midrule % & \textrm{\hologo{LuaLaTeX} only} & luatex85 \\ % \midrule @@ -3789,8 +3789,10 @@ cochineal,mathpazo,bera,amsthm} \RequirePackage{emptypage} \RequirePackage{microtype} \RequirePackage{color} +\AtBeginDocument{ \definecolor{sufred}{rgb}{0.5,0,0} \definecolor{sufgray}{rgb}{0.5,0.5,0.5} +} \RequirePackage{iftex} \ifLuaTeX \RequirePackage{luatex85} @@ -3841,7 +3843,6 @@ cochineal,mathpazo,bera,amsthm} ************************************}}} \else \RequirePackage[LGR,T1]{fontenc} -\RequirePackage{substitutefont} \AtBeginDocument{\fontencoding{T1}\selectfont} % \end{macrocode} % Now we load the macros for the \sty{defaultfont} option. @@ -4030,7 +4031,7 @@ cochineal,mathpazo,bera,amsthm} %The following macro was created by Claudio Beccari. Some time later, Massimiliano Dominici suggested the use of \cmd{AtEndPreamble} instead of \cmd{AtBeginDocument}, to make the \env{otherlanguage} environment work.\label{page:atendpreamble} % \begin{macrocode} \AtEndPreamble{ - \substitutefont{LGR}{\rmdefault}{\SUF@greekfamily} + \DeclareFontFamilySubstitution{LGR}{\rmdefault}{\SUF@greekfamily} \DeclareRobustCommand{\greektext}{% \usefont{LGR}{\SUF@greekfamily}{\f@series}{\f@shape} \def\encodingdefault{LGR}} @@ -6522,16 +6523,6 @@ Janusz M.~Nowacki. version = {1.627} } -@manual{substitutefont, - title = {The \textsf{\MakeLowercase{Substitutefont}} package}, - subtitle = {Easy font substitution}, - author = {Milde, Günter}, - url = {http://www.ctan.org/pkg/substitutefont}, - urldate = {2020-05-24}, - date = {2013-11-04}, - version = {0.1.4} -} - @manual{textcomp, title = {The \textsf{\MakeLowercase{Textcomp}} package}, subtitle = {\LaTeX\ support for the Text Companion fonts}, |