Hi everyone!
Does anyone know how to put two tables side by side but with individual labels that will work with hyperref?
Thank you so much!
Hugo Sardinha
Graphics, Figures & Tables ⇒ Two Tables Side by Side with individual Labels
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Two Tables Side by Side with individual Labels
Since version 3.2 the caption package offers a (yet undocumented) feature for this purpose.
The syntax is very similar to that of the
There would be an alternative solution with two
Thorsten
Code: Select all
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[tableposition=top]{caption}
\begin{document}
\begin{table}[!htb]
\captionbox{First table}{%
Code for table
}
\captionbox{Second table}{%
Code for table
}
\end{table}
\end{document}
\subcaptionbox
command from the subcaption package (which is shipped with caption), which is documented in its manual.There would be an alternative solution with two
{minipage}
environments which each contain a {tabular}
environment embedded into the same {table}
environment.Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10