summaryrefslogtreecommitdiff
path: root/info/italian/GuIT/corso_guit/esempi/esempio_3_1.tex
blob: b6c3b3add33487691dbce4ef7c248dce26669a17 (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
\documentclass[a4paper,10pt]{article}

\usepackage[italian]{babel}
\usepackage[utf8x]{inputenc}
%\usepackage[latin1]{inputenc}
\usepackage{lipsum} 

% \usepackage{float} % permette di forzare il posizionamento dei float


\begin{document}


% \lipsum[1]


\begin{tabular}{l r r}
Votantonio	&	12 &	45,3 \\
Votantonio	&	15 &	78,5 \\
Votantonio	&	17 & 	34,0 \\
\end{tabular}


% \lipsum[1]


 \begin{table}[htb] % \caption{Risultati delle elezioni}
 \begin{tabular}{l r r}
 Votantonio	&	12 &	45,3 \\
 Votantonio	&	15 &	78,5 \\
 Votantonio	&	17 & 	34,0 \\
 \end{tabular}
 \end{table}


% \lipsum[1]



 \begin{table}[htb] \caption{Risultati delle elezioni}
   \centering
 	\begin{tabular}{p{.3\textwidth} r r}\hline
 		\multicolumn{1}{l}{Candidati}
 		&\multicolumn{1}{c}{Votanti}
 		&\multicolumn{1}{c}{\%}\\\hline
 		Antonio La Trippa	&	1.200 &	27,3 \\
 		Antonio La Trippa	&	1.500 &	34,1 \\
 		Antonio La Trippa	&	1.700 & 38,6 \\\hline
 	\end{tabular}
 \end{table}


\end{document}