summaryrefslogtreecommitdiff
path: root/lecture-notes/latex/workbook/example6.tex
blob: 828a188d5a8e2eb4aa50b4f6a0a6714cd7f33b6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
%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}