CSE499 L3 Research Writing Latex
CSE499 L3 Research Writing Latex
Your Bibtex
Your Latex File
File
Latex compile x1
Bibtex compile x2
Latex compile x3
Dvips compile x4
● Document Class
Predefined Formats (article, report, book, research
paper..).
● Packages used
Added Functionality (graphics, reference style,...).
● Main Body
Text and Bibliography References.
The Basics
● Document Class
\documentclass[options]{class}
options = a4paper, 11pt, 12pt, 10pt, twocolumn,
landscape,...
class = article, report, book,...
● Packages
\usepackage{package name}
epsfig = insert PS pictures into the
document
fancyhdr = easy definition of footer and
header
Body of Text
● Sections
– \section{…} = 1. Latex is Great
– \subsection{…} = 1.1 Why Latex is Great
– \subsubsection{…} = 1.1.1 Reason One
– \appendix - changes numbering scheme
– \chapter{…} - To be used with book and report
document classes
● Titles, Authors and others
– \title{…} \author{…}
– \footnote{…}
Format Contd.
● \maketitle - Display Title and Author
● \tableofcontents - generates TOC
● \listoftables - generates LOT
● \listoffigures - generates LOF
● Labels
– \label{marker} - Marker in document.
– \pageref{marker} - Displays page no. of marker.
– \ref{marker} - Displays section location of marker.
● Itemise
– Use either enumerate, itemize or description.
– see handout for example.
Lists
● Source
– \begin{itemize}
– \item Apple
– \item Orange
– \end{itemize}
● Result
– Apple
– Orange
Lists
● Enumerate instead of itemize gives
a numbered list
● Lists can be recursive
Environment
● Something between
– \begin{name}
– \end{name}
● Many command, for example \bf affect
the text until the end of environment
● Can be recursive
● Examples:
– itemize, center, abstract
Group
● Text between { and }
● Many commands work until the end of
the group
● Code
– put {one word \bf in bold} here
● Result
– put one word in bold here
Alignment
● Environments center, flushleft,
flushright
● Example
– \begin{flushright}
– Right aligned
– \end{flushright}
● Result
Right aligned
Font size
\tiny \scriptsize \footnotesize
\small \normalsize
\large \Large
\LARGE \huge
\Huge
Example of Latex document
\documentclass{article}
\title{Simple Example}
\author{Andrei Gurtov}
\date{March 2000}
\begin{document}
\maketitle
Hello world!
\end{document}
Tabular
\begin{figure}[options]
\begin{table}[options]
Options (recommendations)
h = place table here
t = place at top of page
b = place at bottom of page
\begin{center}
{\large
$$ y=\frac{a^3+2c_{x}}{1+\sqrt{b_{x}}} $$
\\
\vspace{0.2in}
$$
Q=\sum_{i=1}^{j}\int_{\mu}^{\infty}f(x_
{j})dx $$ \\
\vspace{0.2in}
$$ \Psi = \oint_{-
\infty}^{\infty}f_{xy}({\frac{\partial
Qx}{\partial Qy}})^{\Im_{\pi}^ \prime} $$ \\
}
Tools
PC based Latex:
– TexMaker, Lyx, TexStudio, TexWorks