master-thesis/doc/Problem.tex

93 lines
2.5 KiB
TeX
Raw Normal View History

2019-07-29 17:13:47 +00:00
\chapter{\label{chapter2}Problem / latex samples}
%** Problem.tex: Documentation in own words of the problem to
% be addressed in this document:
% What is the challenge, why is it useful what you
% plan to do.
In \ref{introduction} we start with our introduction to the problem that we
are going to address. Since we do not want to waste the readers time we
go and show the essential issues of latex in section
\ref{chapter2:essentials}.
\section{\label{chapter2:essentials}Essentials}
2019-07-29 17:13:47 +00:00
Well this section can be further subdivided into subsection. We present
this in subsection \ref{chapter2:essentials:subsections}.
\subsection{\label{chapter2:essentials:subsections}Subsections}
\paragraph{\label{introduction:essentials:subsections:paragraph}Paragraphs}
can be specially referenced as well.
Of further importance is the understanding of the following environments:
%*** itemized lists
\begin{itemize}
\item This shows an itemized bullet list
\begin{itemize}
\item Which can be used for several levels\ldots
\end{itemize}
\end{itemize}
%*** enumerated lists
\begin{enumerate}
\item The same applies to enumerated lists.
\end{enumerate}
%** figures
\begin{figure}[!hbt]
\begin{center}
% \includegraphics[width=\textwidth, angle=90]{file_name.eps}
\caption{This is a figure to be printed in a float}
\label{file_name}
\end{center}
\end{figure}
By figure \ref{file_name}, we show some funny figures.
Table with caption and footnotes below the table.
\begin{table}[htbp]
\begin{center}\begin{minipage}{\textwidth}
\begin{tabular}{| c | p{130pt} | l |}
\hline
Column 1 & Column 2 \newline (additional line) & Column 3 \\
\hline
C1,R2 & C2,R2 & C2,R3 \\
\hline
C1,R3 & \multicolumn{2}{| c |}{C2\&C3,R3} \\
\hline
C1,R4 & C2,R4\footnote{Footnote to table~\ref{tab:table1}} & C3,R4\\
\hline
\end{tabular}
\end{minipage}
\caption{Table 1}
\label{tab:table1}
\end{center}
\end{table}
Examples of different text sizes:
\small Small \\
\scriptsize Script size \\
\normalsize Normal \\
\large Large \\
\huge Huge \\
\normalsize
\CHECK
If we reference to another document, we cite the document \cite{Lamport:LaTeX}.
%** landscape
\NEW
\begin{landscape}
Of some interest is also the landscape environment:
\end{landscape}
\verbatiminput{filename.txt}
Even though we don't think full listings are useful in documents,
you can easily insert complete files by the verbatiminput{}-command.