diff options
author | Karl Berry <karl@freefriends.org> | 2012-11-10 00:47:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-11-10 00:47:56 +0000 |
commit | dac8ad1dbd161de074cb5912677006e5455e8296 (patch) | |
tree | 1fc9c77e58044574457fa108dcc9db1252fb1e74 /Master/texmf-dist/source/latex/toptesi/toptesi.dtx | |
parent | 66d38b59401f47f68453dae0772d40329da9704e (diff) |
toptesi (9nov12)
git-svn-id: svn://tug.org/texlive/trunk@28223 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/toptesi/toptesi.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/toptesi/toptesi.dtx | 61 |
1 files changed, 35 insertions, 26 deletions
diff --git a/Master/texmf-dist/source/latex/toptesi/toptesi.dtx b/Master/texmf-dist/source/latex/toptesi/toptesi.dtx index bded2e4e509..47125086e29 100644 --- a/Master/texmf-dist/source/latex/toptesi/toptesi.dtx +++ b/Master/texmf-dist/source/latex/toptesi/toptesi.dtx @@ -85,7 +85,7 @@ another example of how to use toptesi. % \iffalse %<*driver> \documentclass{ltxdoc} -\ProvidesFile{toptesi.dtx}[2012/10/06 v.5.61b Documented TeX file for +\ProvidesFile{toptesi.dtx}[2012/11/09 v.5.61d Documented TeX file for the TOPtesi bundle] \GetFileInfo{toptesi.dtx} \title{The TOPtesi bundle} @@ -102,7 +102,7 @@ the TOPtesi bundle] %</driver> % \fi % -% \CheckSum{2566} +% \CheckSum{2571} % %% \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 @@ -530,7 +530,7 @@ the TOPtesi bundle] % (much shorter than the traditional Italian name ``i~lunga'') and the % indicated spelling ``gei'' is the phonetic Italian rendering of the % English word. The imaginary unit is not a variable, and the ISO regulations -% require it is typed with anxx upright serifed font, just as operators are. +% require it is typed with an upright serifed font, just as operators are. % % % \Item[eu] inserts the Euler number symbol ``e'' in upright type; since % this entity is not a variable, but it is a mathematical constant, the @@ -684,7 +684,7 @@ the TOPtesi bundle] % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{toptesi}% -[2012/10/06 v.5.61b Class for typesetting university theses] +[2012/11/09 v.5.61d Class for typesetting university theses] % \end{macrocode} % % The class itself is very simple since it requires just the \texttt{report} @@ -736,7 +736,7 @@ the TOPtesi bundle] % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{toptesi}% -[2012/10/06 v.5.61b Extension for toptesi.cls]% +[2012/11/09 v.5.61d Extension for toptesi.cls]% % \end{macrocode} % % We start with defining the debugging macros; these trace commands and macros @@ -901,8 +901,8 @@ the TOPtesi bundle] Use the optional argument of command \string#1\MessageBreak See the LaTeX Handbook (1994) on section C.4.1\MessageBreak}} % \end{macrocode} -% Bisogna ridefinre anche il modo di inserire nell'indice i capitoli non numerati con le pagine in -% numeri romani maiuscoletti +% It is also necessary to redefine the format of the unnumbered chapter entries +% in the table of contents so as to have page numbers in small caps. % \begin{macrocode} \renewcommand*\l@chapter[2]{% \ifnum \c@tocdepth >\m@ne @@ -1729,7 +1729,7 @@ Skipping any redefinition\MessageBreak}% % \fi % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{topfront}[2012/10/06 v.5.61b Title page for TOPtesi] +\ProvidesPackage{topfront}[2012/11/09 v.5.61d Title page for TOPtesi] % \end{macrocode} % % The title page information depends on the type of ``thesis' that is being typeset. @@ -2019,21 +2019,23 @@ Skipping any redefinition\MessageBreak}% \newcommand\NomeQuartoTomo[1]{\gdef\QuartoTomo{#1}} % \end{macrocode} % -% Now we can read the configuration file if it exists; in any case what is possibly defined or -% redefined in the configuration file must not be redefined in the following Lines and this is -% why everything is subject to the test |\@ifundefined|. Most default definitions are simply -% ``blank''; the others are in Italian. All of them, except the supervisor and candidate -% strings may be individually be redefined in the configuration file or in the preamble. Those -% that cannot be redefined such as the four ``candidate'' strings may be actually redefined -% through the only |\CandidateName| that should be used in a language depended way and with -% the correct number and gender once for all. The four endings in the Italian strings allow to -% exercise the correct selection only for Italian; a specific test is made inside the -% |\frontespizio| command; because of this the same machinery cannot be used, say, for French -% but may be in the future this feature is resolved in a proper way. The same is true for the -% supervisor and the co-supervisor strings that may be changed once for all with -% |\AdvisorName| and |\CoAdvisorName|. -% \begin{macrocode} -\IfFileExists{toptesi.cfg}{\input{toptesi.cfg}}{} +% Now we can read the configuration file if it exists; in any case what is possibly +% defined or redefined in the configuration file must not be redefined in the following +% Lines and this is why everything is subject to the test |\@ifundefined|. Most default +% definitions are simply ``blank''; the others are in Italian. All of them, except the +% supervisor and candidate strings may be individually be redefined in the configuration +% file or in the preamble. Those that cannot be redefined such as the four ``candidate'' +% strings may be actually redefined through the only |\CandidateName| that should be used +% in a language depended way and with the correct number and gender once for all. +% The four endings in the Italian strings allow to exercise the correct selection only +% for Italian; a specific test is made inside the |\frontespizio| command; because of +% this the same machinery cannot be used, say, for French but may be in the future this +% feature is resolved in a proper way. The same is true for the supervisor and the +% co-supervisor strings that may be changed once for all with |\AdvisorName| and +% |\CoAdvisorName|. +% \begin{macrocode} +\IfFileExists{\jobname.cfg}{\input{\jobname.cfg}}% + {\IfFileExists{toptesi.cfg}{\input{toptesi.cfg}}{}} % \@ifundefined{@cyclename}{\def\@cyclename{ciclo}}{} \@ifundefined{@title}{\def\@title{}}{} @@ -2150,7 +2152,7 @@ Skipping any redefinition\MessageBreak}% % we set in the page is the university proper name and some vertical glue. % \begin{macrocode} \ifx\@nomeat\empty \else - {\vspace*{-3\topskip}\centering + {\vspace*{-2.5\topskip}\centering {\Large \@nomeat}\par}\vfill \fi % \end{macrocode} @@ -2455,7 +2457,14 @@ Skipping any redefinition\MessageBreak}% %% can modify without restrictions in order to customize the %% contents of this configuration file to his/her needs. The user %% can add or remove lines, comment or uncomment lines, change the -%% arguments to the macros, add definitions and so on. +%% arguments to the macros, add definitions and so on. +%% A better use of this file consists into copying it to another +%% file to be named as the thesis main file and with extension +%% .cfg; This bundle will try to read "\jobname.cfg"; if this file +%% does not exist, it looks for toptesi.cfg and if this further +%% does not exist, it does nothing. This means that the provided +%% file toptesi.cfg is to be used preferably as a model, not to +%% be used directly. %%================================================================ %% \ateneo{Politecnico di Torino} @@ -2484,7 +2493,7 @@ Skipping any redefinition\MessageBreak}% % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} % lavora solo con LaTeX 2e \ProvidesPackage{topcoman}% - [2012/10/06 v.5.61b Additional commands for the TOPtesi bundle] + [2012/11/09 v.5.61d Additional commands for the TOPtesi bundle] % \end{macrocode} % The new command |\DeclareSlantedCapitalGreekLetters| optionally sets the capital % Greek letters in math mode with the glyphs taken from the math italic fonts, not from |