Preamble | \documentclass[option]{style} definitions \begin{document} |
---|---|
Body | ... \end{document} |
\begin{environment-name} .... \end{environment-name}
# $ ~ _ ^ % { }If they are to be printed as text, type
\# \$ \~ \_ \^ \{ \}
\section{title} \subsection{title}
{\bf Bold Text} and {\it Italic Text} {\em Emphasis} and {\rm Roman}
\begin{itemize} ... \end{itemize} \begin{enumerate} ... \end{enumerate} \begin{description} ... \end{description} \begin{verbatim} ... \end{verbatim}Individual list begins with \item.
\begin{tabular}{|c|l|c|r|} Item & Description & Quantity & Costs \\ 1 & toothbrush & 1 & HKD5.00 \\ 2 & towel & 2 & HKD20.00 \\ \end{tabular}
\documentclass{article} \usepackage{graphicx} \begin{document} ... ... \includegraphics[scale=0.5,angle=90]{sample.jpg} ... \end{document}
\title{This is my title} \author{Mr. Morris Law} \date{\today} \begin{document} \maketitle \tableofcontents
\label{labelname} \ref{labelname} \pageref{labelname} to refer to the page where your reference resided.
\begin{thebibliography}{99} \bibitem{lamport} Leslie Lamport. ... \bibitem{knuth}Donald E Knuth. \end{thebibliography}The citation in the text can be made by
\cite{key}