feat: add multiline table cells

This commit is contained in:
Leonetienne 2023-01-27 04:00:17 +01:00
parent d4c20a7358
commit 7f8d6c9502
No known key found for this signature in database
3 changed files with 17 additions and 0 deletions

View File

@ -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

View File

@ -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},

BIN
main.pdf

Binary file not shown.