Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A DBD sample chapter as an introduction into LaTeX

This should help people getting started in LateX with the most commonly used commands and blocks, a good references is the Latex Wikibooks, which can be found here

Some Basics

Structuring documents

Code Block
\chapter{A sample Chapter}

Structuring text using chapters, sections, subsections and paragraphs
\section {Introduction}
\subsection {List of systems}
\subsubsection{List of subsystems}
\paragraph{List of subsystems}

these commands can be used to structure chapters into sections, subsections, paragraphs etc.
More details can be found here

Lists and enumerations

Code Block
\section{Lists and enumerations}
An example for a bullet list
\begin {itemize}
\item Item 1
\item Item 2
\end {itemize}
and for a numeratednumbered list
\begin {enumerate}
\item Item 1
\item Item 2
\end {enumerate}

A common element are bulleted and numbered lists, which is shown above

Labels and cross-references

Code Block

 \section{Labels and Cross-referencing}
Any position in a text can be marked using
\label{blabla} and be referenced using \ref{blabla}

common are references and labels for chapters, sections and figures

Code Block

\chapter{A sample Chapter\label{sid:chapter_sample}}
as can be seen in Chapter~\ref{{sid:chapter_sample}