diff --git a/chapters/cheatsheet.tex b/chapters/cheatsheet.tex index 3432ba5..e240f31 100644 --- a/chapters/cheatsheet.tex +++ b/chapters/cheatsheet.tex @@ -128,6 +128,20 @@ Example nested lists (works with any type of list):\\ \label{tbl:renderzeiten_tm_processors} \end{table} +% Example Table with multiline rows in a cell: +\begin{table}[!htbp] % !htbp + \centering + \begin{tabular}{|l|l|r|} + \hline + \textbf{Kind} & \textbf{Mind}\\ + \hline + \hline + Tensor-800& \makecell[l]{idk man\\just do a linebreak}\\ + \hline + \end{tabular} + \caption{Mehrzeilige Tabellenzellen} + \label{tbl:multiple-lines-in-cell} +\end{table} % Example code: \begin{code} // Example code diff --git a/header.tex b/header.tex index 8da61fc..043ad8e 100644 --- a/header.tex +++ b/header.tex @@ -80,6 +80,9 @@ hidelinks, % avoid weird ref highlighting \renewcommand{\appendixtocname}{Anhang} \renewcommand{\appendixpagename}{Anhang} +% Multiline table entries +\usepackage{makecell} + % Metadaten \usepackage[pdftex, pdfauthor={\cfgAuthorName}, diff --git a/main.pdf b/main.pdf index 43b86cd..2369e9b 100644 Binary files a/main.pdf and b/main.pdf differ