summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/suftesi
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-30 21:37:28 +0000
committerKarl Berry <karl@freefriends.org>2016-03-30 21:37:28 +0000
commit0bc8296d7a83a654415b79381a444bbd874c1d84 (patch)
treec5a1ae74d1d3d947fba6b42676f6a5610730fa8c /Master/texmf-dist/source/latex/suftesi
parentbde396132d37d83313ea59a689ec79bd3bd0e4bd (diff)
suftesi (30mar16)
git-svn-id: svn://tug.org/texlive/trunk@40185 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/suftesi')
-rw-r--r--Master/texmf-dist/source/latex/suftesi/suftesi.dtx76
1 files changed, 39 insertions, 37 deletions
diff --git a/Master/texmf-dist/source/latex/suftesi/suftesi.dtx b/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
index 6ad449e778a..de6820b4a58 100644
--- a/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
+++ b/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
@@ -67,7 +67,7 @@
%<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
%<class>\ProvidesClass{suftesi}
%<*class>
- [2016/03/22 v2.7.1 A class for typesetting theses, books and articles]
+ [2016/03/30 v2.8 A class for typesetting theses, books and articles]
%</class>
%<*driver>
\documentclass{ltxdoc}
@@ -193,6 +193,7 @@
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
+% \changes{v2.8}{2016/03/30}{\sty{textcase} no longer loaded. Changed definitions of \cmd{suftesi@MakeTextLowercase}, \cmd{SUF@titlesmallcaps}, \cmd{headbreak}, \cmd{xheadbreak}.}
% \changes{v2.7.1}{2016/03/22}{Corrected a bug in v.2.7 (missing some \cmd{fi} commands).}
% \changes{v2.7}{2016/03/22}{New value \opt{cscreen} for \opt{version} option. Updated documentation. Removed value \opt{elements} for options:\opt{pagelayout}, \opt{headerstyle}, \opt{captionstyle}, \opt{chapstyle}, \opt{style}; \opt{sufelements} for option: \opt{style}. The \cmd{chapnumfont} command is no longer available.}
% \changes{v2.6}{2016/03/13}{New \opt{mathfont} option for non-standard fonts. New command \cmd{makecover} for printing the cover page. Updated documentation.}
@@ -313,7 +314,7 @@
%
% \section*{A brief history}\thispagestyle{empty}
%
-% The \sty{suftesi} class was born as a result of the course \emph{Introduzione a \LaTeX{} per le scienze umane} (\emph{Introduction to \LaTeX{} for the human sciences}) which I held at the Graduate School of Human Sciences and Philosophy (\textcolor{sufred}{\textbf{S}}cienze \textcolor{sufred}{\textbf{U}}mane e \textcolor{sufred}{\textbf{F}}ilosofia) of Verona University (Italy) in June 2010. Originally thought as a class to typeset theses, during these years it has developed many new features and styles. Finally it has become the referential class of the Joint Project \emph{Formal Style for PhD Theses with LaTeX} of the University of Verona.
+% The \sty{suftesi} class was born as a result of the course \emph{Introduzione a \LaTeX{} per le scienze umane} (\emph{Introduction to \LaTeX{} for the human sciences}) which I held at the Graduate School of Human Sciences and Philosophy (\textcolor{magenta}{\textbf{S}}cienze \textcolor{magenta}{\textbf{U}}mane e \textcolor{magenta}{\textbf{F}}ilosofia) of Verona University (Italy) in June 2010. Originally thought as a class to typeset theses, during these years it has developed many new features and styles. Finally it has become the referential class of the Joint Project \emph{Formal Style for PhD Theses with LaTeX} of the University of Verona.
%
% \section*{Acknowledgments}
%
@@ -355,7 +356,7 @@
%\toprule
%&\textrm{Global}&{caption}, {color}, {crop}, {enumitem}, {emptypage}, {extramarks},
%{fancyhdr}, {fixltxhyph}, {fontenc}, {geometry}, {iftex},
-%{microtype}, {multicol}, {textcase}, {titlesec}, {titletoc}, {xkeyval}\\\midrule
+%{microtype}, {multicol}, {titlesec}, {titletoc}, {xkeyval}\\\midrule
%&\textrm{pdf\LaTeX{} only}&substitutefont, fontenc\\\midrule
%defaultfont=&standard&lmodern\\
%
@@ -435,7 +436,7 @@
%The default roman font is Cochineal by Michael Sharpe,
%the sans serif font is Linux Biolinum O, 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 Sebastina 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) and four figure styles. Moreover it provides support for mathematics through the \sty{newtxmath} package.
%
-%The \opt{defaultfont} option allows you to can change the default roman font to New PX (Palatino), Linux Libertine O, or Latin modern.
+%The \opt{defaultfont} option allows you to can change the default roman font to New PX (Palatino-like), Linux Libertine O, or Latin modern.
%You can use other fonts as well, but in this case remember to load the \opt{defaultfont=none} option which turns off the default font settings (see section \ref{sec:options} for details).
%
%Another beautiful Garamond-like font, complete of real small caps, bold weight and mathematical support, is made available by the \sty{garamondx} package by Michael Sharpe, which provides an extension of the \sty{ugm} fonts, (URW)++ GaramondNo8. They are not distributed as part of \TeX Live, but they may be downloaded using the \texttt{getnonfreefonts} script. See the instructions for installation at
@@ -517,10 +518,10 @@
% \greekexample{LinuxLibertineT-OsF}{artemisia}{Libertine/Artemisia}{10}
% \greekexample{LinuxLibertineT-OsF}{porson}{Libertine/Porson}{10}
% \greekexample{LinuxLibertineT-OsF}{lmr}{Libertine/CB Greek}{10}
-% \greekexample{zplosf}{bodoni}{Palatino/Bodoni}{10}
-% \greekexample{zplosf}{artemisia}{Palatino/Artemisia}{10}
-% \greekexample{zplosf}{porson}{Palatino/Porson}{10}
-% \greekexample{zplosf}{lmr}{Palatino/CB Greek}{10.5}
+% \greekexample{zplosf}{bodoni}{New PX/Bodoni}{10}
+% \greekexample{zplosf}{artemisia}{New PX/Artemisia}{10}
+% \greekexample{zplosf}{porson}{New PX/Porson}{10}
+% \greekexample{zplosf}{lmr}{New PX/CB Greek}{10.5}
% \greekexample{lmr}{cbgreek}{Latin Modern/CB Greek}{10}
%
%
@@ -732,7 +733,7 @@
%
% \optitem[minimal]{mathfont}{\opt{none},\opt{minimal},\opt{extended}}
%
-% Available only with Cochineal, Libertine and Palatino default fonts.
+% Available only with Cochineal, Libertine and New PX default fonts.
% \begin{valuelist}
% \item[none] Do not load any mathematical support. Use this option if you need some packages that have to be loaded before \sty{newtxmath} and \sty{newpxmath}.
% \item[minimal] Loads \sty{newtxmath} (for Cochineal and Linux Libertine O) or \sty{newpxmath} (for PX Fonts).
@@ -2044,7 +2045,7 @@ dotarabic,dotroman,dotRoman}[arabic]{%
\define@choicekey{}{smallcapsstyle}[\val\nr]
{low,upper}[low]{%
\ifcase\nr\relax
- \def\suftesi@MakeTextLowercase{\MakeTextLowercase}
+ \def\suftesi@MakeTextLowercase{\lowercase}
\or
\def\suftesi@MakeTextLowercase{\relax}
\fi}
@@ -2413,6 +2414,7 @@ dotarabic,dotroman,dotRoman}[arabic]{%
\setkeys{}{
chapstyle=parcenter,
chapfont=italic,
+ tocchapfont=italic,
headerfont=italic}
\or
\setkeys{}{
@@ -2712,31 +2714,31 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent}
\RequirePackage{emptypage}
\RequirePackage{iftex}
\RequirePackage{microtype}
-\RequirePackage{textcase}
+%\RequirePackage{textcase}
% \end{macrocode}
% The \cmd{MakeTextLowercase} command provided by \sty{textcase} conflicts with \sty{hyperref} when the command is used to format the TOC entries (for example when unsing the \opt{tocchapfont=smallcaps} option). Thanks to the user \emph{skevin93} of the GuIT forum (www.guitex.org/home/it/forum) for this macro:
% \begin{macrocode}
-\AtBeginDocument{
- \@ifpackageloaded{hyperref}{%
- \def\@uclcnotmath#1#2#3#4{\begingroup #1%
- \def \({$}\let \)\(\def \NoCaseChange ##1{%
- \noexpand \NoCaseChange {\noexpand ##1}}%
- \def\hyper@linkstart##1##2##3{%
- $\valign$\noexpand\hyper@linkstart{##1}{##2}{%
- \noexpand\@skipmath #3
- ##3$\valign $}\noexpand\@skipmath}\def\hyper@linkend{%
- \noexpand\hyper@linkend}%
- \@nonchangecase \label
- \@nonchangecase \ref
- \@nonchangecase \ensuremath
- \def \cite ##1##{\toks@ {\noexpand \cite ##1}\@citex }%
- \def \@citex ##1{\NoCaseChange {\the \toks@ {##1}}}%
- \def \reserved@a ##1##2{\let #2\reserved@a }%
- \expandafter \reserved@a \@uclclist \reserved@b %
- {\reserved@b \@gobble }%
- \protected@edef \reserved@a {\endgroup\noexpand %
- \@skipmath #3#4$\valign $}%
- \reserved@a}}{}}
+%\AtBeginDocument{
+% \@ifpackageloaded{hyperref}{%
+% \def\@uclcnotmath#1#2#3#4{\begingroup #1%
+% \def \({$}\let \)\(\def \NoCaseChange ##1{%
+% \noexpand \NoCaseChange {\noexpand ##1}}%
+% \def\hyper@linkstart##1##2##3{%
+% $\valign$\noexpand\hyper@linkstart{##1}{##2}{%
+% \noexpand\@skipmath #3
+% ##3$\valign $}\noexpand\@skipmath}\def\hyper@linkend{%
+% \noexpand\hyper@linkend}%
+% \@nonchangecase \label
+% \@nonchangecase \ref
+% \@nonchangecase \ensuremath
+% \def \cite ##1##{\toks@ {\noexpand \cite ##1}\@citex }%
+% \def \@citex ##1{\NoCaseChange {\the \toks@ {##1}}}%
+% \def \reserved@a ##1##2{\let #2\reserved@a }%
+% \expandafter \reserved@a \@uclclist \reserved@b %
+% {\reserved@b \@gobble }%
+% \protected@edef \reserved@a {\endgroup\noexpand %
+% \@skipmath #3#4$\valign $}%
+% \reserved@a}}{}}
% \end{macrocode}
% The FSPL style requires a verbose colophon which uses specific icons:
% \begin{macrocode}
@@ -3054,9 +3056,9 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent}
\addfontfeature{LetterSpace=6}\scshape\suftesi@MakeTextLowercase{#1}}
\else% if pdftex
\DeclareRobustCommand{\SUF@titlesmallcaps}[1]{%
- \scshape\suftesi@MakeTextLowercase{\lsstyle #1}}%
+ \scshape\suftesi@MakeTextLowercase{\kern-0.1em\lsstyle#1}}%
\DeclareRobustCommand{\SUF@headingsmallcaps}[1]{%
- \scshape\suftesi@MakeTextLowercase{\lsstyle #1}}%
+ \scshape\suftesi@MakeTextLowercase{\kern-0.1em\lsstyle#1}}%
\fi
% \end{macrocode}
% Default styles:
@@ -3360,7 +3362,7 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent}
\ifx\@Ctitle\@empty
\else
- {\Huge\bfseries\color{\@Ctextcolor}\@Ctitle\\}
+ {\Huge\bfseries\color{\@Ctextcolor}\@Ctitle\\[1ex]}
\fi
\ifx\@Csubtitle\@empty
@@ -4704,13 +4706,13 @@ Janusz M. Nowacki.
% \begin{macrocode}
\newif\ifheadbreak\headbreakfalse
\DeclareRobustCommand{\headbreak}
- {\ifheadbreak\\\else\fi}
+ {\ifheadbreak\newline\else\fi}
% \end{macrocode}
% Active in the text but not in the table of contents.
% \begin{macrocode}
\newif\ifxheadbreak\xheadbreaktrue
\DeclareRobustCommand{\xheadbreak}
- {\ifxheadbreak\\\else\fi}
+ {\ifxheadbreak\newline\else\fi}
% \end{macrocode}
% \begin{macrocode}
\let\origtableofcontents\tableofcontents