summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/technion-thesis-template/Example/chapfirst.tex
blob: 8b451fbd4169172af7b0f3440b343dba75acd3d1 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
\chapter{A Chapter}\label{chap_first}

\section{First Section}
This section has a theorem with its proof. 

\begin{theorem}\label{thm:earth}
    The Earth is round.
\end{theorem}

\begin{IEEEproof}
    Trivial.
\end{IEEEproof}

It also has a corollary.

\begin{corollary}
    The Earth is not flat.
\end{corollary}

\begin{IEEEproof}
    Follows from \Cref{thm:earth}.
\end{IEEEproof}
Note the use of the cleveref package here. 

We also cite an article~\cite{Blackwell1951} and another article \cite{knuth_notation}. 

\section{Second Section}
Lemmas are useful, too. 

\begin{lemma}\label{lem:roses}
    Roses are red. 
\end{lemma}

\begin{IEEEproof}
    Violets are blue.
\end{IEEEproof}

Sometimes, we need an example.

\begin{example}
    \Cref{tab:roses} demonstrates \Cref{lem:roses}. 
	\begin{table}[t]
			\centering
            \caption[Short caption]{Long caption (now it is)} \label{tab:roses}
	\begin{tabular}{cc}
        \toprule  color & flower \\  \midrule
        red    & rose \\ 
        blue   & violet \\
        yellow & daisy \\  \bottomrule
	\end{tabular} 	
	\end{table}		
\end{example}    

\lipsum[1-5]


% Making sure appendices are aptly named
\namedsubappendices
\begin{subappendices}

\section{First appendix}
An appendix. 

\section{Second appendix}
And another. 

 \end{subappendices}