Skip to content

Commit 2049d3b

Browse files
authored
[tables] Add \hypertarget before table captions (#7056)
1 parent ae9b2d7 commit 2049d3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/tables.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
% floattablebase without TableBase, used for lib2dtab2base
4949
\newenvironment{floattablebasex}[4]
5050
{
51+
\protect\hypertarget{tab:#2}{}
5152
\begin{table}[#4]
5253
\caption{\label{tab:#2}#1 \quad [tab:#2]}
5354
\begin{center}
@@ -196,6 +197,7 @@
196197
\newenvironment{LongTable}[3]
197198
{
198199
\newcommand{\continuedcaption}{\caption[]{#1 (continued)}}
200+
\protect\hypertarget{tab:#2}{}
199201
\begin{TableBase}
200202
\begin{longtable}{|#3|}
201203
\caption{#1 \quad [tab:#2]}\label{tab:#2}

0 commit comments

Comments
 (0)