Debian Codegraph @

texmf-dist/doc/latex/unifith/examples/Dottorato.tex

raw
1 % !TeX encoding = UTF-8
2 % !TeX program = pdflatex
3 % !TeX spellcheck = en_US
4
5 \documentclass[a4paper,binding=0.6cm]{unifith}
6
7 \usepackage{microtype}
8 \usepackage[english]{babel}
9 \usepackage[utf8]{inputenc}
10
11 \usepackage{hyperref}
12 \hypersetup{pdftitle={Usage example of the UniFiTh class for a PhD thesis},pdfauthor={Francesco Biccari}}
13
14 % Remove in a normal thesis
15 \usepackage{lipsum}
16 \usepackage{curve2e}
17 \definecolor{gray}{gray}{0.4}
18 \newcommand{\bs}{\textbackslash}
19
20 % Commands for the titlepage
21 \title{Usage example of the UniFiTh class\\ for a PhD thesis}
22 %\subtitle{Subtitle}
23 \alttitle{Optional alternative or translated title}
24 \author{Francesco Biccari}
25 \IDnumber{1234567}
26 \course{Corso di Dottorato\\ in Fisica e Astronomia}
27 \courseorganizer{Dipartimento di Fisica e Astronomia}
28 \cycle{Ciclo XXXV}
29 \advisor{Prof. Name Surname}
30 \advisor{Dr. Name Surname}
31 \coadvisor{Dr. Name Surname}
32 \AcademicYear{2018/2019}
33
34 \thesistype{PhD thesis}
35 \copyyear{2019}
36 \authoremail{[email protected]}
37
38 \examdate{16 April 2019}
39 \examiner{Prof. Name Surname}
40 \examiner{Prof. Name Surname}
41 \examiner{Dr. Name Surname}
42 \versiondate{\today}
43 \ISBN{000000000-0}
44
45 \website{http://biccari.altervista.org}
46
47
48 \director{Prof. Name Surname}
49
50 \begin{document}
51
52 \frontmatter
53
54 \maketitle
55
56 \dedication{Dedicated to\\ Donald Knuth}
57
58 \begin{abstract}
59 This document is an example which shows the main features of
60 the \LaTeXe\ class \texttt{unifith.cls} developed by Francesco Biccari
61 with the help of GuIT (Gruppo Utilizzatori Italiani di \TeX).
62 \end{abstract}
63
64 \begin{acknowledgments}[Ringraziamenti]
65 Ho deciso di scrivere i ringraziamenti in italiano
66 per dimostrare la mia gratitudine verso i membri
67 del GuIT, il Gruppo Utilizzatori Italiani di \TeX, e, in particolare,
68 verso il prof.\ Claudio Beccari e il prof.\ Enrico Gregorio.
69 \end{acknowledgments}
70
71 \tableofcontents
72
73 % Do not use the starred version of the chapter command!
74 \chapter{Non numbered chapter}
75
76 In this manual you can skip the gray text because it is just dummy text.%
77 \footnote{This is a footnote.}
78
79 \textcolor{gray}{\lipsum[1-22]}
80
81
82 \section*{Non numbered section}
83
84 In this manual you can skip the gray text because it is just dummy text.
85
86 \textcolor{gray}{\lipsum[1-22]}
87
88
89
90
91 \mainmatter
92
93 \chapter{Style features of \textsf{UniFiTh}}
94
95 In this chapter I will discuss my stylistic choices of \textsf{UniFiTh}.
96 I will show the page layout geometry and I will describe the page style.
97
98 \section{Page layout}
99
100 The page is fixed at the dimensions of an A4 paper, therefore you have to print your thesis on A4 paper to obtain the best results. The font dimension is fixed at 11\, pt. The text column and the margins are chosen to fill to the best an A4 paper while keeping a reasonable line length (396\, pt) for a good readability. The text height and the text width are in golden ratio (\textasciitilde 1.6180) as well as the outer and inner margins in a two-side document after binding margin removal. Also the top margin (excluding the header) and bottom margin are in the golden ratio. In Fig.~\ref{layout} a sketch of the \textsf{UniFiTh} page layout is shown.
101
102 \begin{figure}[h]
103 \centering
104 \setlength{\unitlength}{0.27mm}
105 \begin{picture}(420,297)(-210,0)
106 \polyline(-210,0)(210,0)(210,297)(-210,297)(-210,0)
107 \Line(0,0)(0,297)
108 \put(27.05,37.4){\polygon(0,0)(139.2,0)(139.2,223.8)(0,223.8)}
109 \put(-27.05,37.4){\polygon(0,0)(-139.2,0)(-139.2,223.8)(0,223.8)}
110 \put(27.05,268.16){\polygon(0,0)(139.2,0)(139.2,4.22)(0,4.22)}
111 \put(-27.05,268.16){\polygon(0,0)(-139.2,0)(-139.2,4.22)(0,4.22)}
112 \end{picture}
113 \caption{Page layout scheme of \textsf{UniFiTh} class using a zero binding margin.}
114 \label{layout}
115 \end{figure}
116
117
118 \section{Page style}
119
120 The captions have a smaller font respect to the text and the label is in boldface. The appearance of the margin notes has been improved.
121 They have the same font dimension of the footnotes and are typed in italics.
122 Moreover I defined a new command to typeset margin note aligned to the left on the right page and vice versa on the left page.
123 Notice that if a binding margin greater than 1.5\,cm is used, the dimensions of the margin notes become too small and very ugly.
124 Do not use them in this case.
125
126 The mathematical objects, figures and tables are numbered within the chapters (e.g. 1.1, 1.2,\ldots for the first chapter, 2.1, 2.2 for the second one and so on\ldots). See for example the number of this simple equation
127 \begin{equation}
128 x_{1,2}=\frac{-b\pm\sqrt{b^2-4ac}}{2a}
129 \end{equation}
130
131
132 The title page is automatically composed when the \texttt{\bs maketitle} command is given.
133 The parameters needed for the title page, author, title, etc\ldots , are supplied by dedicated commands explained in the next section.
134
135 A copy of the university logo in \texttt{pdf} format is supplied in the \textsf{UniFiTh} package (read the documentation for more details). The logo is shown in Fig.~\ref{fig:largenenough}.
136
137 \begin{figure}
138 \centering
139 \IfFileExists{unifilogo.pdf}{
140 \includegraphics[width=0.5\textwidth]{unifilogo.pdf}
141 }{\href{http://biccari.altervista.org/c/informatica/latex/unifilogo.pdf}{CLICK HERE TO DOWNLOAD THE LOGO}\\
142 COMPILE AGAIN AND THE LOGO WILL BE SHOWN HERE}
143 \caption{Logo of the University of Florence.}
144 \label{fig:largenenough}
145 \end{figure}
146
147
148
149 \section{About figures and tables}
150
151 As regards the image formats, please use vector images as much as possible! Use jpg images only for photographs! pdf\LaTeX\ supports the pdf, jpg and png formats.
152
153 A very simple table is show in Tab.~\ref{tab:letters}. Remember to typeset
154 always the table caption above the table. Do not use vertical lines.
155
156 \begin{table}[b]
157 \caption{This is a simple table.}
158 \label{tab:letters}
159 \centering
160 \begin{tabular}{lcc}
161 \toprule
162 Letter & Test & Test \\
163 \midrule
164 A & C & E \\
165 B & D & F \\
166 \bottomrule
167 \end{tabular}
168 \end{table}
169
170
171 \section{A section}
172
173 In this manual you can skip the gray text because it is just dummy text.
174
175 \textcolor{gray}{\lipsum[1-10]}
176
177
178
179 \section{Another section}
180
181 In this manual you can skip the gray text because it is just dummy text.
182
183 \textcolor{gray}{\lipsum}
184
185
186 \appendix
187 \chapter{Special commands provided by \textsf{UniFiTh}}
188
189 \textsf{UniFiTh} provides some special commands, particularly useful for scientific works. You can use for example the roman shape, instead of the italic, for the imaginary unit (\texttt{\bs iu}) and Napier's number (\texttt{\bs eu}):
190 \begin{equation}
191 \eu^{\iu\pi}+1=0
192 \end{equation}
193
194 There are also two commands to speed up the writing of derivatives. In the following example we have used the commands \texttt{\bs der} and \texttt{\bs pder}):
195 \begin{equation}
196 \der{f}{x} \qquad \pder{f}{*{2}{y}}
197 \end{equation}
198
199
200 \textsf{UniFiTh} provides also 4 commands to improve the writing of subscripts, \texttt{\bs rb} and \texttt{\bs tb}, and superscripts, \texttt{\bs rp} and \texttt{\bs tp}. Two of these commands, \texttt{\bs rb} and \texttt{\bs rp}, can be used both in text and in math mode and compose their argument in roman. The other two, \texttt{\bs tb} and \texttt{\bs tp}, can be used only in text mode and compose their argument as are. Here it is an usage example of \texttt{\bs rb} and \texttt{\bs rp}:
201 \[
202 a_b \neq a\rb{b}\qquad a^b \neq a\rp{b}
203 \]
204 And here it is an usage example of \texttt{\bs tb}: \emph{Cu\tb{It} indicates copper bought in Italy}. And a usage example of \texttt{\bs ts}: \emph{Cher G\tp{le} Napol\'eon}.
205
206
207 Then several commands for the correct typesetting of unit of measurements are provided. For example the command \texttt{\bs un} typesets its argument in roman and leaves a thin space between the number and the unit: $25\un{m}$, $3.5\un{m/s}$. Other commands are: (\texttt{\bs g}) 45\g, (\texttt{\bs C}) 30\,\C, (\texttt{\bs A}) 12\,\A, (\texttt{\bs micro}) 40\,\micro m, (\texttt{\bs ohm}) 27\,\ohm.
208
209 We have also \texttt{\bs x} as abbreviation of \texttt{\bs times}: \texttt{\$7 \bs x 10\^{}5\$} gives $7 \x 10^5$. Then \texttt{\bs di} is the differential symbol which automatically insert the correct spacing.
210 \[
211 \int x \di x
212 \]
213
214 Finally we have defined the color \textsf{unifiblue} which is the official color
215 of the University of Florence. It is defined as RGB(0,82.12,146.88). \textcolor{unifiblue}{This text is written with the color \textsf{unifiblue}.}
216
217 In the following dummy text you can observe the usage of \texttt{\bs mnote} command which typesets fancy margin notes.
218
219 \textcolor{gray}{\lipsum}
220 \marginpar{This is a fancy margin note!}
221 \textcolor{gray}{\lipsum}
222
223 \backmatter
224 % bibliography
225 %\cleardoublepage
226 %\phantomsection
227 %\bibliographystyle{UniFiTh} % BibTeX style
228 %\bibliography{bibliography} % BibTeX database without .bib extension
229
230 \end{document}