summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/toptesi
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-09-10 22:52:57 +0000
committerKarl Berry <karl@freefriends.org>2012-09-10 22:52:57 +0000
commitae7109f2fab6c082ec89fb538add7cdd9c0fafb5 (patch)
tree8e93beaf297f6a75d7efd809005fe8dba0676500 /Master/texmf-dist/source/latex/toptesi
parent609646087cbaa858a54237f6d1682bb6b4bbef9d (diff)
toptesi (10sep12)
git-svn-id: svn://tug.org/texlive/trunk@27640 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/toptesi')
-rw-r--r--Master/texmf-dist/source/latex/toptesi/toptesi.dtx102
1 files changed, 62 insertions, 40 deletions
diff --git a/Master/texmf-dist/source/latex/toptesi/toptesi.dtx b/Master/texmf-dist/source/latex/toptesi/toptesi.dtx
index 35d43c2a388..84102d259ec 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/07/31 v.5.60 Documented TeX file for
+\ProvidesFile{toptesi.dtx}[2012/09/09 v.5.61 Documented TeX file for
the TOPtesi bundle]
\GetFileInfo{toptesi.dtx}
\title{The TOPtesi bundle}
@@ -102,7 +102,7 @@ the TOPtesi bundle]
%</driver>
% \fi
%
-% \CheckSum{2552}
+% \CheckSum{2565}
%
%% \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
@@ -270,9 +270,9 @@ the TOPtesi bundle]
% the same data for different ``reports''; well, a university student might write a
% bachelor's ``monografia'', then a master thesis and finally a doctoral dissertation;
% why should s/he repeat his/her name, the name of the institution, and so on?
-% all the user commands for the title page redefine default values or strings;
-% therefore if none of the required information is given, the default values and strings are
-% typeset, possibly with hilarious results\dots
+% All the user commands for the title page redefine default values or strings;
+% therefore if none of the required information is given, the default values and strings
+% are typeset, possibly with hilarious results\dots
%
% Since most users are supposed to be Italian, the user commands are mostly in Italian;
% the following description gives their names and meanings; every command receives one
@@ -354,8 +354,8 @@ the TOPtesi bundle]
% \Item[corsodilaurea] gets the proper name of the degree course; the phrase that describes
% the degree course is specified, if necessary, with the following
% command; with this one you specify just, say, ``Electrical Engineering''
-% \Item[CorsoDiLaureaIn] gets the generic name of the degree course, for example ``Bachelor
-% Degree in''
+% \Item[CorsoDiLaureaIn] gets the generic name of the degree course, for example
+% ``Bachelor Degree in''
% \Item[TesiDiLaurea] gets the generic phrase that describes the thesis; by default it is
% ``Tesi di Laurea''; in English one might set it to ``Master Thesis''.
% \Item[NomeMonografia] gets the phrase that describes the bachelor's report; by default
@@ -372,24 +372,29 @@ the TOPtesi bundle]
% after all the command |\annoaccademico| is defined only with that option.
% \Item[logosede] specifies the name of the file that contains the university logo;
% no default is defined; rather a warning message is issued if no name is
-% given or the file is missing, but typesetting goes on without the inclusion
-% of any logo.
+% given or the file is missing, but typesetting goes on without the
+% inclusion of any logo.
% \Item[setbindingcorrection] sets up the length to displace the text block to the external
-% margin so as to have a wider internal margin to accommodate for the binding
-% correction. Its argument is not optional and is used to modify the default
-% correction of 7\,mm.
+% margin so as to have a wider internal margin to accommodate the binding
+% correction. Its argument is not optional and is used to modify the
+% default correction of 7\,mm.
+% \Item[retrofrontespizio] with its argument, made up one or several paragraphs, defines
+% what should be printed on the verso of the title page, generally named
+% ``copyright page''; if this command is specified with an empty
+% text or if it is not used at all, no copyright page is assumed.
% \end{description}
%
% Since the infix strings are all memorized into control sequences and for each of them it
% is possible to use a defining command, all strings can be modified at will, so that there
-% is no difficulty to localize the package in another language; this comes particularly handy
-% for the Erasmus students on double degree programs.
+% is no difficulty to localize the package in another language; this comes particularly
+% handy for the Erasmus students on double degree programs.
%
-% As a final remark notice that the commands for typesetting the title page are contained
-% in the package \texttt{topfront.sty}, which can be used as an autonomous extension to the
-% \texttt{report} document class. One could easily typeset just the title page with a separate
-% \TeX\ source file so as to test the completeness of the commands and coherence of the
-% configuration file or for just printing the isolated title page.
+% As a final remark notice that the commands for typesetting the title page and the
+% copyright page are contained in the package \texttt{topfront.sty}, which can be used
+% as an autonomous extension to the \texttt{report} document class. One could easily
+% typeset just the title page with a separate \TeX\ source file so as to test the
+% completeness of the commands and coherence of the configuration file or for just
+% printing the isolated title and copyright (if any) pages.
%
% \subsection{Typesetting commands}
% The bundle and the TOPtesi document class accept all \LaTeX\ commands provided by
@@ -679,7 +684,7 @@ the TOPtesi bundle]
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{toptesi}%
-[2012/07/31 v.5.60 Class for typesetting university theses]
+[2012/09/09 v.5.61 Class for typesetting university theses]
% \end{macrocode}
%
% The class itself is very simple since it requires just the \texttt{report}
@@ -731,7 +736,7 @@ the TOPtesi bundle]
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{toptesi}%
-[2012/07/31 v.5.60 Extension for toptesi.cls]%
+[2012/09/09 v.5.61 Extension for toptesi.cls]%
% \end{macrocode}
%
% We start with defining the debugging macros; these trace commands and macros
@@ -1724,7 +1729,7 @@ Skipping any redefinition\MessageBreak}%
% \fi
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{topfront}[2012/07/31 v.5.60 Title page for TOPtesi]
+\ProvidesPackage{topfront}[2012/09/09 v.5.61 Title page for TOPtesi]
% \end{macrocode}
%
% The title page information depends on the type of ``thesis' that is being typeset.
@@ -1921,17 +1926,25 @@ Skipping any redefinition\MessageBreak}%
% 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\`a di
% Ingengeria''; if the optional argument is not specified, no 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
-% section, but it does not harm to name this person also in the title page.
+% 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 title page 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 to name this person also in the
+% title page.
+% Finally the |\retrofrontespizio| command, that by default is empty, allows to typeset
+% a copyright page; the argument of this command is in total responsibility of the user
+% who must write it in the thesis main language; the user can specify from zero to
+% several paragraphs, separated by the vertical spaces s/he thinks best; the argument
+% by default is typeset at the bottom f the text block of the copyright page. The user
+% can specify any permeant space at the bottom of his/her argument, so as to set the
+% text in the position s/he likes best.
% \begin{macrocode}
\def\ciclodidottorato#1{\gdef\@ciclo{#1 \@cyclename}}%
\def\corsodilaurea#1{\global\dottoratofalse\gdef\@corso{#1}}
@@ -1944,6 +1957,7 @@ Skipping any redefinition\MessageBreak}%
\newcommand\facolta[2][]{\gdef\@facname{#2}\gdef\@facnumber{#1}}
\def\logosede#1{\edef\@logosede{\noexpand\includegraphics[width=3cm]{#1}}}
\def\tutoreaziendale#1{\gdef\@tutoreaziendale{#1}}
+\newcommand\retrofrontespizio[1]{\long\gdef\@retrofrontespizio{#1}}
% \end{macrocode}
%
% The following commands are user commands that modify the infix strings
@@ -2043,6 +2057,7 @@ Skipping any redefinition\MessageBreak}%
\@ifundefined{@tutoreaziendale}{\def\@tutoreaziendale{}}{}
\@ifundefined{@tutoreaziendalename}%
{\def\@tutoreaziendalename{Supervisore Aziendale}}{}
+\@ifundefined{@retrofrontespizio}{\def\@retrofrontespizio{}}{}
\@ifundefined{@subtitle}{\def\@subtitle{}}{}
%
\@ifundefined{@corso}{\def\@corso{}}{}
@@ -2403,12 +2418,18 @@ Skipping any redefinition\MessageBreak}%
\@tutoreaziendale\par}
\fi
% \end{macrocode}
-% All the material now is on the page; we put some more vertical glue and we close the page
-% sending it to the output file; the final |\endgroup| closes the |\begingroup| that was
-% set at the beginning of this long macro.
-% \begin{macrocode}
- \vfill\par\null
- \if@twoside\cleardoublepage\else\clearpage\fi
+% All the material now is on the page; we put some more vertical glue and handle the
+% copyright page; then we close the page sending it to the output file; the final
+% |\endgroup| closes the |\begingroup| that was set at the beginning of this long macro.
+% In order to handle the copyright page, we test if the internal definition of the
+% copyright page text is empty; in this case no copyright page should be output, and
+% a |\creadoublepage| works fine in both one and two side printing; I the copyright page
+% text is not empty, after the shipping out of the title page, we set the copyright page
+% text flush bottom with the text block, and then we ship out also this copyright page.
+% \begin{macrocode}
+ \par\vfill\null
+ \ifdefempty{\@retrofrontespizio}{\cleardoublepage}%
+ {\clearpage\null\vfill\@retrofrontespizio\par\clearpage}%
\endgroup}
% \end{macrocode}
% \iffalse
@@ -2443,6 +2464,7 @@ Skipping any redefinition\MessageBreak}%
\InName{in}
%%\TutorName{Tutore}
%%\CycleName{ciclo}
+%%\retrofrontespizio{Questo testo รจ soggetto alla Creative Commons Licence}
% \end{macrocode}
% \iffalse
%</topcfg>
@@ -2457,7 +2479,7 @@ Skipping any redefinition\MessageBreak}%
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e} % lavora solo con LaTeX 2e
\ProvidesPackage{topcoman}%
- [2012/07/31 v.5.60 Additional commands for the TOPtesi bundle]
+ [2012/09/09 v.5.61 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