February 11, 2015
P V
A LaTeX file is an ASCII file with a .tex extension
There are some special characters:
%, $, \, &, #, _, ~, ^, {, }
Use them by prefacing with \
First command must be:
\documentclass[12pt]{article}
All text placed between the below:
\begin{document}
\end{document}
Hello World
\documentclass[12pt]{article}
\begin{document}
Hello World!
\end{document}
{\it I am italicized}
{\bf Bold text}
{\tt typewriter-like}
\underline{This is underlined}
\centerline{Single line of centered text}
\begin{center}Multiple \\ centered \\ lines \end{center}
{\tiny teeeny-tiny }
{\small still small }
{\large growing... }
{\Large getting there }
{\Huge Enormous!}
\begin{equation}
a = \pi r^2
\label{eq:area}
\end{equation}
The area of a circle can be described by equation \ref{eq:area}.
Inline math: $d = 2 \pi r$.