From a2c8654f8955a0d35c8b0c2d1752a506a426681b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 3 Dec 2011 16:42:02 +0000 Subject: suftesi (17nov11) git-svn-id: svn://tug.org/texlive/trunk@24737 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/suftesi/example/tesi.pdf | Bin 334493 -> 324657 bytes .../texmf-dist/doc/latex/suftesi/example/tesi.tex | 2 +- Master/texmf-dist/doc/latex/suftesi/suftesi.pdf | Bin 391161 -> 391088 bytes Master/texmf-dist/doc/latex/suftesi/suftesi.tex | 13 +++--- Master/texmf-dist/tex/latex/suftesi/suftesi.cls | 47 ++++++++++----------- Master/tlpkg/libexec/ctan2tds | 1 + 6 files changed, 31 insertions(+), 32 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/suftesi/example/tesi.pdf b/Master/texmf-dist/doc/latex/suftesi/example/tesi.pdf index 9b8f46b4e1c..ef63892f8f3 100644 Binary files a/Master/texmf-dist/doc/latex/suftesi/example/tesi.pdf and b/Master/texmf-dist/doc/latex/suftesi/example/tesi.pdf differ 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 index 21a76236ea8..bc78c0957dc 100644 Binary files a/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf and b/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf differ 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} diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 9326340a09e..96888e6936d 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -2116,6 +2116,7 @@ $standardclean = '\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot' 'pkfix-helper' => 'pkfix-helper.pdf', 'purifyeps' => 'purifyeps.pdf', 'revtex' => '00readme.tex|DOWNLOAD|README', # already in doc + 'suftesi' => 'example/MaterialeInizialeFinale/.DS_Store', 'tufte-latex' => $standardclean . '|.tds.zip$', 'wsuipa' => $standardclean . '|.*pk$', # premade pk files ); -- cgit v1.2.3