I use the following packages related to captioning, tables and hyperlinks:
\usepackage{hyperref,caption}
\usepackage[style=Plaintop]{floatrow}
\usepackage[referable]{threeparttablex}
I have a table and the caption appears ABOVE it. It's made using threeparttable so I can \begin{tablenotes}.
When I follow the link to that table, the view jumps to BELOW the caption - if you scroll just a tiny bit up then you'll see the caption straight away.
Of course, I want the caption to be seen without scrolling. If you remove the \usepackage[...]{floatrow} then it will work as expected.
I've tried using hypcap like most posts mention, but I believe use of caption covers that.
The only question I've found encountering the exact same problem (but with figures instead of tables) is this one: How do I make hyperref show the entire figure when I'm using both caption and floatrow?
As that OP mentioned, most other questions seem to be about the link going to the caption below a figure and hence missing the whole picture - this is not the same case at all. That OP managed to solve his problem by simply not using floatrow - I, however, cannot do that as I need that package for other purposes.
So how can I make the link work as I expected? Here's minimal code:
\documentclass{article}
\usepackage{hyperref,caption}
\usepackage[style=Plaintop]{floatrow}
\usepackage[referable]{threeparttablex}
\begin{document}
\listoftables
\begin{table}
\begin{threeparttable}
% Link SHOULD jump here
\caption{Example}
% Link ACTUALLY jumps here
\begin{tabular}{ll}
A & B \\
C & D \\
\end{tabular}
\begin{tablenotes}
\item ABCD
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{document}
PS: If we can fix this within 4 hours of when the question was asked then I can include it in my Master's application :D
PPS: Made it with 35 minutes to spare thanks to @JohnKormylo!
\labelinside\caption,\caption{Example\label{Example}}? – Ignasi Jun 29 '15 at 10:54test.texandpdflatex test.tex && pdflatex test.texI get a PDF that accurately reproduces the problem in Mac OS X Preview. I tried putting the label inside caption as you recommended (before and after the caption's text) and nothing changed. – Bilal Akil Jun 29 '15 at 11:56\refstepcounter) - I removed the\labeland it still happened. Apropos, I've removed it from the question. – Bilal Akil Jun 29 '15 at 12:50floatrowback to the title and tags. – Bilal Akil Jun 29 '15 at 14:16