latex/workbook/example6.tex
author Puneeth Chaganti <punchagan@fossee.in>
Mon, 31 Jan 2011 12:24:43 +0530
changeset 149 4499aebbee83
parent 107 80a8b46754f8
permissions -rw-r--r--
vcs: Fix pygments highlighting of code blocks with $ and ' Pygments highlighting breaks when a code block ends with a lone $ on a line or when it has an unmatched '.

%hello.tex - First LaTeX document
\documentclass[12pt]{article}

\title{LaTeX}
\author{The FOSSEE Team}
\date{August 2010}

\begin{document}
\maketitle
\tableofcontents

\begin{abstract}
This is a sample document to be used in the STTP course for a quick introduction to \LaTeX
\end{abstract}

\section{Introduction}
LaTeX is a typesetting program used to produce excellently typeset documents.

\section{Structural Elements}
Let us now look at giving a better structure to our document. 

\subsection{documentclass}
The \verb+documentclass+ variable tells \LaTeX, the type of document we wish to prepare. 

\subsection{Sections, Chapters and Parts}
We shall first look at how to divide the document into Sections, Chapters and Parts. 

\subsubsection{Appendices}
I can't tell you how to add an appendix, in the main document. 

\end{document}