summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/suftesi
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-09-19 20:46:27 +0000
committerKarl Berry <karl@freefriends.org>2015-09-19 20:46:27 +0000
commit9e4aee570f598acd87a543dded2cee65faf4a994 (patch)
treec7f87c87c32d47b13b19febecd8b3bc83160010a /Master/texmf-dist/tex/latex/suftesi
parent281750fb8dba664cd4b7e2ae4da626a83bc79d73 (diff)
suftesi (19sep15)
git-svn-id: svn://tug.org/texlive/trunk@38409 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/suftesi')
-rw-r--r--Master/texmf-dist/tex/latex/suftesi/suftesi.cls43
1 files changed, 30 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
index 01d82e76195..245076d2c02 100644
--- a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
+++ b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
@@ -19,7 +19,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesClass{suftesi}
- [2015/09/10 v2.2 A class for typesetting theses, books and articles]
+ [2015/09/19 v2.3 A class for typesetting theses, books and articles]
\ClassWarningNoLine{suftesi}{%
******************************************\MessageBreak
* DO NOT MODIFY THE STYLES OF THIS CLASS\MessageBreak
@@ -330,7 +330,7 @@
\or
\def\SUF@tocCHAP@font{\itshape}
\or
-\def\SUF@tocCHAP@font{\expandafter\SUF@tocsmallcaps}
+\def\SUF@tocCHAP@font{\expandafter\SUF@titlesmallcaps}
\fi}
\define@choicekey{}{tocsecfont}[\val\nr]{roman,italic,smallcaps}[italic]{%
\ifcase\nr\relax
@@ -338,7 +338,7 @@
\or
\def\SUF@tocSEC@font{\itshape}
\or
-\def\SUF@tocSEC@font{\expandafter\SUF@tocsmallcaps}
+\def\SUF@tocSEC@font{\expandafter\SUF@titlesmallcaps}
\fi}
\define@choicekey{}{tocsubsecfont}[\val\nr]{roman,italic,smallcaps}[roman]{%
\ifcase\nr\relax
@@ -346,7 +346,7 @@
\or
\def\SUF@tocSUBSEC@font{\itshape}
\or
-\def\SUF@tocSUBSEC@font{\expandafter\SUF@tocsmallcaps}
+\def\SUF@tocSUBSEC@font{\expandafter\SUF@titlesmallcaps}
\fi}
\define@choicekey{}{tocsubsubsecfont}[\val\nr]{roman,italic,smallcaps}[roman]{%
\ifcase\nr\relax
@@ -354,7 +354,7 @@
\or
\def\SUF@tocSUBSUBSEC@font{\itshape}
\or
-\def\SUF@tocSUBSUBSEC@font{\expandafter\SUF@tocsmallcaps}
+\def\SUF@tocSUBSUBSEC@font{\expandafter\SUF@titlesmallcaps}
\fi}
\define@choicekey{}{partnumstyle}[\val\nr]
{arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
@@ -1012,13 +1012,29 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent}
\definecolor{sufgray}{rgb}{0.5,0.5,0.5}
\RequirePackage{multicol}
\RequirePackage{emptypage}
-\RequirePackage{textcase}
\RequirePackage{ifxetex}
\RequirePackage{ifluatex}
\RequirePackage{ifthen}
\RequirePackage{microtype}
-\newcommand{\versionstring}[1]{\def\version@string{#1}}
-\versionstring{Version of}
+\RequirePackage{textcase}
+ \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}}{}}
\ifsuftesi@FSPL
\RequirePackage{cclicenses}
\else
@@ -1122,8 +1138,6 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent}
\setlength{\sectionsep}{\dimexpr(\baselineskip) plus 1pt minus 1pt}
\ifthenelse{\boolean{xetex}\or\boolean{luatex}}
{% if xetex or luatex
- \DeclareRobustCommand{\SUF@tocsmallcaps}[1]{%
- \addfontfeature{LetterSpace=6}\scshape #1}
\DeclareRobustCommand{\SUF@titlesmallcaps}[1]{%
\addfontfeature{LetterSpace=6}\scshape\suftesi@MakeTextLowercase{#1}}
\DeclareRobustCommand{\SUF@headingsmallcaps}[1]{%
@@ -1133,8 +1147,6 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent}
\chapnumfont{\relax}%
}
{% if pdftex
- \DeclareRobustCommand{\SUF@tocsmallcaps}[1]{%
- \scshape\lsstyle #1}%
\DeclareRobustCommand{\SUF@titlesmallcaps}[1]{%
\scshape\suftesi@MakeTextLowercase{\lsstyle #1}}%
\DeclareRobustCommand{\SUF@headingsmallcaps}[1]{%
@@ -1943,6 +1955,8 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent}
\fi
\fi
\RequirePackage{fancyhdr}
+\newcommand{\versionstring}[1]{\def\version@string{#1}}
+ \versionstring{Version of}
\AtBeginDocument{%
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}
@@ -2679,7 +2693,10 @@ Janusz M. Nowacki.
\renewcommand\frontmatter{\cleardoublepage\@mainmatterfalse}
\renewcommand\mainmatter{\cleardoublepage\@mainmattertrue}
\fi
-\AtBeginDocument{\RequirePackage{fixltxhyph}}
+\@ifpackageloaded{babel}
+ {\AtBeginDocument{\RequirePackage{fixltxhyph}}}{}
+\@ifpackageloaded{polyglossia}
+ {\AtBeginDocument{\RequirePackage{fixltxhyph}}}{}
\let\hemph\emph
\ifthenelse{\boolean{xetex}\or\boolean{luatex}}
{\let\@afterindenttrue\@afterindentfalse}