Graphics, Figures & Tables\label and \ref subfigures in a figure...

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
User avatar
jiapei100
Posts: 28
Joined: Sat Jan 12, 2008 7:23 pm

\label and \ref subfigures in a figure...

Post by jiapei100 »

Hi, all:

I've got a figure, for example, named as "figure 3.6".

This figure has a lot of subfigures, respectively named as (a), (b), (c), and (d).

I would like to realize something like “3.6(a)" in my context.
What I mean is I would like to

Code: Select all

\label
one particular subfigure and

Code: Select all

\ref
it. But currently, this always failed.

Can anybody give me a hand and show some source code about it?

Cheers
JIA

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

\label and \ref subfigures in a figure...

Post by Stefan Kottwitz »

Hi JIA,

it's unknown which package you're using for subfigures: subfig, subfigure or subcaption. Perhaps have a look at subcaption.pdf for documentation and examples.

Stefan
LaTeX.org admin
Post Reply