summaryrefslogtreecommitdiff
path: root/test/tables
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2022-08-17 12:21:47 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2022-08-17 12:39:07 +0200
commit81e31ee637935ce7ba076bdd5a648c2489698d2d (patch)
treeeec767a3dd83a014c65f39e23c7703cd17edac2e /test/tables
parentc5f8a38f38aa20da77042b0a6c984e8f74db855a (diff)
LaTeX writer: add label to tables that have an identifier
Tables with an identifier are marked with a `\label`. A caption is always included in this case, even if the caption is empty. Closes: #8219
Diffstat (limited to 'test/tables')
-rw-r--r--test/tables/nordics.latex2
-rw-r--r--test/tables/students.latex2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/tables/nordics.latex b/test/tables/nordics.latex
index a5e7bc1be..943f70fbf 100644
--- a/test/tables/nordics.latex
+++ b/test/tables/nordics.latex
@@ -3,7 +3,7 @@
>{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.3000}}
>{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.2000}}
>{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.2000}}@{}}
-\caption{States belonging to the \emph{Nordics.}}\tabularnewline
+\caption{States belonging to the \emph{Nordics.}}\label{nordics}\tabularnewline
\toprule()
\begin{minipage}[b]{\linewidth}\centering
Name
diff --git a/test/tables/students.latex b/test/tables/students.latex
index 8a9ae6e6b..c93b733c3 100644
--- a/test/tables/students.latex
+++ b/test/tables/students.latex
@@ -1,7 +1,7 @@
\begin{longtable}[]{@{}
>{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.5000}}
>{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.5000}}@{}}
-\caption{List of Students}\tabularnewline
+\caption{List of Students}\label{students}\tabularnewline
\toprule()
\begin{minipage}[b]{\linewidth}\centering
Student ID