%% %% This is file `trieste.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% toptesi.dtx (with options: `toptrst') %% ______________________________________________________ %% The TOPtesi package %% Copyright (C) 2010 Claudio Beccari %% All rights reserved %% %% License information appended %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{trieste}% [2008/12/15 v.5.00 specific options for classical thesis typesetting] \def\StileTrieste{classica} \newif\if@utoretitolo \@utoretitolofalse \newif\if@ldstyle \@ldstylefalse \DeclareOption{autoretitolo}{\@utoretitolotrue} \DeclareOption{oldstyle}{\@ldstyletrue} \ProcessOptions \def\Candidato{Laureando} \def\Candidata{Laureanda} \def\Candidati{Laureandi} \def\Candidate{Laureande} \newcounter{tomo} \newcommand*{\tomo}{\clearpage\stepcounter{tomo}\frontespizio} \renewcommand*{\lapagina}{% \ifnumeriromani \thepage \else \if@ldstyle \expandafter\oldstylenums\expandafter{\thepage}% \else \thepage \fi \fi } \if@utoretitolo \if@twoside \renewcommand*{\ps@headings}{\let\@mkboth\markboth% \def\@oddfoot{\null \hfill \textbf{\lapagina} \hfill \null}% \let\@evenfoot\@oddfoot \def\@evenhead{% \setbox\@intesta\hbox{\latintext \footnotesize\strut\textsc{% \@author\ifx\@secondauthor\empty\else\ et al.\fi: \@stitle}% }% \ifdim\wd\@intesta>\textwidth\headwrn{\titolo}\fi \underline{\makebox[\textwidth]{\box\@intesta}}}% \def\@oddhead{\latintext \setbox\@intesta\hbox{% \footnotesize\strut\textsl{\rightmark}}% \ifdim\wd\@intesta>\textwidth \headWarn{\section}\fi% \underline{\makebox[\textwidth]{\box\@intesta}}}% \def\chaptermark##1{\markright{\thechapter\ -- ##1}{}}% \def\sectionmark##1{}}% \else \renewcommand*{\ps@headings}{\let\@mkboth\markboth \def\@oddfoot{\null \hfill \textbf{\lapagina}\hfill \null}% \let\@evenfoot\empty\let\@evenhead\empty \def\@oddhead{{\setbox\z@\hbox{\latintext\footnotesize \textsc{% \@author\ifx\@secondauthor\empty\else\ et al.\fi: \@stitle}}% \setbox\tw@\hbox{\latintext\footnotesize\textsl{\rightmark}}% \dimen@=2em\advance\dimen@\wd\z@\advance\dimen@\wd\tw@ \ifdim\dimen@<\textwidth \relax \else \setbox\z@\vbox{\hsize.48\textwidth\parindent\z@\raggedright \latintext\footnotesize\textsc{% \@author\ifx\@secondauthor\empty\else\ et al.\fi: \@stitle }}% \setbox\tw@\vbox{\hsize.48\textwidth\parindent\z@\raggedleft \latintext\footnotesize\textsl{\rightmark}}% \fi \setbox\@intesta\vbox to\z@{% \vss\hbox to\textwidth{\strut\box\z@\hfill\box\tw@}}% \underline{\box\@intesta}}}% \def\chaptermark##1{\markright{\thechapter\ -- ##1}}} \fi \fi \newcommand*\NomeAnnoAccademico[1]{\gdef\AnnoAccademico{#1}} \@ifundefined{AnnoAccademico}{\gdef\AnnoAccademico{Anno accademico}}{} \def\annoaccademico#1{% \def\@submitdate{{\large\textsc{\AnnoAccademico}} {\Large\s@tanno#1!}}} \def\s@tanno#1-#2!{\oldstylenums{#1\EnDash#2}} \def\EnDash{{\settowidth{\dimen@}{\large\sc I}% \setbox\tw@\hbox{2}\dimen\tw@.5\ht\tw@\advance\dimen\tw@-.5\dp\tw@ \dimen4\dimen\tw@\advance\dimen4by.0385ex\relax \advance\dimen\tw@-.0385ex\relax \makebox[1.5\dimen@]{% \vrule\@width\dimen@\@height\dimen4\@depth-\dimen\tw@}}} \renewcommand\footnoterule{% \kern-6\p@ \hrule\@width.4\columnwidth \kern5.6\p@} \setlength\footnotesep{12\p@} \setlength{\skip\footins}{24\p@ \@plus 4\p@ \@minus 2\p@} \DeclareMathSymbol{*}{\mathalpha}{symbols}{"03} \newcommand*\nota[1][*]{% \xdef\@thefnmark{\ensuremath{\m@th#1}}\@footnotemark\@footnotetext } \newcommand*{\NoteWhiteLine}{\par\vspace*{-.3\baselineskip}} \newcommand*\paginavuota{\clearpage\thispagestyle{empty}\null\clearpage} \newenvironment{dedica}{\clearpage \if@twoside \ifodd\c@page\else\thispagestyle{empty}\clearpage\fi \fi \thispagestyle{empty}% \list{}{\labelwidth\z@ \leftmargin.5\textwidth \parindent\z@ \raggedright\LARGE\itshape}\item[] }{% \endlist\clearpage } \newenvironment{citazioni}{% \clearpage\thispagestyle{empty} \list{}{\labelwidth\z@ \leftmargin.5\textwidth \parindent\z@ \raggedright}\item[] }{% \endlist\clearpage } %% %% Copyright 2005-2010 Claudio Beccari %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of %% this license is at: http://www.latex-project.org/lppl.txt %% %% This work is "author-maintained" %% %% This work consists of this file toptesi.dtx, a README file %% and the derived files: %% %% toptesi.cls, toptesi.sty, topfront.sty, topcommand.sty, topsize14, %% trieste.sty, toptesi.cfg, and the English documentation toptesi.pdf; %% %% Furthermore the bundle contains the documentation source file toptesi-doc.tex %% and the derived file toptesi-doc.pdf. %% %% The toptesi-example.tex source file is just an example that shows how %% to use the various commands; by commenting or decommenting certain %% source lines it is possible to typeset different kind of theses and their %% frontpages. %% %% The toptesi.cfg file is a sample of a local configuration file that can be %% freely edited and modified. %% %% By running pdflatex on toptesi.dtx the user gets the class, sty and cfg files %% and the English documentation file in pdf format. %% %% The documentation file toptesi-doc.pdf is in Italian; its source file is %% another example of how to use toptesi. %% %% End of file `trieste.sty'.