Step 2: Main Body of the Document
So between the \begin{document} and \end{document} tags we need to actually start some writing.
How about a title page?
So we need to add the following to the preamble;
\author{Your name}
\date{\today}
\title{My title}
Where Your Name, and My Title are changed with whatever you want to add, and \today is a command that tells latex to print todays date.
After these are added to the preamble, we simply add the;
\maketitle
command between the document tags.
Table of Contents/Figures/Tables
These are easy to add and only require a few lines;
\tableofcontents
\listoffigures
\addcontentsline{toc}{chapter}{List of Figures}
\listoftables
\addcontentsline{toc}{chapter}{List of Tables}
\newpage
So these commands create a table of contents and figures and tables, and adds the latter two to the table of contents.
Now we can actually start typing away,
New document part
To seperate your document into several parts such as beginning, middle, and end we type;
\part{Beginning}
which will create a big division between parts.
Chapters
These are easy like parts we simply type;
\chapter{My impressive chapter title}
Sections
Now we can further divide the chapters into sections using the following command;
\section{Subdivision of my impressive chapter}
subsections
This is getting ridiculous but we can make subsections, and even subsubsections by typing the following;
\subsection{A subdivision to my awesome section}
\subsubsection{A subsection to my subsection}
So there you go, under eas section/subsection/subsubsection you write your paragraph! Easy?
How about a title page?
So we need to add the following to the preamble;
\author{Your name}
\date{\today}
\title{My title}
Where Your Name, and My Title are changed with whatever you want to add, and \today is a command that tells latex to print todays date.
After these are added to the preamble, we simply add the;
\maketitle
command between the document tags.
Table of Contents/Figures/Tables
These are easy to add and only require a few lines;
\tableofcontents
\listoffigures
\addcontentsline{toc}{chapter}{List of Figures}
\listoftables
\addcontentsline{toc}{chapter}{List of Tables}
\newpage
So these commands create a table of contents and figures and tables, and adds the latter two to the table of contents.
Now we can actually start typing away,
New document part
To seperate your document into several parts such as beginning, middle, and end we type;
\part{Beginning}
which will create a big division between parts.
Chapters
These are easy like parts we simply type;
\chapter{My impressive chapter title}
Sections
Now we can further divide the chapters into sections using the following command;
\section{Subdivision of my impressive chapter}
subsections
This is getting ridiculous but we can make subsections, and even subsubsections by typing the following;
\subsection{A subdivision to my awesome section}
\subsubsection{A subsection to my subsection}
So there you go, under eas section/subsection/subsubsection you write your paragraph! Easy?
No comments:
Post a Comment