diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-17 23:16:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-17 23:16:24 +0000 |
commit | de97f190228777ff166289a77d7cdcbf5f922d8f (patch) | |
tree | b9a7973220c9acb6fa5e0f05875b6717dc7ca3de /Master/texmf-dist/tex/latex/suftesi | |
parent | 7812e24da2d1464452478e207a0494d04ef01859 (diff) |
suftesi (17apr13)
git-svn-id: svn://tug.org/texlive/trunk@30000 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/suftesi')
-rw-r--r-- | Master/texmf-dist/tex/latex/suftesi/suftesi.cls | 53 |
1 files changed, 29 insertions, 24 deletions
diff --git a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls index b24f49e2c60..f3ee883e6db 100644 --- a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls +++ b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls @@ -19,8 +19,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesClass{suftesi} - [2013/03/22 v1.5 A class for typesetting theses, books and articles] - + [2013/04/17 v1.6 A class for typesetting theses, books and articles] \RequirePackage{xkeyval} @@ -55,6 +54,7 @@ \newif\ifsuftesi@partpage \newif\ifsuftesi@FSPL \newif\ifsuftesi@periodicalaureo +\newif\ifsuftesi@screen \DeclareOption{a5paper}{% \ClassError{suftesi}{Option 'a5paper' not available}} \DeclareOption{b5paper}{% @@ -79,7 +79,8 @@ \RequirePackage{geometry} \geometry{heightrounded} \define@choicekey{}{pagelayout}[\val\nr] - {standard,periodical,compact,supercompact,elements,periodicalaureo}[standard]{% + {standard,periodical,compact,supercompact,elements, + periodicalaureo}[standard]{% \ifcase\nr\relax \DeclareRobustCommand{\SUF@chaptersize}{\Large} \geometry{% @@ -147,9 +148,10 @@ textheight= 194mm, paperwidth= 17cm, paperheight= 24cm, - marginratio= 1:2, + marginratio= 2:3, marginparwidth= 62pt, marginparsep= 10pt} +\or \fi} \define@choicekey{}{partstyle}[\val\nr]{% left,center,right,parleft,parcenter,parright}[left]{% @@ -434,9 +436,9 @@ dotarabic,dotroman,dotRoman}[arabic]{% \define@choicekey{}{captionstyle}[\val\nr] {standard,elements}[standard]{% \ifcase\nr\relax - \captionsetup{labelsep=period,font=small,singlelinecheck=false} + \captionsetup{labelsep=period,font=small} \or - \captionsetup{labelsep=period,font=small,singlelinecheck=false} + \captionsetup{labelsep=period,font=small} \captionsetup{font+=sf} \fi } @@ -504,6 +506,14 @@ dotarabic,dotroman,dotRoman}[arabic]{% \suftesi@draftdatetrue \or \fi} +\define@choicekey{}{viewmode}[\val\nr] + {screen,print}[print]{% +\ifcase\nr\relax + \suftesi@nocroptrue + \@twosidefalse + \newcommand*\crop[1][]{} +\or +\fi} \define@choicekey{}{titlepage}[\val\nr] {true,false}[true]{% \ifcase\nr\relax @@ -687,12 +697,7 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} \XKV@useoption{a5paper} \XKV@useoption{b5paper} \XKV@useoption{legalpaper}\XKV@useoption{executivepaper} \XKV@useoption{landscape} -\RequirePackage{expl3,l3regex} -\ExplSyntaxOn -\AtEndOfClass{ -\regex_replace_all:nnN { style \s* = [^,]*? , } { , } \XKV@classoptionslist -} -\ExplSyntaxOff +\def\XKV@classoptionslist{} \RequirePackage{color} \definecolor{sufred}{rgb}{0.5,0,0} \definecolor{sufgray}{rgb}{0.5,0.5,0.5} @@ -1879,22 +1884,22 @@ Non si pu\`o alterare o trasformare quest'opera, n\'e usarla per crearne un'altr \ifsuftesi@article \renewcommand\tableofcontents{% \vspace{2ex}% - \section*{\contentsname% - \@mkboth{\contentsname}{\contentsname}}% + \section*{\contentsname}% + \@mkboth{\contentsname}{\contentsname}% \thispagestyle{empty} \@starttoc{toc}% \vspace{2ex}% } \renewcommand\listoffigures{% - \section*{\listfigurename% - \@mkboth{\listfigurename}{\listfigurename}}% + \section*{\listfigurename}% + \@mkboth{\listfigurename}{\listfigurename}% \thispagestyle{empty} \@starttoc{lof}% \vspace{2ex}% } \renewcommand\listoftables{% - \section*{\listtablename% - \@mkboth{\listtablename}{\listtablename}}% + \section*{\listtablename}% + \@mkboth{\listtablename}{\listtablename}% \thispagestyle{empty} \@starttoc{lot}% \vspace{2ex}% @@ -1906,10 +1911,10 @@ Non si pu\`o alterare o trasformare quest'opera, n\'e usarla per crearne un'altr \else \@restonecolfalse \fi - \chapter*{\contentsname% + \chapter*{\contentsname}% \@mkboth{% \contentsname} - {\contentsname}}% + {\contentsname}% \thispagestyle{empty} \@starttoc{toc}% \if@restonecol\twocolumn\fi @@ -1920,9 +1925,9 @@ Non si pu\`o alterare o trasformare quest'opera, n\'e usarla per crearne un'altr \else \@restonecolfalse \fi - \chapter*{\listfigurename% + \chapter*{\listfigurename}% \@mkboth{\listfigurename}% - {\listfigurename}}% + {\listfigurename}% \thispagestyle{empty} \@starttoc{lof}% \if@restonecol\twocolumn\fi @@ -1933,10 +1938,10 @@ Non si pu\`o alterare o trasformare quest'opera, n\'e usarla per crearne un'altr \else \@restonecolfalse \fi - \chapter*{\listtablename% + \chapter*{\listtablename}% \@mkboth{% \listtablename}% - {\listtablename}}% + {\listtablename}% \thispagestyle{empty} \@starttoc{lot}% \if@restonecol\twocolumn\fi |