[texhax] reference a figure
Daniel Savard
dsavard at cids.ca
Thu Aug 21 09:49:05 CEST 2003
You should have something like:
\begin{figure}[htbp]
\includgraphics or whatever instructions you use to insert the figure
\caption[Figure title for the listoffigures (optional)]{Figure title}
\label{fig:your_reference_label}
\end{figure}
for the figure and in the text, your refer to the figure as follow:
This is depict in figure \ref{fig:your_reference_label} as you can
see...
Le mer 20/08/2003 à 06:49, Julien Michel Palmas a écrit :
> I use the /begin(figure) in a .tex file.
> i would like to have a reference to this figure in the text, but when i use
> /label inside the /begin(figure), i get the section number and not the
> figure number.
>
> how can do ??
>
> thanx
> julien
>
> _______________________________________________
> TeX FAQ: http://faq.tug.org/
> TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>
--
=======================================
Daniel Savard
=======================================
More information about the texhax
mailing list