diff options
Diffstat (limited to 'macros/xetex/latex/technion-thesis-template/Example/chapfirst.tex')
-rw-r--r-- | macros/xetex/latex/technion-thesis-template/Example/chapfirst.tex | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/macros/xetex/latex/technion-thesis-template/Example/chapfirst.tex b/macros/xetex/latex/technion-thesis-template/Example/chapfirst.tex new file mode 100644 index 0000000000..8b451fbd41 --- /dev/null +++ b/macros/xetex/latex/technion-thesis-template/Example/chapfirst.tex @@ -0,0 +1,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} + |