equal
deleted
inserted
replaced
|
1 %hello.tex - First LaTeX document |
|
2 \documentclass[12pt]{article} |
|
3 |
|
4 \title{LaTeX} |
|
5 \author{The FOSSEE Team} |
|
6 \date{August 2010} |
|
7 |
|
8 \begin{document} |
|
9 \maketitle |
|
10 \tableofcontents |
|
11 |
|
12 \begin{abstract} |
|
13 This is a sample document to be used in the STTP course for a quick introduction to \LaTeX |
|
14 \end{abstract} |
|
15 |
|
16 \section{Introduction} |
|
17 LaTeX is a typesetting program used to produce excellently typeset documents. |
|
18 |
|
19 \section{Structural Elements} |
|
20 Let us now look at giving a better structure to our document. |
|
21 |
|
22 \subsection{documentclass} |
|
23 The \verb+documentclass+ variable tells \LaTeX, the type of document we wish to prepare. |
|
24 |
|
25 \subsection{Sections, Chapters and Parts} |
|
26 We shall first look at how to divide the document into Sections, Chapters and Parts. |
|
27 |
|
28 \subsubsection{Appendices} |
|
29 I can't tell you how to add an appendix, in the main document. |
|
30 |
|
31 \end{document} |