summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/suftesi
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-03-10 22:27:35 +0000
committerKarl Berry <karl@freefriends.org>2013-03-10 22:27:35 +0000
commit2b46f54da2f55e9244638b6cb630a53ae805cd94 (patch)
treeb41e4facaf3d7d5dfffc2e89ec1972a2d8c86726 /Master/texmf-dist/tex/latex/suftesi
parentbb00029ab0d04cfffed940c6bedc7de20b46e8a8 (diff)
suftesi (10mar13)
git-svn-id: svn://tug.org/texlive/trunk@29330 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/suftesi')
-rw-r--r--Master/texmf-dist/tex/latex/suftesi/suftesi.cls93
1 files changed, 78 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
index e04d1ebab21..3c64676c990 100644
--- a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
+++ b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
@@ -19,7 +19,8 @@
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesClass{suftesi}
- [2012/10/24 v1.2 A class for typesetting theses, books and articles]
+ [2013/03/05 v1.3 A class for typesetting theses, books and articles]
+
\RequirePackage{xkeyval}
@@ -52,6 +53,7 @@
\newif\ifsuftesi@draftdate
\newif\ifsuftesi@fewfootnotes
\newif\ifsuftesi@partpage
+\newif\ifsuftesi@FSPL
\DeclareOption{a5paper}{%
\ClassError{suftesi}{Option 'a5paper' not available}}
\DeclareOption{b5paper}{%
@@ -502,7 +504,7 @@ dotarabic,dotroman,dotRoman}[arabic]{%
italic7,italic8,italic9,italic10,italic11,italic12,
smallcaps1,smallcaps2,smallcaps3,smallcaps4,smallcaps5,smallcaps6,
smallcaps7,smallcaps8,smallcaps9,smallcaps10,smallcaps11,smallcaps12,
- elements,sufelements}
+ elements,sufelements,FSPLa,FSPLb,FSPLc}
[roman1]{%
\ifcase\nr\relax
\setkeys{}{chapstyle=left}
@@ -582,6 +584,36 @@ dotarabic,dotroman,dotRoman}[arabic]{%
subsecfont=italic}
\disable@keys{}
{headerstyle,chapstyle,secfont,subsecfont}
+\or
+ \suftesi@FSPLtrue
+ \setkeys{}{%
+ pagelayout=periodical,
+ style=roman1,
+ footnotestyle=superscript,
+ liststyle=indented,
+ tocstyle=ragged}
+\or
+ \suftesi@FSPLtrue
+ \setkeys{}{%
+ pagelayout=periodical,
+ style=italic5,
+ headerstyle=center,
+ chapnumstyle=roman,
+ secstyle=center,
+ quotestyle=right,
+ footnotestyle=hung,
+ liststyle=indented,
+ tocstyle=dotted}
+\or
+ \suftesi@FSPLtrue
+ \setkeys{}{%
+ pagelayout=periodical,
+ style=smallcaps5,
+ secfont=smallcaps,
+ headerstyle=center,
+ footnotestyle=dotted,
+ liststyle=indented,
+ tocstyle=leftpage}
\fi}
\ExecuteOptionsX<>{
captionstyle=standard,
@@ -627,6 +659,10 @@ dotarabic,dotroman,dotRoman}[arabic]{%
\RequirePackage{emptypage}
\RequirePackage{textcase}
\RequirePackage{ifxetex}
+\ifsuftesi@FSPL
+ \RequirePackage{cclicenses}
+ \else
+\fi
\ifxetex
\relax
\else
@@ -1279,7 +1315,7 @@ dotarabic,dotroman,dotRoman}[arabic]{%
\setcounter{chapter}{0}%
\setcounter{section}{0}%
\gdef\@chapapp{\appendixname}%
- \gdef\thechapter{\@Alph\c@chapter}}
+ \gdef\SUF@thechapter{\@Alph\c@chapter}}
\fi
\fi
\RequirePackage{fancyhdr}
@@ -1383,24 +1419,20 @@ dotarabic,dotroman,dotRoman}[arabic]{%
{\endlist}
\let\oldfootnote\footnote
\ifsuftesi@fewfootnotes
-\def\@fnsymbol#1{\ensuremath{\ifcase#1
- \or * \or ** \or *** \or\ClassError{suftesi}
+\AtBeginDocument{
+\def\@fnsymbol#1{\ensuremath{\ifcase#1\or*\or{*}{*}\or{*}{*}{*}\or%
+ \ClassError{suftesi}%
{Too many footnotes\MessageBreak
Remove the class option 'fewfootnote'}
{Too many footnotes\MessageBreak
Remove the class option 'fewfootnote'}
- \else\@ctrerr\fi}}
-\renewcommand{\footnote}[1]{%
- \begingroup
- \@addtoreset{footnote}{page}
- \renewcommand\thefootnote{\fnsymbol{footnote}}\oldfootnote{#1}
- \endgroup}
+ \else\@ctrerr\fi}}}
+\def\thefootnote{\@fnsymbol\c@footnote}%
\else\fi
\newcommand{\xfootnote}[2]{%
\begingroup
- \addtocounter{footnote}{-1}
- \@addtoreset{footnote}{page}
- \renewcommand\thefootnote{\ensuremath{#1}}\oldfootnote{#2}
+ \addtocounter{footnote}{-1}%
+ \def\thefootnote{#1}\oldfootnote{#2}%
\endgroup}
\def\SUF@mpsetup{%
\ifsuftesi@elementsheader\relax
@@ -1476,11 +1508,42 @@ dotarabic,dotroman,dotRoman}[arabic]{%
\end{minipage}
\end{center}
\vspace*{\stretch{6}}}
+\newcommand{\FSPLcolophon}[1][\the\year]{%
+\begingroup
+\thispagestyle{empty}
+\small
+\null\vspace{\stretch{2}}
+\noindent Copyright \copyright{} #1 \@author%
+
+\null\vspace{\stretch{1}}
+
+\noindent Quest'opera \`e stata prodotta nell'ambito del
+Joint Project \emph{Formal Style for PhD Theses with \LaTeX{}} dell'Universit\`a degli studi di Verona.
+\medskip
+
+\noindent Viene rilasciata con licenza Creative Commons Attribuzione - Non commerciale - Non opere derivate 3.0 Italia. Per leggere una copia della licenza visita il sito web
+\begin{center}
+\texttt{http://creativecommons.org/licenses/by-nc-nd/3.0/it/}.
+\end{center}
+ o spedisci una lettera a Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
+\bigskip
+
+Si \`e liberi di riprodurre, distribuire, comunicare al pubblico, esporre, in pubblico, rappresentare, eseguire e recitare quest'opera alle seguenti condizioni:
+\begin{description}
+\item[\ccby Attribuzione]
+Devi attribuire la paternit\`a dell'opera nei modi indicati dall'autore o da chi ti ha dato l'opera in licenza e in modo tale da non suggerire che essi avallino te o il modo in cui tu usi l'opera;
+\item[\ccnc Non commerciale]
+Non si pu\`o usare quest'opera per fini commerciali;
+\item[\cc Non opere derivate]
+Non si pu\`o alterare o trasformare quest'opera, n\'e usarla per crearne un'altra.
+\end{description}
+\endgroup
+\clearpage}
\RequirePackage{titletoc}
\newlength\SUF@label@chapter
\setlength\SUF@label@chapter{.5em}
\newcommand*{\toclabelspace}[1]{\setlength\SUF@label@chapter{#1}}
-\newcommand*{\toclabelwidth}[1]{\setlength\SUF@label@chapter{#1}}
+\let\toclabelwidth\toclabelspace
\newlength{\SUF@tochang}
\setlength{\SUF@tochang}{3em}
\AtBeginDocument{