diff options
author | Karl Berry <karl@freefriends.org> | 2011-12-03 16:42:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-12-03 16:42:02 +0000 |
commit | a2c8654f8955a0d35c8b0c2d1752a506a426681b (patch) | |
tree | 803817158e29f1caeb96dce8328468214ebedca4 /Master/texmf-dist | |
parent | 0a958302e42be9e7a4c0521ac5d6f93b003bd602 (diff) |
suftesi (17nov11)
git-svn-id: svn://tug.org/texlive/trunk@24737 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/suftesi/example/tesi.pdf | bin | 334493 -> 324657 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/suftesi/example/tesi.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/suftesi/suftesi.pdf | bin | 391161 -> 391088 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/suftesi/suftesi.tex | 13 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/suftesi/suftesi.cls | 47 |
5 files changed, 30 insertions, 32 deletions
diff --git a/Master/texmf-dist/doc/latex/suftesi/example/tesi.pdf b/Master/texmf-dist/doc/latex/suftesi/example/tesi.pdf Binary files differindex 9b8f46b4e1c..ef63892f8f3 100644 --- a/Master/texmf-dist/doc/latex/suftesi/example/tesi.pdf +++ b/Master/texmf-dist/doc/latex/suftesi/example/tesi.pdf diff --git a/Master/texmf-dist/doc/latex/suftesi/example/tesi.tex b/Master/texmf-dist/doc/latex/suftesi/example/tesi.tex index 60ce1613116..9bc76cb4c38 100644 --- a/Master/texmf-dist/doc/latex/suftesi/example/tesi.tex +++ b/Master/texmf-dist/doc/latex/suftesi/example/tesi.tex @@ -45,7 +45,7 @@ \usepackage[suftesi]{frontespizio}% % Cross refereces \usepackage{hyperref}% needed to use the \chapterintro command -\hypersetup{colorlinks=true,citecolor=blue,draft=false} +\hypersetup{colorlinks=true,citecolor=blue,draft=true} \author{The author} \title{The title} diff --git a/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf b/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf Binary files differindex 21a76236ea8..bc78c0957dc 100644 --- a/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf +++ b/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf diff --git a/Master/texmf-dist/doc/latex/suftesi/suftesi.tex b/Master/texmf-dist/doc/latex/suftesi/suftesi.tex index 8aa1f715775..56b1338659d 100644 --- a/Master/texmf-dist/doc/latex/suftesi/suftesi.tex +++ b/Master/texmf-dist/doc/latex/suftesi/suftesi.tex @@ -7,7 +7,6 @@ \usepackage[polutonikogreek,italian,english]{babel} \usepackage[babel,italian=guillemets]{csquotes} \usepackage[% - backend=biber, style=philosophy-classic, library=true, natbib=true, @@ -34,7 +33,7 @@ pdfkeywords={thesis, humanities, books}, citecolor=spot} %****************************************************************** -\rcsid{$Id: suftesi.tex,v 0.6b 2011/11/07 17:00:00 valbusa beta $} +\rcsid{$Id: suftesi.tex,v 0.6c 2011/11/16 17:00:00 valbusa beta $} \titlepage{% title= {User's Guide to \sty{suftesi}}, subtitle={A document class for typesetting theses, books and articles}, @@ -391,10 +390,7 @@ A manual break which is active in the text and in the headings but not in the ta \cmditem{chapnumfont}{name} -Sets the font for the chapter number with the \opt{sufelements} option. The default is ``\texttt{pplj}'' (\LaTeX) or ``Palatino'' (\XeLaTeX). If you like to use the text body font declare: -\begin{ltxcode} -\chapnumfont{} -\end{ltxcode} +Sets the font for the chapter number with the \opt{sufelements} option. The default is ``\texttt{pplj}'' (\LaTeX) or ``Palatino'' (\XeLaTeX). \cmditem{hemph}{testo} @@ -409,6 +405,11 @@ dell'\hemph{encyclopædia} \begin{changelog} +\begin{release}{0.6c}{2011-11-16} +\item Corrected some bugs +\item Updated documentation +\end{release} + \begin{release}{0.6b}{2011-11-07} \item Improved full compatibility with \XeLaTeX \item \sty{varioref} and \sty{footmisc} packages are no longer loaded diff --git a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls index 0c971346cfb..762451e4feb 100644 --- a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls +++ b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls @@ -14,7 +14,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesClass{suftesi} - [2011/11/07 v. 0.6b + [2011/11/16 v. 0.6c A class for typesetting theses, books and articles] %**************************************** % declare options @@ -238,15 +238,27 @@ % SECTION TITLES %**************************************** \RequirePackage{titlesec} -\DeclareRobustCommand{\suftesi@smallcaps}[1]{% - \ifxetex - \addfontfeature{LetterSpace=6}\MakeTextLowercase{\textsc{#1}} - \else - \textls{\MakeTextLowercase{\textsc{#1}}} - \fi - }% + \DeclareRobustCommand{\sufchaptersize}{% \ifsuftesi@supercompact\large\else\ifsuftesi@compact\Large\else\LARGE\fi\fi} +\ifxetex + \DeclareRobustCommand{\suftesi@smallcaps}[1]{% + \addfontfeature{LetterSpace=6}\scshape\MakeTextLowercase{#1}} + \DeclareRobustCommand{\sectitle}[1]{% + \addfontfeature{LetterSpace=6}\scshape\MakeTextUppercase{#1}}% + \newcommand{\chapnumfont}[1]{% + \def\@chapnumfont{\fontspec{#1}}} + \chapnumfont{Palatino} +\else + \DeclareRobustCommand{\suftesi@smallcaps}[1]{% + \scshape\lsstyle\MakeTextLowercase{#1}}% + \DeclareRobustCommand{\sectitle}[1]{% + \textls[110]{\MakeTextUppercase{#1}}}% + \newcommand{\chapnumfont}[1]{% + \def\@chapnumfont{\fontfamily{#1}}} + \chapnumfont{pplj} +\fi + \ifsuftesi@article% article mode \renewcommand \thesection {\@arabic\c@section} \renewcommand\thesubsection {\thesection.\@arabic\c@subsection} @@ -316,29 +328,13 @@ \titlespacing*{\chapter}{0em}{6ex}{18ex} \fi \fi -% Elements -\newcommand{\chapnumfont}[1]{% - \ifxetex - \def\@chapnumfont{#1} - \else - \def\@chapnumfont{\fontfamily{#1}} - \fi} -\newcommand{\xechapnumfont}{\chapnumfont} - -\xechapnumfont{Palatino} -\chapnumfont{pplj} -\DeclareRobustCommand{\sectitle}[1]{\textls{\MakeUppercase{#1}}}% - +% sufelements \ifsuftesi@sufelements \titleformat{\chapter}[block] {\vskip-22pt}% {\begin{picture}(0,0) \setlength{\unitlength}{1pt} - \ifxetex - \fontspec{\@chapnumfont}% - \else \@chapnumfont - \fi \ifsuftesi@elements \fontsize{65}{65}\selectfont \else @@ -354,6 +350,7 @@ [\rule{\textwidth}{.4pt}] \titlespacing*{\chapter}{0em}{10pt}{10pt}[0em] \else\fi +% elements \ifsuftesi@elements \titleformat{\section}[hang] {\raggedright} |