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