Graphics, Figures & Tables ⇒ custom hyperref
-
- Posts: 16
- Joined: Fri Jul 25, 2008 5:54 pm
custom hyperref
Hi,
I posted this question a couple weeks ago but didn't receive an answer so let me simplify the question:
is it possible to have this custom hyperref point from table titles (i.e., Table 1) to a specific anchor
in the text? Something like going backwards from a hyperref to a table.
any suggestions would be much appreciated.
Thanks
I posted this question a couple weeks ago but didn't receive an answer so let me simplify the question:
is it possible to have this custom hyperref point from table titles (i.e., Table 1) to a specific anchor
in the text? Something like going backwards from a hyperref to a table.
any suggestions would be much appreciated.
Thanks
Last edited by jediwhelan on Mon Jul 25, 2011 11:00 pm, edited 1 time in total.
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
custom hyperref
You simply could have bumped the old topic [1]. And one of the reasons why didn't get an answer was that you didn't provide a true minimal example. And it's also missing here.
Regarding the problem this might be possible with an additional anchor at the place of reference. For details see the hyperref manual.
[1] View topic: hyperref | Dynamic Float Linking
Thorsten
Regarding the problem this might be possible with an additional anchor at the place of reference. For details see the hyperref manual.
[1] View topic: hyperref | Dynamic Float Linking
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
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
custom hyperref
Hi Paul,
I guess the other question did not get an answer because there was no miminal working example. A piece of code would be a good start to create a solution. Without code it's quite theoretical.
You could use the commands \hypertarget and \hyperlink of the hyperref package.
Stefan
I guess the other question did not get an answer because there was no miminal working example. A piece of code would be a good start to create a solution. Without code it's quite theoretical.
You could use the commands \hypertarget and \hyperlink of the hyperref package.
Stefan
LaTeX.org admin
-
- Posts: 16
- Joined: Fri Jul 25, 2008 5:54 pm
Re: custom hyperref
Hi Stefan , Thorsten,
My original post did have a minimal working example no? I re-paste it here with the solution you Stephan gave - thanks - I think this is very cool :
\begin{document}
\section{some title}
Blah Blah Blah, see figure \ref{table:intro} , blah blah blah ...
\begin{center}
[Insert figure \ref{table:intro} about here. \hypertarget{table:intro}{}]
\end{center}
..... rest of paper .....
\appendix
\section{Appendix}
\begin{table}[p]
stuff
\caption{ Caption Text ... \hyperlink{table:intro}{Go Back} }
\label{table:intro}
\end{table}
My original post did have a minimal working example no? I re-paste it here with the solution you Stephan gave - thanks - I think this is very cool :
\begin{document}
\section{some title}
Blah Blah Blah, see figure \ref{table:intro} , blah blah blah ...
\begin{center}
[Insert figure \ref{table:intro} about here. \hypertarget{table:intro}{}]
\end{center}
..... rest of paper .....
\appendix
\section{Appendix}
\begin{table}[p]
stuff
\caption{ Caption Text ... \hyperlink{table:intro}{Go Back} }
\label{table:intro}
\end{table}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
custom hyperref
The fact that you consider your useless code snippet a true minimal example shows that you neither have read the rules nor followed the links that Stefan and I gave you in our replies.jediwhelan wrote:[…] My original post did have a minimal working example no? I re-paste it here with the solution you Stephan gave - thanks - I think this is very cool […]
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
-
- Posts: 16
- Joined: Fri Jul 25, 2008 5:54 pm
Re: custom hyperref
I fail to see the point of providing a MWE when I have no unexplained behaviour or error messages. It was simply a question which I provided a code snippet for since it may not have been clear in words what I was trying to achieve. Clearly, the simple answer was the one provided.
Paul
Paul
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
custom hyperref
And that's exactly the purpose of a MWE. To reinforce a question and to show clearly what is desired. And first of all a MWE shows how you are things doing. Code snippets are always useless if not provided in a corresponding context. Even if they represent a solution. It is best to provide an example that is compilable out of the box.jediwhelan wrote:I fail to see the point of providing a MWE when I have no unexplained behaviour or error messages. It was simply a question which I provided a code snippet for since it may not have been clear in words what I was trying to achieve. […]
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