results.tex (2070B)
1 \section{Results \& Evaluation} 2 \clearpage 3 This section has some results. 4 5 Code listings are available, e.g. \autoref{code:sample}. 6 7 \begin{lstlisting}[float=tb,caption={Some caption.}, label={code:sample}, language=C] 8 #include <stdio.h> 9 int main() { 10 printf("Hello World\n"); 11 } 12 \end{lstlisting} 13 14 I can use subtables, like \autoref{tab:bigtable}. 15 16 \begin{table}[tb] 17 \begin{subtable}[t]{\textwidth} 18 \centering 19 \begin{tabular}{l r | r } 20 & \multicolumn{2}{c}{\underline{Create}} \\ 21 Heading & Heading & Heading \\ 22 \hline \hline 23 Heading & \result{sample} & \result{sample} \\ 24 \end{tabular} 25 \caption{Some caption.} 26 \label{tab:subtable 1} 27 \end{subtable} 28 29 \bigskip 30 31 \begin{subtable}[t]{\textwidth} 32 \centering 33 \begin{tabular}{l r | r } 34 & \multicolumn{2}{c}{\underline{Create}} \\ 35 Heading & Heading & Heading \\ 36 \hline \hline 37 Heading & \result{sample} & \result{sample} \\ 38 \end{tabular} 39 \caption{Some caption.} 40 \label{tab:subtable 2} 41 \end{subtable} 42 43 \bigskip 44 45 \begin{subtable}[t]{\textwidth} 46 \centering 47 \begin{tabular}{l r | r } 48 & \multicolumn{2}{c}{\underline{Create}} \\ 49 Heading & Heading & Heading \\ 50 \hline \hline 51 Heading & \result{sample} & \result{sample} \\ 52 \end{tabular} 53 \caption{Some caption.} 54 \label{tab:subtable 3} 55 \end{subtable} 56 57 \caption{It's a big table} 58 \label{tab:bigtable} 59 \end{table} 60 61 Or simple tables, like \autoref{tab:smalltable}. 62 63 \begin{table}[tb] 64 \centering 65 \begin{tabular}{l | r | r} 66 Heading & Heading & Heading \\ 67 \hline \hline 68 Row & \result{sample} & \result{sample} \\ 69 Row & \result{sample} & \result{sample} 70 \end{tabular} 71 \caption{Smaller table} 72 \label{tab:smalltable} 73 \end{table} 74 \clearpage