dissertationLaTeX_June7_18
dissertationLaTeX_June7_18
Gianluca Bianchin
[email protected]
In this workshop:
Downloading and understanding templates (UCR dissertation)
Provide references to “work your way around”
In this workshop:
Downloading and understanding templates (UCR dissertation)
Provide references to “work your way around”
In this workshop:
Downloading and understanding templates (UCR dissertation)
Provide references to “work your way around”
Formatting files:
.cls file (document class file)
.clo file (class option file)
.sty file (style file)
.bst file (BibTeX style file)
.bib file (BibTeX file)
The main document is the file which LATEX will be told to compile first
1 \section{Title}
2 \subsection{Title}
3 \subsubsection{Title}
4 \paragraph{Title}
5 \subparagraph{Title}
NOTE
References are automatically updated whenever changes are made to
the structure of the document
Referencing requires compiling twice!
Figures and tables are treated in a special way in LATEX since they cannot
be broken across pages
Figures and tables are treated in a special way in LATEX since they cannot
be broken across pages
1 \begin{tabular}{ | c | c | c | }
2 \hline
3 cell1 & cell2 & cell3 \\
4 cell4 & cell5 & cell6 \\
5 cell7 & cell8 & cell9 \\
6 \hline
7 \end{tabular}
Sample tables:
ShareLaTeX page
OverLeaf page
1 \begin{table}[h!]
2 \begin{center}
3
4 \begin{tabular}{ |c|c|c| }
5 \hline
6 cell1 & cell2 & cell3 \\
7 cell4 & cell5 & cell6 \\
8 cell7 & cell8 & cell9 \\
9 \hline
10 \end{tabular}
11
12 \caption{Table to test captions and labels}
13 \label{table:1}
14 \end{center}
15 \end{table}
1 \includegraphics[width=4cm, height=4cm]{lion}
1 \includegraphics[width=4cm, height=4cm]{lion}
1 \begin{figure}[h]
2 \centering
3
4 \includegraphics[width=4cm, height=4cm]{lion}
5
6 \label{figure:1}
7 \caption{This figure shows a lion.}
8 \end{figure}
r 2 = s2 + t2 ,
1 \begin{align*}
2 rˆ{2} = sˆ{2}+tˆ{2}, \\ 2u + 1 = v + wα ,
3 2u + 1 = v + wˆ{\alpha}, \\ x+z
4 x = \frac{x+z}{\sqrt{s+2u}} \\ x= √
s + 2u
5 \end{align*}
The keyword einstein is a TAG, and will be used to cite in the text
G. Bianchin (UCR GradQuant) Advanced Formatting in LATEX June 7, 2018 32 / 40
BibTeX: The database
Only the entries referenced in the .tex file will be shown in the Bibliography
GradQuant:
Website: http://gradquant.ucr.edu
Workshops → Previous workshop resources
Resources → Programming and databases