summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/toptesi/topfront-example.tex
blob: dfada0c12bbe840dfe354f97a44fb56e0cf409fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
% Stand-alone sample usage of package topfront

% With XeLaTeX the document should be created with the UTF-8 encoding
% Use the following Magic comment line only if you typeset the document
% with pdfLaTeX

% !TEX encoding = IsoLatin

% Of course you may create the document in utf8 encoding even if you use pdfLaTeX,
% but you have to change the above magic comment accordingly (change "IsoLatin"
% with "UTF-8 Unicode"). Change also the inputenc option from "latin1" to "utf8".
%
% You need not care for any input encoding and any option to the inputenc
% package, if you avoid using national non-ASCII characters, but use the
% standard LaTeX commands to access them; for example: \`A, \ss, \L, etc.

% This document may be typeset with
%
% 1) pdfLaTeX or XeLaTeX or LuaLaTeX
% 2) in Italian or in English
% 3) with \frontepsizio or \frontespizio*
%
% for a total of 8 combinations.
%
% The typeset appearance changes a little bit by choosing different fonts
% in the preamble settings. The Type 1 fonts available to pdfLaTeX
% may be different from the OpenType fonts available to XeLaTeX or LuaLaTeX.


\documentclass[a4paper,12pt,twoside]{report}% it works also with book and article

\usepackage{iftex}% to test if the typesetting engine is pdflatex or xelatex

\ifPDFTeX % settings for pdfLaTeX
	\usepackage[english,italian]{babel}
	\usepackage[T1]{fontenc}
	\usepackage[latin1]{inputenc}% It would be better to use utf8
	\usepackage{lmodern}% Latin Modern Type 1 fonts 
\else % settings for XeLaTeX and LuaLaTeX
	\usepackage{fontspec}
	\setmainfont{Latin Modern Roman}% Latin Modern OpenType fonts
	\usepackage{polyglossia}
	\setmainlanguage{italian}
	\setotherlanguage{english}
\fi
\usepackage{graphicx}

\usepackage[classica]%
{topfront}

\begin{document}
% These data must be here after \begin{document} and before \frontespizio
% if XeLaTeX or LuaLaTeX is being used.
% See the toptesi-doc-pdftex.pdf documentation for more details.
%
% Comment the following line if you want a title page with Italian infix phrases
% \selectlanguage{english}% the default language is changed from Italian to English
%

% Settings common to both languages
% Redefine \IDN for English

\candidato{Galileo \textsc{Galilei}\IDN 123456}
\secondocandidato{Evangelista \textsc{Torricelli}\IDN 123457}
\relatore{prof.\ Margherita Hack}
\tutoreaziendale{dott.\ Roberto Ferrero}

% The English definitions redefine all the infix words, besides a few variable
% strings.
% Even the supervisor names may be redefined so as to write professional titles
% according to the English style (capitalisation, spelling, etc.)
% For a specific kind of thesis some infix string redefinitions may be omitted.
% Since this sample file may be typeset either in Italian or in English we need
% a test.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% WARNING %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Use either the frontespizio starred or unstarred environment
% OR the isolated \frontespizio starred or unstarred command
% The environment should be preferred.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frontespizio*}
\iflanguage{english}{% English language
	\retrofrontespizio{This work is subject to the Creative Commons Licence}
	\DottoratoIn{PhD Course in\space}
	\CorsoDiLaureaIn{Master degree course in\space}
	\NomeMonografia{Bachelor Degree Thesis}
	\TesiDiLaurea{Master Degree Thesis}
	\NomeDissertazione{PhD Dissertation}
	\InName{in}
	\CandidateName{Candidates}% or Candidate
	\AdvisorName{Supervisor}% or Supervisors
	\TutorName{Tutor}
	\NomeTutoreAziendale{Internship Tutor\\Monviso Astronomical Observatory}
	\CycleName{cycle}
	\NomePrimoTomo{First volume}
	\NomeSecondoTomo{Second Volume}
	\NomeTerzoTomo{Third Volume}
	\NomeQuartoTomo{Fourth Volume}
	\titolo{Jupiter barometric pressure}
	\sottotitolo{Method of the Medicean satellites}
	\corsodilaurea{Applied Astronomy}
	\logosede{logotre,logoquattro}% one logo or a comma separated list of logos
	\sedutadilaurea{August 1615}
	\ateneo{West Piedmont University}
	\nomeateneo{Royal Mountain Campus}
	\renewcommand*\IDN{\\\quad ID number:\space}
}{% Italian language
%	\ateneo{Universit\`a del Piemonte Occidentale}
%	\ateneo{Universit\`a degli studi di Modena e Reggio Emilia}
\DeclareRobustCommand{\uniMRE}{\smash{\parbox[b]{\textwidth}{\centering\Large
\MakeUppercase{Università degli Studi}\\
\MakeUppercase{di Modena e Reggio Emilia}}}}
%	\ateneo{\uniMRE}
%	\ateneo{Freie Universt\"at Bozen -- Libera Universit\`a di Bolzano -- Universit\`a Liedia de Bulsan}
\DeclareRobustCommand{\uniBZ}{\smash{\parbox[b]{\textwidth}{\centering\large
\MakeUppercase{Freie Universität Bozen}\\
\MakeUppercase{Libera Università di Bolzano}\\
\MakeUppercase{Università Leidia de Bulsan}}}}
	\ateneo{\uniBZ}
%	\ateneo{Universit\`a della Valle d'Aosta -- Universit\'e de la Vall\'ee d'Aoste}
\DeclareRobustCommand{\uniVdA}{\smash{\parbox[b]{\textwidth}{\centering \Large
\MakeUppercase{Università della Valle d'Aosta}\\
\MakeUppercase{Universitè de la Vallée d'Aoste}}}}
%	\ateneo{\uniVdA}
	\nomeateneo{Studium Monregalense}
	\corsodilaurea{Astronomia applicata}
	\titolo{La pressione barometrica di~Giove}
	\sottotitolo{Metodo dei satelliti medicei}
	\NomeTutoreAziendale{Supervisore aziendale\\Osservatorio Astronomico del
	 Monviso}
%	\sedutadilaurea{1615-1616}
	\annoaccademico{1615-1616}
	\logosede{logouno,logodue}% one logo or a comma separated list of logos
}
\end{frontespizio*}

\end{document}