From 98a350317363189b82e660573c6d2d339330b7e4 Mon Sep 17 00:00:00 2001 From: Brian Bi Date: Mon, 10 Jun 2024 19:54:31 -0400 Subject: [PATCH] Add hypertarget before table captions --- source/tables.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/tables.tex b/source/tables.tex index c1f20586f0..7bbd34d2d7 100644 --- a/source/tables.tex +++ b/source/tables.tex @@ -48,6 +48,7 @@ % floattablebase without TableBase, used for lib2dtab2base \newenvironment{floattablebasex}[4] { + \protect\hypertarget{tab:#2}{} \begin{table}[#4] \caption{\label{tab:#2}#1 \quad [tab:#2]} \begin{center} @@ -196,6 +197,7 @@ \newenvironment{LongTable}[3] { \newcommand{\continuedcaption}{\caption[]{#1 (continued)}} + \protect\hypertarget{tab:#2}{} \begin{TableBase} \begin{longtable}{|#3|} \caption{#1 \quad [tab:#2]}\label{tab:#2}