| 1 |
% Stand-alone sample usage of package topfront |
| 2 |
|
| 3 |
% The document should be created with the UTF-8 encoding |
| 4 |
% Use the following Magic comment line to configure your intelligent |
| 5 |
% LaTeX friendly shell editor |
| 6 |
|
| 7 |
% !TEX encoding = UTF-8 Unicode |
| 8 |
|
| 9 |
% With pdfLaTeX you might use other encodings, but you'd better not! |
| 10 |
|
| 11 |
% You need not care for any input encoding and any option to the inputenc |
| 12 |
% package, if you avoid using national non-ASCII characters, but use the |
| 13 |
% standard LaTeX commands to access them; for example: \`A, \ss, \L, etc. |
| 14 |
|
| 15 |
% This document may be typeset with |
| 16 |
% |
| 17 |
% 1) pdfLaTeX or XeLaTeX or LuaLaTeX |
| 18 |
% 2) in Italian or in English |
| 19 |
% 3) with \frontepsizio or \frontespizio* |
| 20 |
% |
| 21 |
% for a total of 8 combinations. |
| 22 |
% |
| 23 |
% The typeset appearance changes a little bit by choosing different fonts |
| 24 |
% in the preamble settings. The Type 1 fonts available to pdfLaTeX |
| 25 |
% may be different from the OpenType fonts available to XeLaTeX or LuaLaTeX. |
| 26 |
|
| 27 |
|
| 28 |
\documentclass[ |
| 29 |
a4paper, |
| 30 |
11pt, |
| 31 |
twoside]{book}% it works also with book and article |
| 32 |
|
| 33 |
\usepackage{iftex}% Which typesetting engine? pdflatex, xelatex or lualatex |
| 34 |
|
| 35 |
\ifPDFTeX % settings for pdfLaTeX |
| 36 |
\usepackage[english,italian]{babel} |
| 37 |
\usepackage[T1]{fontenc} |
| 38 |
\usepackage[utf8]{inputenc}% Don't use anything else but utf8 |
| 39 |
\usepackage{lmodern}% Latin Modern Type 1 fonts |
| 40 |
\else % settings for XeLaTeX and LuaLaTeX |
| 41 |
\usepackage{fontspec} |
| 42 |
\setmainfont{Latin Modern Roman}% Latin Modern OpenType fonts |
| 43 |
\usepackage{polyglossia} |
| 44 |
\setmainlanguage{italian} |
| 45 |
\setotherlanguage{english} |
| 46 |
\fi |
| 47 |
\usepackage{graphicx} |
| 48 |
|
| 49 |
\newif\ifmagistrale \magistraletrue% topfront expects these settings |
| 50 |
\usepackage[% |
| 51 |
classica, |
| 52 |
evenboxes, |
| 53 |
]{topfront} |
| 54 |
|
| 55 |
\begin{document}%\selectlanguage{english} |
| 56 |
% These data must be here after \begin{document} and before \frontespizio |
| 57 |
% if XeLaTeX or LuaLaTeX is being used. |
| 58 |
% See the toptesi-doc-pdftex.pdf documentation for more details. |
| 59 |
% |
| 60 |
% Comment the following line if you want a title page with Italian infix phrases |
| 61 |
% \selectlanguage{english}% the default language is changed from Italian to English |
| 62 |
% |
| 63 |
|
| 64 |
% Settings common to both languages |
| 65 |
% Redefine \IDlabel for English; see below |
| 66 |
\candidato{Galileo \textsc{Galilei}}[123456] |
| 67 |
%\secondocandidato{Evangelista \textsc{Torricelli}}[123457] |
| 68 |
\relatore{prof.\ Margherita Hack} |
| 69 |
\tutoreaziendale{dott.\ Roberto Ferrero} |
| 70 |
|
| 71 |
% The English definitions redefine all the infix words, besides a few |
| 72 |
% variable % strings. |
| 73 |
% Even the supervisor names may be redefined so as to write professional |
| 74 |
% titles according to the English style (capitalisation, spelling, etc.) |
| 75 |
% For a specific kind of thesis some infix string redefinitions may be |
| 76 |
% omitted. |
| 77 |
% Since this sample file may be typeset either in Italian or in English |
| 78 |
% we need a test. |
| 79 |
|
| 80 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% WARNING %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 81 |
|
| 82 |
% Use either the frontespizio starred or unstarred environment |
| 83 |
% OR the isolated \frontespizio starred or unstarred command |
| 84 |
% The environment should be preferred. |
| 85 |
|
| 86 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 87 |
\begin{frontespizio*} |
| 88 |
\iflanguage{english}{% English language |
| 89 |
\retrofrontespizio{This work is subject to the Creative Commons Licence} |
| 90 |
\DottoratoIn{PhD Course in\space} |
| 91 |
\CorsoDiLaureaIn{Master degree course in\space} |
| 92 |
\NomeMonografia{Bachelor Degree Thesis} |
| 93 |
\TesiDiLaurea{Master Degree Thesis} |
| 94 |
\NomeDissertazione{PhD Dissertation} |
| 95 |
\InName{in} |
| 96 |
\CandidateName{Candidates}% or Candidate |
| 97 |
\AdvisorName{Supervisor}% or Supervisors |
| 98 |
\TutorName{Tutor} |
| 99 |
\NomeTutoreAziendale{Internship Tutor\\Monviso Astronomical Observatory} |
| 100 |
\CycleName{cycle} |
| 101 |
\NomePrimoTomo{First volume} |
| 102 |
\NomeSecondoTomo{Second Volume} |
| 103 |
\NomeTerzoTomo{Third Volume} |
| 104 |
\NomeQuartoTomo{Fourth Volume} |
| 105 |
\titolo{Jupiter barometric pressure} |
| 106 |
\sottotitolo{Method of the Medicean satellites} |
| 107 |
\corsodilaurea{Applied Astronomy} |
| 108 |
\logosede{logotre,logoquattro}% one logo or a comma separated list of logos |
| 109 |
\sedutadilaurea{August 1615} |
| 110 |
\ateneo{West Piedmont University} |
| 111 |
% \ateneo{} |
| 112 |
\nomeateneo{Royal Mountain Campus} |
| 113 |
\renewcommand*\IDlabel{\\\quad ID number:\space} |
| 114 |
}{% Italian language |
| 115 |
\ateneo{Universit\`a del Piemonte Occidentale} |
| 116 |
\nomeateneo{Studium Monregalensis} |
| 117 |
\corsodilaurea{Astronomia applicata} |
| 118 |
\titolo{La pressione barometrica di Giove} |
| 119 |
\sottotitolo{Metodo dei satelliti medicei} |
| 120 |
\NomeTutoreAziendale{Supervisore aziendale\\Osservatorio Astronomico del Monviso} |
| 121 |
\sedutadilaurea{Agosto 1615} |
| 122 |
\logosede{logouno,logodue}% one logo or a comma separated list of logos |
| 123 |
} |
| 124 |
\end{frontespizio*} |
| 125 |
|
| 126 |
\end{document} |