diff options
author | Karl Berry <karl@freefriends.org> | 2013-09-01 22:41:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-09-01 22:41:48 +0000 |
commit | d796117a8cface8ab25eda5ebc564c94e145c8a8 (patch) | |
tree | a8642b656094b4475741ec1ff9ddf982c579ce5e /Master/texmf-dist/doc/latex/toptesi/topfront-example.tex | |
parent | e757e4bfb6f6d3fd6faf03ebe3a334838c29c9f6 (diff) |
toptesi (1sep13)
git-svn-id: svn://tug.org/texlive/trunk@31558 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/toptesi/topfront-example.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/toptesi/topfront-example.tex | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/toptesi/topfront-example.tex b/Master/texmf-dist/doc/latex/toptesi/topfront-example.tex new file mode 100644 index 00000000000..cfef6131ab6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/toptesi/topfront-example.tex @@ -0,0 +1,74 @@ +% Stand-alone sample usage of 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 + +\documentclass[a4paper,11pt,twoside]{report}% it works also with book and article + +\usepackage{ifxetex} + +\ifxetex + \usepackage{fontspec}% Ddefault fonts are the Latin Modern OpenType ones + \usepackage{polyglossia} + \setmainlanguage{italian} + \setotherlanguage{english} +\else + \usepackage[english,italian]{babel} + \usepackage[T1]{fontenc}\usepackage{lmodern} + \usepackage[latin1]{inputenc} +\fi +\usepackage{graphicx} + +\usepackage{topfront} + +\begin{document}\errorcontextlines=9 +% These data must be here after \begin{document} and before \frontespizio if XeLaTeX +% is being used. +% When using pdfLaTeX these data may be anywhere before \frontespizio, even in the preamble. +% See the toptesi-doc-xetex.pdf documentation for more details. +% +% Uncomment the following line if you want a title page with English infix phrases +\selectlanguage{english}% the default language is changed from Italian to English +% + + +\ateneo{Universit\`a di Torino} +\corsodilaurea{Astronomia applicata} +\titolo{La pressione barometrica di~Giove} +\sottotitolo{Metodo dei satelliti medicei} +\candidato{\tabular{@{}l@{}}Galileo \textsc{Galilei}\\ +\quad matricola 123456\endtabular} +\secondocandidato{\tabular{@{}l@{}}Evangelista \textsc{Torricelli}\\ +\quad matricola 123457\endtabular} +\relatore{prof.\ Margherita Hack} +\NomeTutoreAziendale{Supervisore aziendale\\Osservatorio Astronomico di Pino Torinese} +\tutoreaziendale{dott.\ Roberto Ferrero} +\sedutadilaurea{Agosto 1615} +\logosede{logounito} + + +% Since this sample file may be typeset either in Italian or in English we need a test: +\iflanguage{english}{% + \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} + \CycleName{cycle} + \NomePrimoTomo{First volume} + \NomeSecondoTomo{Second Volume} + \NomeTerzoTomo{Third Volume} + \NomeQuartoTomo{Fourth Volume} + \logosede{logotrieste,logopolito}% or comma separated list of logos +}{} + + +\frontespizio +\end{document} |