This will be focused on the German language, so be aware that most of the formatting settings are German !

Accompanying Document

Welcome to part 6!
Let's get some "simple" table structures down.


\begin {tabular} [<pos>] {<description>}
\end tabular

Formatting options include, but are not limited to:
1 c centered (NO LINE BREAK)
2 l left (NO LINE BREAK)
3 r right (NO LINE BREAK)
4 p{width} Justification with line break on
5 | Divider between two columns (don't use those)
6 @{...} Divider with content "..."
7 *{w}{Content} Prints the in defined text "w" times


1 {rr} > Contains two right-justified columns
2 {{2}{r}} > Same as above
3 {lp{3cm}lp{3cm}} > 4 columns: 2xleft-custified, 3 cm paragraph
4 {
{2}{lp{3cm}} > Same as above

Tablecolumns are always right-intended. Sometimes you do not want this behaviour. To remove the intendation, use something like this {@{}*{3}{p{5cm}@{}}}.

Please check out the below example for reference.

  \hline %horizontal line
  Caption 1 & Caption 2 & Caption 3 \\
  Some Content
  \cline{3-3} %Creates a partial hline

Another important small aspect is the multicolumn command: \mulitcolumn {n} {f} {content}
1 n: Number of unified columns
2 f: Format of the new column
Equivalent multirow can be used, though it's a little more complex.