latex/workbook/example6.tex
author Puneeth Chaganti <punchagan@fossee.in>
Mon, 31 Jan 2011 17:12:36 +0530
changeset 152 ac12270f8fdf
parent 107 80a8b46754f8
permissions -rw-r--r--
vcs: Introduce commit with -u and -m parameters commit is now introduced with -u and -m parameters. This fixes a couple of problems -- 1) hg sometimes doesn't allow commits without username 2) vi(m) is the default editor -- most people can't use it (yet).

%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}