Document Classes ⇒ Subfigures Refernecing Problems
Subfigures Refernecing Problems
I am using \autoref of "hyperref" for referencing. I am also using the "subfigure" package. Everything goes fine with \autoref, except when I am referencing a subfigure. In this case, the later figure counter is typed, however, when clicking on it, it points to the correct graphic and the captioning is also correct...
Example: I want to refence "Figure 1(a)", so if I \autoref with the subfigure label, I would get "Figure 2(a)" instead of "Figure 1(a)". When I click on this hyperlink, it points me to "Figure 1(a)." Moreover, I want to reference "Figure 1", there is no problem, and \autoref works just fine...
I would appreciate any help...
Hanibal
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Subfigures Refernecing Problems
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Subfigures Refernecing Problems
Using "subfig" solved the problem and everything is correctly referenced now...
Have a nice day...
Hanibal