Graphics, Figures & TablesCross referencing subfigures

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
mgulin
Posts: 18
Joined: Thu May 31, 2012 7:16 pm

Cross referencing subfigures

Post by mgulin »

Hello!

I have a little problem with cross referencing subfigures. My subfigures are named like this: X-Y(z), where X is the example number, Y is the figure number, and z is the subfigure number. When I cross reference that figure, it shows something like this: YX-Y(z). My question is, how to remove this annoying Y part?

Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
mgulin
Posts: 18
Joined: Thu May 31, 2012 7:16 pm

Re: Cross referencing subfigures

Post by mgulin »

I managed to solve the problem using subref instead of ref for cross referencing subfigures.
Post Reply