From 3ab5bbe33ef88daa1e9a7e911b3f35aae518efa7 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Thu, 10 Sep 2026 17:14:31 +0200 Subject: [PATCH] Add table to sanity checks --- chapters/examples/examples.tex | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/chapters/examples/examples.tex b/chapters/examples/examples.tex index f492a0d..936c83f 100644 --- a/chapters/examples/examples.tex +++ b/chapters/examples/examples.tex @@ -27,7 +27,7 @@ In contrast, \sansbf{this text is very strong}, very cool\footnote{very cool}. \begin{figure}[H] \centering - \begin{subfigure}[b]{0.85\textwidth} + \begin{subfigure}[b]{\textwidth} \includesvg[width=1.0\linewidth]{\subfix{figures/example.svg}} \end{subfigure} \caption{This is a figure.}\label{fig:examplefigure} @@ -35,12 +35,24 @@ In contrast, \sansbf{this text is very strong}, very cool\footnote{very cool}. \begin{figure}[H] \centering - \begin{subfigure}[b]{0.95\textwidth} + \begin{subfigure}[b]{\textwidth} \includesvg[width=1.0\linewidth]{\subfix{figures/heatmap2.svg}} \end{subfigure} \caption{This is another figure.}\label{fig:exampleheatmap} \end{figure} +\begin{table}[H] + \centering + \begin{tabularx}{\textwidth}{lX} + Column A & Column B \\ + \toprule + This is & a table where the right column does automatic line breaking, so long cell contents don't exceed the page boundary. Cool. \\ + This is & an second row. \\ + \bottomrule + \end{tabularx} + \caption{This is a table}\label{tab:exampletable} +\end{table} + \lipsum% \end{document}