diff options
author | Karl Berry <karl@freefriends.org> | 2006-12-22 23:26:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-12-22 23:26:33 +0000 |
commit | 1e69268faeff5ed2ce4f8b2afc2386213bee9577 (patch) | |
tree | 89cf97551394ff7ba6a614741279712eaa5b267c /Master/texmf-dist | |
parent | ac704776b98a78d8057dda731ae1f9ff197a39ae (diff) |
toptesi update (30nov06)
git-svn-id: svn://tug.org/texlive/trunk@2853 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/toptesi/README | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/toptesi/logoINPG.eps (renamed from Master/texmf-dist/doc/latex/toptesi/LogoINPG.eps) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/toptesi/logounibo.gif | bin | 0 -> 11228 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/toptesi/toptesi-doc.pdf | bin | 361424 -> 366580 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/toptesi/toptesi.tex | 10 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/toptesi/toptesi.dtx | 284 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/topcoman.sty | 3 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/topfront.sty | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/toptesi.sty | 13 | ||||
-rw-r--r-- | Master/texmf-dist/tpm/toptesi.tpm | 11 |
10 files changed, 187 insertions, 152 deletions
diff --git a/Master/texmf-dist/doc/latex/toptesi/README b/Master/texmf-dist/doc/latex/toptesi/README index 9284d126322..76107241bea 100644 --- a/Master/texmf-dist/doc/latex/toptesi/README +++ b/Master/texmf-dist/doc/latex/toptesi/README @@ -1,10 +1,10 @@ -This bundle contains everything is needed for typesetting a bachelor, +The TOPtesi bundle contains everything is needed for typesetting a bachelor, master or PhD thesis in Italian (or in any other language supported by LaTeX: the bundle is constructed to support multilingual use). The infix strings may be selected and specified at will by means of a configuration file, so as to customize the layout of the -front page to the requirements of a specific university. Thanks -to its language management, the bundle is suited for multilanguage +front page to the requirements of a specific university. + +Thanks to its language management, the bundle is suited for multilanguage theses that are becoming more and more frequent thanks to the -double degree programs of the European Community Socrates -programs.
\ No newline at end of file +double degree programs of the European Union Socrates programs.
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/toptesi/LogoINPG.eps b/Master/texmf-dist/doc/latex/toptesi/logoINPG.eps index 4370ed5f9b0..4370ed5f9b0 100644 --- a/Master/texmf-dist/doc/latex/toptesi/LogoINPG.eps +++ b/Master/texmf-dist/doc/latex/toptesi/logoINPG.eps diff --git a/Master/texmf-dist/doc/latex/toptesi/logounibo.gif b/Master/texmf-dist/doc/latex/toptesi/logounibo.gif Binary files differnew file mode 100644 index 00000000000..f24be50e3a0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/toptesi/logounibo.gif diff --git a/Master/texmf-dist/doc/latex/toptesi/toptesi-doc.pdf b/Master/texmf-dist/doc/latex/toptesi/toptesi-doc.pdf Binary files differindex 316b4168db7..bdc7b6f5322 100644 --- a/Master/texmf-dist/doc/latex/toptesi/toptesi-doc.pdf +++ b/Master/texmf-dist/doc/latex/toptesi/toptesi-doc.pdf diff --git a/Master/texmf-dist/doc/latex/toptesi/toptesi.tex b/Master/texmf-dist/doc/latex/toptesi/toptesi.tex index 2c0313d9492..4ff6bad8b06 100644 --- a/Master/texmf-dist/doc/latex/toptesi/toptesi.tex +++ b/Master/texmf-dist/doc/latex/toptesi/toptesi.tex @@ -16,7 +16,8 @@ % Cambiare encoding a piacere; oppure non caricare nessun encoding se si usano % solo caratteri a 7 bit (ASCII) nei file d'entrata. % -\usepackage[ansinew]{inputenc} +%\usepackage[ansinew]{inputenc} +\usepackage[latin1]{inputenc} % Aggiungere o togliere i commenti per provare le varie possibilita' % %\ateneo{Universit{\`a} degli Studi di Trieste} @@ -46,6 +47,7 @@ \logosede{logopolito}% questo e' ovviamente facoltativo, ma e' richiesto per il dottorato al PoliTO % %\chapterbib %solo per vedere che cosa succede; e' preferibile comporre una sola bibliografia +%\AdvisorName{Supervisors} \newtheorem{osservazione}{Osservazione}% Standard LaTeX \begin{document}\errorcontextlines=9 @@ -62,13 +64,15 @@ \tomo \fi + +%\TRON \sommario La pressione barometrica di Giove viene misurata mediante un metodo originale messo a punto dai candidati, che si basa sul rilevamento telescopico della pressione. -\ringraziamenti +\ringraziamenti%\TROF I candidati ringraziano vivamente il Granduca di Toscana per i mezzi messi loro a disposizione, ed il signor Von Braun, assistente del @@ -93,6 +97,8 @@ ai candidati di evitare di riscoprire l'acqua calda. \fi +\mainmatter + \part{Prima Parte} \chapter{Introduzione generale} diff --git a/Master/texmf-dist/source/latex/toptesi/toptesi.dtx b/Master/texmf-dist/source/latex/toptesi/toptesi.dtx index 26f7a0b27d5..f74b747a6fa 100644 --- a/Master/texmf-dist/source/latex/toptesi/toptesi.dtx +++ b/Master/texmf-dist/source/latex/toptesi/toptesi.dtx @@ -27,7 +27,7 @@ % \iffalse %<*driver> \documentclass{ltxdoc} -\ProvidesFile{toptesi.dtx}[2006/04/16 v.4.03 Documented TeX file for +\ProvidesFile{toptesi.dtx}[2006/08/22 v.4.05 Documented TeX file for the TOPtesi bundle] \GetFileInfo{toptesi.dtx} \title{The TOPtesi bundle} @@ -42,7 +42,7 @@ the TOPtesi bundle] %</driver> % \fi % -% \CheckSum{2829} +% \CheckSum{2833} % %% \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 @@ -457,7 +457,7 @@ the TOPtesi bundle] %<*topsty> \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{toptesi}% -[2006/02/20 v. 4.00.01 Extension for toptesi.cls]% +[2006/08/22 v.4.00.03 Extension for toptesi.cls]% % \end{macrocode} % % We start with defining the debugging macros; these trace commands and macros @@ -493,11 +493,12 @@ the TOPtesi bundle] \RequirePackage{graphicx} % \end{macrocode} -% L'altezza della pagina di testo viene impostata in modo da riempire bene -% un foglio UNI A4; in any case the typesetting grid is set to an height of 585pt -% and is then rounded to an integer number of lines depending on the size option -% that has been chosen. The |\topmargin|, |\headheight| and |\headsep| parameters -% have already been set in the size class option file, so that here just a small adjustment is made. +% The text height gets set so as to cope with the standard UNI A4 size; in +% any case the typesetting grid is set to an height of 585pt and is then +% rounded to an integer number of lines depending on the size option +% that has been chosen. The |\topmargin|, |\headheight| and |\headsep| +% parameters have already been set in the size class option file, so that here +% just a small adjustment is made. % % \begin{macrocode} \textheight 585pt @@ -545,10 +546,11 @@ the TOPtesi bundle] % but we leave it here without the bold face specification, so that in future versions % folios may be redefined in a common way with the other page styles. % Notice that in all page styles folios are always in the footers. -% By letting |\lapagina| to be an alias to |\thepage| we can later on redefine |\lapagina| -% the way we like; we actually do so with the option \texttt{classica}. +% By defining |\lapagina| to be equivalent to |\thepage| we can later on +% redefine |\lapagina| the way we like; we actually do so with the option +% \texttt{classica}. % \begin{macrocode} -\let\lapagina\thepage +\def\lapagina{\thepage} \mark{{}{}} \newbox\@intesta % @@ -613,8 +615,9 @@ the TOPtesi bundle] % of the document the default situation of front matter is established. % \begin{macrocode} \def\frontmatter{\clearpage\ps@plain\pagenumbering{roman}% - \numeriromanitrue\frontmattertrue} -\def\mainmatter{\clearpage\ps@headings\pagenumbering{arabic}% + \numeriromanitrue\frontmattertrue\@openrightfalse} +\def\mainmatter{\if@twoside\@openrighttrue\fi + \clearpage\ps@headings\pagenumbering{arabic}% \numeriromanifalse\frontmatterfalse} \AtBeginDocument{\frontmatter} % \end{macrocode} @@ -654,20 +657,21 @@ the TOPtesi bundle] % must define new names for localizing the package in a language different from % Italian and English. % -% We have to modify the |\chpter| and |\part| commands so that as the user first issues -% one of these commands the typesetting style is switched to the one for the main matter. +% We have to modify the |\chapter| and |\part| commands so that as the user +% first issues one of these commands the typesetting style is switched to the +% one for the main matter. % \begin{macrocode} \renewcommand\chapter{% - \if@openright\cleardoublepage\else\clearpage\fi \iffrontmatter\mainmatter\fi + \if@openright\cleardoublepage\else\clearpage\fi \thispagestyle{plain}% \global\@topnum\z@ \@afterindentfalse \secdef\@chapter\@schapter} % \renewcommand\part{% - \if@openright\cleardoublepage\else\clearpage\fi \iffrontmatter\mainmatter\fi + \if@openright\cleardoublepage\else\clearpage\fi \thispagestyle{empty}% \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi \null\vfil @@ -765,7 +769,7 @@ the TOPtesi bundle] % \texttt{interlinea} were defined so as to allow to set the line spread factor. % The experience has shown that students tend to use this command so as to typeset a poor % and thin thesis on more pages. Well, every instrument can be judiciously or maliciously used; -% This is one of those double sided instruments. +% this is one of those double sided instruments. % \begin{macrocode} \def\interlinea#1{\linespread{#1}\selectfont} \def\endinterlinea{\par} @@ -809,9 +813,10 @@ the TOPtesi bundle] % One command that the default definition does not satisfy me very much is the caption command; % actually it is the internal |\@makecaption| macro that performs the job. The point is that % I prefer a narrower justified caption rather than a caption where the last line is just a short word -% or the right segment of an hyphenated word. If one sete the |\finalhyphendemerits| counter -% to an incredibly high value, one might succeed in avoiding hyphenation in the last word of a caption. -% but this might lead to a very loose typesetting of the caption paragraph, especially +% or the right segment of an hyphenated word. If one sets the +% |\finalhyphendemerits| counter to an incredibly high value, one might succeed +% in avoiding hyphenation in the last word of a caption; but this might lead +% to a very loose typesetting of the caption paragraph, especially % if the horizontal box that contains it hardly exceeds the caption width. % I initially set the caption width (a new length) to the overall text width diminished by 3em; % then if the caption text, inclusive of the caption type string and number, is shorter than @@ -819,33 +824,40 @@ the TOPtesi bundle] % it is set as a justified paragraph whose line with equals the established caption with; % but in any case the last line of the paragraph is measured and if it is shorter than one third % of the caption width, this width is shortened a little bit and the paragraph is set again -% with this shortened caption width; in order to be sure that one iteration is sufficient, the shrinking -% of the caption with must be computed according to the number of lines the paragraph occupies. -% In order to count the number of lines the caption paragraph occupies it is necessary -% to recall that the first line occupies a vertical space that equals |\topskip| while the -% other lines occupy a vertical space equal to |\baselineskip|; the latter one is generally larger -% than |\topskip| therefore the integer division of the height of the vertical box divided by the +% with this shortened caption width; in order to be sure that one iteration is +% sufficient, the shrinking of the caption width must be computed according to +% the number of lines the paragraph occupies. +% In order to count the number of lines the caption paragraph occupies it is +% necessary to recall that the first line occupies a vertical space that equals +% |\topskip| while the other lines occupy a vertical space equal to +% |\baselineskip|; the latter one is generally larger than |\topskip| therefore +% the integer division of the height of the vertical box divided by the % |\baselineskip| is truncated to count a line less than the true value. -% in or case if the caption doe not stay in one line, its text is typeset in a vertical box -% with a line spread of 0.95 so as to make the caption a little more compact than the regular text -% The baseline skip is the a little shorter than the regular one, but it should sill exceed -% the default |\topskip|; when we first typeset the caption in a vertical box we strip off the last line +% In our case if the caption does not stay in one line, its text is typeset in a +% vertical box with a line spread of 0.95 so as to make the caption a little +% more compact than the regular text. +% The baseline skip is a little shorter than the regular one, but it should +% still exceed the default |\topskip|; when we first typeset the caption in a +% vertical box we strip off the last line % and we must remember the presence of this line in our arithmetics. -% if the stripped of last line is longer that one third of the caption width, -% then the vertical box is recomposed by restacking the individual lines, but if this last line is shorter -% than one third of the caption width, this width is recomputed in this way: let $N-1$ be the number of lines -% obtained with the integer division, i.e.\ one line less than those actually -% contained in the vertical box one. Let $x$ be the initial caption width and $X_2$ the last line -% width; let $y$ be the new caption width; then the total length of the caption of width $x$ -% is $(N)x+x_2$ and this should be distributed over $N+1$ lines; if we obtained the new -% caption width $y$ by dividing the total length by $N+1$ we should be able to typeset -% the whole caption with all the lines of equal length. This does not actually take place -% because the new lines do not necessarily contain the same amount of inter word space, some words -% might have been hyphenated in a different way, and so on. Moreover we do not want a caption that -% barely exceeds the length of |\captionwidth| to be retyped into a two line caption with -% is about one half of the width of the other captions. Therefore we allow for some white space in the last line -% by computing the new caption width with the following formula -% \[ y=\frac{(N+0,5)x + x_2}{N+1} \] +% If the length of the stripped last line is longer that one third of the +% caption width, then the vertical box is recomposed by restacking the +% individual lines, but if this last line is shorter than one third of the +% caption width, this width is recomputed in this way: let $N-1$ be the number +% of lines obtained with the integer division, i.e.\ one line less than those +% actually contained in the vertical box. Let $x$ be the initial caption +% width and $x_2$ the last line width; let $y$ be the new caption width; then +% the total length of the caption of width $x$ is $Nx+x_2$ and this should be +% distributed over $N+1$ lines; if we obtained the new caption width $y$ by +% dividing the total length by $N+1$ we should be able to typeset the whole +% caption with all the lines of equal length. This does not actually take place +% because the new lines do not necessarily contain the same amount of inter word +% space, some words might have been hyphenated in a different way, and so on. +% Moreover we do not want a caption that barely exceeds the length of +% |\captionwidth| to be retyped into a two line caption width is about one half +% of the width of the other captions. Therefore we allow for some white space in +% the last line by computing the new caption width with the following formula +% \[ y=\frac{(N+0.5)x + x_2}{N+1} \] % \begin{macrocode} \newdimen\captionwidth \long\def\@makecaption#1#2{% @@ -920,7 +932,7 @@ the TOPtesi bundle] % \end{macrocode} % % For what regards footnotes nothing is changed except resetting the -% line stretch to one, in case the current value is defined differently. +% line spread to one, in case the current value is different. % \begin {macrocode} \long\def\@footnotetext#1{\insert\footins{\linespread{1}\footnotesize \interlinepenalty\interfootnotelinepenalty @@ -933,8 +945,8 @@ the TOPtesi bundle] % % These last heterogeneous definitions are partly important and partly residues of % the good old times of MS-DOS v.3 when a Ctrl-Z character would be placed at the -% end of files. It's a long time that version is not used, but some of old time files -% might be still around. +% end of files. It's a long time that such version is not being used, but some +% old time files might still be around. % % The cryptic code that redefines the comma in math mode establishes that this % character is a normal math character, instead of a math punctuation mark; @@ -950,21 +962,23 @@ the TOPtesi bundle] % \end{macrocode} % % The TOPtesi bundle contains two new chapter like sections activated with -% the commands |\sommario| and |\ringraziamenti| respectively. The infix string that -% stats these sections depend on the used language. +% the commands |\sommario| and |\ringraziamenti| respectively. The infix strings +% that start these sections depend on the used language. % % Because of this it is necessary to extend the list of infix string definitions provided -% the the |\captions|$\langle$\texttt{language}$\rangle$ macros provided by the +% the |\captions|$\langle$\texttt{language}$\rangle$ macros defined by the % language description files of \texttt{babel}; for this purpose we define a macro for % adding new items for these two new sectioning commands. This macro receives three arguments: % the first is the babel language name, the second is the string for the summary name, and finally % the third is the string for the acknowledgements name; everything is contained within a group % and only the relevant captions macro is globally redefined. The token register `0' is normally -% for scratch usage, but the fact that its values is restored upon exiting the group provides the -% necessary protection against an involuntary reassignment to this register. At the same time -% if a specifica language option was not specified, a warning message is issued, but compilations -% goes on any way without the sectioning string names. For being sure no other undefined -% error messages are issued, the |\summaryname| and |\acknowledgename| are let to |\empty|. +% for scratch usage, but the fact that its value is restored upon exiting the +% group provides the necessary protection against an involuntary reassignment +% to this register. At the same time if a specific language option was not +% specified, a warning message is issued, but compilations goes on any way +% without the sectioning string names. For being sure no other undefined error +% messages are issued, the |\summaryname| and |\acknowledgename| are let to +% |\empty|. % \begin{macrocode} \let\summaryname\empty \let\acknowledgename\empty @@ -1000,13 +1014,16 @@ Skipping any redefinition\MessageBreak}% % \selectlanguahe{spanish} % ... % \end{verbatim} -% and the rest of the thesis will be typeset correctly in Spanish. Remember that Italian is the default -% Language and nothing is necessary for setting up the Italian defaults. If English is desired, then -% after |\begin{document}| is is necessary to specify the default language; for ease of use the following macros are -% defined so they can be used instead of the lengthy \texttt{babel} command; after the beginning of the document -% it is then possible to specify |\inglese| or |\english|, and the default language turns into English. -% These shorthand commands can be alternated so as to switch from one language to the other; nevertheless -% remember that there are more correct ways to switch languages with the \texttt{babel} commands without changing +% and the rest of the thesis will be typeset correctly in Spanish. Remember +% that Italian is the default language and nothing is necessary for setting up +% the Italian defaults. If English is desired, then after |\begin{document}| is +% is necessary to specify the default language; for ease of use the following +% macros are defined so they can be used instead of the lengthy \texttt{babel} +% command; after the beginning of the document it is then possible to specify +% |\inglese| or |\english|, and the default language turns into English. +% These shorthand commands can be alternated so as to switch from one language +% to the other; nevertheless remember that there are more correct ways to +% switch languages with the \texttt{babel} commands without changing % the infix strings. % \begin{macrocode} \def\italiano{\selectlanguage{italian}}% @@ -1039,12 +1056,12 @@ Skipping any redefinition\MessageBreak}% % %</topsty> % \end{macrocode} -% \subsection{The package file \texttt{toptesi.sty}} -% This file is input by \texttt{toptesi}, version 3.x, but it can be used as an independent -% extension package. +% \subsection{The package file \texttt{topfront.sty}} +% This file is input by \texttt{toptesi}, version 4.x, but it can be used as an +% independent extension package. % % It contains all the definition for the composition of just the title page -% along the style requirements of \texttt{toptesi}, version 3.x. +% along the style requirements of \texttt{toptesi}, version 4.x. % It makes use of an optional configuration file where the user can define % a lot of default information and all the infix language dependent strings % that are peculiar to this title page. @@ -1055,7 +1072,7 @@ Skipping any redefinition\MessageBreak}% % \begin{macrocode} %<*topfrn> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{topfront}[2006/04/04 v.4.00.02 Title page for TOPtesi] +\ProvidesPackage{topfront}[2006/09/04 v.4.00.04 Title page for TOPtesi] % \end{macrocode} % % The title page information depends on the type of ``thesis' that is being typeset. @@ -1090,9 +1107,9 @@ Skipping any redefinition\MessageBreak}% % class option \texttt{autoretitolo} the thesis title is written together % with the author's name in the even side headings; if the thesis full title % is too long it produces overfull headlines with ugly results; a short title -% solves the inconvenience. The |\sottotitolo| command is another way -% to maintains a short title; all the supplementary title information may be typeset in -% the subtitle. +% may solve the inconvenience. The |\sottotitolo| command is another way +% to maintain a short title; all the supplementary title information may be +% typeset in the subtitle. % \begin{macrocode} \def\monografia#1{\global\laureatriennaletrue \global\dottoratofalse @@ -1108,7 +1125,7 @@ Skipping any redefinition\MessageBreak}% % \end{macrocode} % % The |\materia| or its alias |\Materia| are used to specify the -% subject ot the thesis; as a silly example a set of commands that reflect +% subject of the thesis; as a silly example a set of commands that reflect % this subtle difference might be the following: % \begin{verbatim} % \materia{Applied Tetratricotomy} @@ -1133,10 +1150,11 @@ Skipping any redefinition\MessageBreak}% % this may be called in whatever mode but here we assume his name is input % with the command |\tutore| even if ``tutor'' does not appear as the best choice; % in any case in Italian ``tutore'' does not have the same meaning as the English ``tutor''. -% Most Doctoral Schools require in place to name the School's director or coordinator -% This is why this person's name can be introduced with |\direttore| or |\coordinatore|; -% the actual label printed over this person name is ``Direttore'' or ``Coordinatore'' -% but it can be changed with |\QualificaDirettore|. +% Most Doctoral Schools require in place to name the School's director or +% coordinator. This is why this person's name can be introduced with +% |\direttore| or |\coordinatore|; the actual label printed over this person +% name is ``Direttore'' or ``Coordinatore'' % but it can be changed with +% |\QualificaDirettore|. % \begin{macrocode} \newif\ifDirettore \Direttorefalse \def\tutore#1{\gdef\@tutore{#1}} @@ -1150,7 +1168,7 @@ Skipping any redefinition\MessageBreak}% % and/or authors of the same thesis, but some do; this is why this bundle % accepts up to three names for each category. % The |\second...| commands set the plural forms of the labels printed above -% the name lists; For the candidates there are different commands to input +% the name lists. For the candidates there are different commands to input % ladies or gentlemen names; according to the masculine (ending in `o') or feminine % (ending in `a') commands the appropriate truth values are assigned to the % boolean variable \texttt{femminile} and the labels are set accordingly. @@ -1249,21 +1267,25 @@ Skipping any redefinition\MessageBreak}% % of the university; |\nomeateneo| gets the proper name of the university. In Italy Universities % are generally named after the city they are in; in large cities where there are several % universities, each one of them has a proper name. For example the generic name might be -% ``Universit�di Roma'' and the proper name might be ``La Sapienza''. -% |\facolta| receives an optional argument that is the uppercase roman numeral specific of the -% faculty and a compulsory argument that corresponds to the type of faculty; for example, +% ``Universit\`a di Roma'' and the proper name might be ``La Sapienza''. +% |\facolta| receives an optional argument that is the uppercase roman numeral +% specific of the faculty and a compulsory argument that corresponds to the +% type of faculty; for example, % with |\facolta[II]{Ingegneria}| the package typesets in the title page -% ``II Facolt�di Ingengeria''; if the optional argument is not specified non roman numeral -% is typeset; the infix string \verb*+Facolt�di + may be changed with the configuration file -% depending on the default language. -% Finally |\logosede| gets the name of the graphic file that contains the information -% relative to the university logo. If such logo is not available, the user does not specify -% this command; if the user uses this command to insert the university logo but the file is not -% available the usual \texttt{graphicx} package warning is issued but compilation goes on +% ``II Facolt\`a di Ingengeria''; if the optional argument is not specified non +% roman numeral is typeset; the infix string \verb*+Facolt\`a di + may be +% changed with the configuration file depending on the default language. +% Finally |\logosede| gets the name of the graphic file that contains +% the information relative to the university logo. If such logo is not +% available, the user does not specify this command; if the user uses this +% command to insert the university logo but the file is not available the usual +% \texttt{graphicx} package warning is issued but compilation goes on % without the logo. -% The |\tutoreaziendale| macro is the last addition; several students who work on their -% thesis or final project in a company want to have the company supervisor name printed in the -% title page; this does not preclude expressing the student's deepest thanks in the acknowledgements +% The |\tutoreaziendale| macro is the last addition; several students who work +% on their thesis or final project in a company want to have the company +% supervisor name printed in the +% title page; this does not preclude expressing the student's deepest thanks in +% the acknowledgements % section, but it does not harm ro name this person also in the title page. % \begin{macrocode} \def\ciclodidottorato#1{\gdef\@ciclo{#1 \@cyclename}}% @@ -1279,16 +1301,18 @@ Skipping any redefinition\MessageBreak}% \def\tutoreaziendale#1{\gdef\@tutoreaziendale{#1}} % \end{macrocode} % -% The following commands are user commands that modify the infix strings according to the -% language used and to the specifications of the actual university. All these commands -% can be put in the configuration file so as to specify what is desired as a default. -% Id these commands are specifically used to redefine something before issuing the -% |\frontespizio| command, the command that actually typesets the title page, the new -% definitions override the configuration ones. +% The following commands are user commands that modify the infix strings +% according to the language used and to the specifications of the actual +% university. All these commands can be put in the configuration file so as to +% specify what is desired as a default. +% If these commands are specifically used to redefine something before issuing +% the |\frontespizio| command, the command that actually typesets the title +% page, the new definitions override the configuration ones. % % \begin{description} -% \def\Item[#1]{\item[\normalfont\texttt{\char92#1}] sets or changes the string } -% \Item[FacoltaDi] ``Facolt�di'' in, say, ``Faculty of'' +% \def\Item[#1]{\item[\normalfont\texttt{\char92#1}] +% sets or changes the string} +% \Item[FacoltaDi] ``Facolt\`a di'' in, say, ``Faculty of'' % \Item[DottoratoIn] ``Dottorato in'' in, say, ``PhD in'' % \Item[CorsoDiLaureaIn] ``Corso di Laurea in'' in, say, ``Master of Science in'' % \Item[TesiDiLaurea] ``Tesi di Laurea'' in, say, ``Tesi di Laurea Magistrale'' @@ -1320,7 +1344,7 @@ Skipping any redefinition\MessageBreak}% \newcommand\NomeDissertazione[1]{\gdef\@dissertazione{#1}} \newcommand\InName[1]{\gdef\@InName{#1}} \newcommand\CandidateName[1]{\gdef\@nomecandidato{#1}} -\newcommand\AdvisorName[1]{\gdef\@nomerelatore{#1}} +\newcommand\AdvisorName[1]{\gdef\Relatore{#1}\gdef\Relatori{#1}} \newcommand\CoAdvisorName[1]{\gdef\Correlatore{#1}\gdef\Correlatori{#1}} \newcommand\TutorName[1]{\gdef\Tutore{#1}} \newcommand\NomeTutoreAziendale[1]{\gdef\@tutoreaziendalename{#1}} @@ -1408,14 +1432,15 @@ Skipping any redefinition\MessageBreak}% \@ifundefined{@InName}{\def\@InName{in}}{} % \end{macrocode} % -% Finally comes the only active macro |\frontespizio|, the one macro that actually -% typesets the title page. The macro starts with a local redefinition of the -% \texttt{myheadings} page style; with this style the university name goes into the -% header, while the exam date goes in the footer; in this way the information -% that must be typeset in the title page is not crunched in too little space -% and the overall text bounding box assumes a shape similar to the page one. +% Finally it comes the only active macro |\frontespizio|, the one macro that +% actually typesets the title page. The macro starts with a local redefinition +% of the \texttt{myheadings} page style; with this style the university name +% goes into the header, while the exam date goes in the footer; in this way the +% information that must be typeset in the title page is not crunched in too +% little space and the overall text bounding box assumes a shape similar to that +% of the page. % -% Everything is closed within a group so alla definitions remain local. +% Everything is closed within a group so all definitions remain local. % \begin{macrocode} \def\frontespizio{% \begingroup @@ -1458,7 +1483,7 @@ Skipping any redefinition\MessageBreak}% % the font characteristics. % \begin{macrocode} \thispagestyle{myheadings}% - \null\setcounter{page}{0}% + \null\setcounter{page}{1}% \normalfont % \end{macrocode} % The generic university name is already in the header; if it is non blank the first thing @@ -1743,13 +1768,13 @@ Skipping any redefinition\MessageBreak}% % set at the beginning of this long macro. % \begin{macrocode} \vfill\par\null - \clearpage + \if@twoside\cleardoublepage\else\clearpage\fi \endgroup} %</topfrn> % \end{macrocode} % % \subsection{A sample configuration file} -% the following code generates a simple configuration file that the user +% The following code generates a simple configuration file that the user % can change at will; it can be used as a template for generating a really % personal configuration file. % \begin{macrocode} @@ -1826,16 +1851,18 @@ Skipping any redefinition\MessageBreak}% \providecommand{\gradi}{\ensuremath{^\circ}} % \end{macrocode} % -%T he next set of definitions are used to list a program file. There are +% The next set of definitions are used to list a program file. There are % better packages to perform this task in the CTAN archives. This set of macros % has the advantage that is very short and light on the computer memory; nevertheless -% it performs its duty pretty well. The font face is the typewriter one; the font size is chosen so as to -% allow approximately 80 characters in the text width of the thesis. It respects the -% possible indentation tabs (ASCII code 9) by inserting the correct amount of typewriter spaces -% so as to align every line to the correct boundary which is ``zero modulo eight''. -% If the program file contains some form feed ASCII characters (ASCII code 12), this -% \TeX\ code inserts a new page command. The code may appear strange, and it does because -% it makes heavy use of the dirty tricks of appendix~D of the \TeX\-book. +% it performs its duty pretty well. The font face is the typewriter one; the +% font size is chosen so as to +% allow approximately 80 characters in the text width of the thesis. It respects +% the possible indentation tabs (ASCII code 9) by inserting the correct amount +% of typewriter spaces so as to align every line to the correct boundary which +% is ``zero modulo eight''. If the program file contains some form feed ASCII +% characters (ASCII code 12), this \TeX\ code inserts a new page command. The +% code may appear strange, and it does because it makes heavy use of the dirty +% tricks of appendix~D of the \TeX\-book. % \begin{macrocode} \def\listing#1{\par\begingroup \programma \input #1 \endgroup} @@ -1847,7 +1874,8 @@ Skipping any redefinition\MessageBreak}% \everypar{\startbox}} % \end{macrocode} % The above code does the whole work, but the alignment to the tab stops and the -% new page command associated to the form feed ASCII character are done with the following definitions. +% new page command associated to the form feed ASCII character are done with the +% following definitions. % \begin{macrocode} \newdimen\tabwidth \setbox0=\hbox{\footnotesize\tt\space} \tabwidth=8\wd0 \def\startbox{\setbox0=\hbox\bgroup} @@ -1877,17 +1905,17 @@ Skipping any redefinition\MessageBreak}% % only with the roman type; for this thesis bundle roman numerals are used only for folios, % therefore there are no problems with a choice of fonts shapes and series. % \begin{macrocode} -\gdef\@roman#1{\protect\ensuremath{\scriptstyle - \mathrm{\uppercase\expandafter{\romannumeral #1}}}}% +\DeclareRobustCommand*{\@roman}[1]{\textsc{\romannumeral#1}}% % \end{macrocode} % -% A user, Antonio Mele has suggested and requested the possibility of having the figure -% and table name inserted automatically when the |\ref|command is issued. For single citations the -% solution works fine, but for range references it does not work. In Italian the name must be lower case -% while in other languages, specifically in English, the name has a capital initial. Since -% this feature might be handy in certain circumstances and annoying in other ones; this feature -% can be turned on and off at will with the enabling and disabling commands. By default -% the feature is disabled. +% A user, Antonio Mele, has suggested and requested the possibility of having +% the figure and table name inserted automatically when the |\ref|command is +% issued. For single citations the solution works fine, but for range +% references it does not work. In Italian the name must be lower case while in +% other languages, specifically in English, the name has a capital initial. +% Since this feature might be handy in certain circumstances and annoying in +% other ones, this feature can be turned on and off at will with the enabling +% and disabling commands. By default the feature is disabled. % \begin{macrocode} \def\ft@figure{\iflanguage{italian}{\MakeLowercase{\figurename}}% {\figurename}~} diff --git a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty index ffcec630072..54fdf4a79b7 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty @@ -81,8 +81,7 @@ {\catcode`\^^L=\active \gdef^^L{\par\penalty-10000}} \mathcode`\,="013B \catcode`\^^Z=10 -\gdef\@roman#1{\protect\ensuremath{\scriptstyle - \mathrm{\uppercase\expandafter{\romannumeral #1}}}}% +\DeclareRobustCommand*{\@roman}[1]{\textsc{\romannumeral#1}}% \def\ft@figure{\iflanguage{italian}{\MakeLowercase{\figurename}}% {\figurename}~} \def\ft@table{\iflanguage{italian}{\MakeLowercase{\tablename}}% diff --git a/Master/texmf-dist/tex/latex/toptesi/topfront.sty b/Master/texmf-dist/tex/latex/toptesi/topfront.sty index 1b528b978f1..8c0e1c4dd45 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topfront.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topfront.sty @@ -36,7 +36,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{topfront}[2006/04/04 v.4.00.02 Title page for TOPtesi] +\ProvidesPackage{topfront}[2006/09/04 v.4.00.04 Title page for TOPtesi] \newif\iffemminile \newif\ifdottorato \dottoratofalse \newif\iflaureatriennale \laureatriennalefalse @@ -118,7 +118,7 @@ \newcommand\NomeDissertazione[1]{\gdef\@dissertazione{#1}} \newcommand\InName[1]{\gdef\@InName{#1}} \newcommand\CandidateName[1]{\gdef\@nomecandidato{#1}} -\newcommand\AdvisorName[1]{\gdef\@nomerelatore{#1}} +\newcommand\AdvisorName[1]{\gdef\Relatore{#1}\gdef\Relatori{#1}} \newcommand\CoAdvisorName[1]{\gdef\Correlatore{#1}\gdef\Correlatori{#1}} \newcommand\TutorName[1]{\gdef\Tutore{#1}} \newcommand\NomeTutoreAziendale[1]{\gdef\@tutoreaziendalename{#1}} @@ -206,7 +206,7 @@ \divide\oddsidemargin \tw@ \evensidemargin \oddsidemargin \thispagestyle{myheadings}% - \null\setcounter{page}{0}% + \null\setcounter{page}{1}% \normalfont \ifx\@nomeat\empty \else {\vspace*{-3\topskip}\centering @@ -399,7 +399,7 @@ \@tutoreaziendale\par} \fi \vfill\par\null - \clearpage + \if@twoside\cleardoublepage\else\clearpage\fi \endgroup} \endinput %% diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty index d2f0d0b4980..f1b877416bb 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty @@ -37,7 +37,7 @@ %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{toptesi}% -[2006/02/20 v. 4.00.01 Extension for toptesi.cls]% +[2006/08/22 v.4.00.03 Extension for toptesi.cls]% \def\TRON{\tracingcommands \tw@ \tracingmacros \tw@} \def\TROFF{\tracingcommands\z@ \tracingmacros \z@} \let\TROF\TROFF @@ -75,7 +75,7 @@ \advance\marginparwidth -7mm \advance\marginparwidth -7mm \fi -\let\lapagina\thepage +\def\lapagina{\thepage} \mark{{}{}} \newbox\@intesta \def\ps@plain{\let\@mkboth\@gobbletwo @@ -119,8 +119,9 @@ \newif\ifnumeriromani \newif\iffrontmatter \def\frontmatter{\clearpage\ps@plain\pagenumbering{roman}% - \numeriromanitrue\frontmattertrue} -\def\mainmatter{\clearpage\ps@headings\pagenumbering{arabic}% + \numeriromanitrue\frontmattertrue\@openrightfalse} +\def\mainmatter{\if@twoside\@openrighttrue\fi + \clearpage\ps@headings\pagenumbering{arabic}% \numeriromanifalse\frontmatterfalse} \AtBeginDocument{\frontmatter} \figurespagefalse @@ -142,15 +143,15 @@ \addcontentsline{toc}{chapter}{\acknowledgename}% } \renewcommand\chapter{% - \if@openright\cleardoublepage\else\clearpage\fi \iffrontmatter\mainmatter\fi + \if@openright\cleardoublepage\else\clearpage\fi \thispagestyle{plain}% \global\@topnum\z@ \@afterindentfalse \secdef\@chapter\@schapter} \renewcommand\part{% - \if@openright\cleardoublepage\else\clearpage\fi \iffrontmatter\mainmatter\fi + \if@openright\cleardoublepage\else\clearpage\fi \thispagestyle{empty}% \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi \null\vfil diff --git a/Master/texmf-dist/tpm/toptesi.tpm b/Master/texmf-dist/tpm/toptesi.tpm index ac67208e3e9..149148ae707 100644 --- a/Master/texmf-dist/tpm/toptesi.tpm +++ b/Master/texmf-dist/tpm/toptesi.tpm @@ -3,7 +3,7 @@ <rdf:Description about="http://texlive.dante.de/texlive/Package/toptesi.zip"> <TPM:Name>toptesi</TPM:Name> <TPM:Type>Package</TPM:Type> - <TPM:Date>2006/06/25 18:39:55</TPM:Date> + <TPM:Date>2006/11/29 20:13:00</TPM:Date> <TPM:Version></TPM:Version> <TPM:Creator>karl</TPM:Creator> <TPM:Title>The toptesi package.</TPM:Title> @@ -12,7 +12,7 @@ <TPM:Size>1044298</TPM:Size> <TPM:License></TPM:License> <TPM:Build/> - <TPM:RunFiles size="58198"> + <TPM:RunFiles size="58452"> texmf-dist/tex/latex/toptesi/size14.clo texmf-dist/tex/latex/toptesi/topcoman.sty texmf-dist/tex/latex/toptesi/topfront.sty @@ -23,9 +23,9 @@ texmf-dist/tex/latex/toptesi/toptesi.sty texmf-dist/tex/latex/toptesi/trieste.sty texmf-dist/tpm/toptesi.tpm </TPM:RunFiles> - <TPM:DocFiles size="864220"> -texmf-dist/doc/latex/toptesi/LogoINPG.eps + <TPM:DocFiles size="880752"> texmf-dist/doc/latex/toptesi/README +texmf-dist/doc/latex/toptesi/logoINPG.eps texmf-dist/doc/latex/toptesi/logoINPG.pdf texmf-dist/doc/latex/toptesi/logopoliba.eps texmf-dist/doc/latex/toptesi/logopoliba.pdf @@ -36,6 +36,7 @@ texmf-dist/doc/latex/toptesi/logouniba.pdf texmf-dist/doc/latex/toptesi/logounibg.eps texmf-dist/doc/latex/toptesi/logounibg.pdf texmf-dist/doc/latex/toptesi/logounibo.eps +texmf-dist/doc/latex/toptesi/logounibo.gif texmf-dist/doc/latex/toptesi/logounibo.pdf texmf-dist/doc/latex/toptesi/logounibs.eps texmf-dist/doc/latex/toptesi/logounibs.pdf @@ -67,7 +68,7 @@ texmf-dist/doc/latex/toptesi/manifest.txt texmf-dist/doc/latex/toptesi/toptesi-doc.pdf texmf-dist/doc/latex/toptesi/toptesi.tex </TPM:DocFiles> - <TPM:SourceFiles size="121880"> + <TPM:SourceFiles size="121987"> texmf-dist/source/latex/toptesi/toptesi.dtx texmf-dist/source/latex/toptesi/toptesi.ins </TPM:SourceFiles> |