Re: Referencing Figures With Labels Does Not Work
- From: GName <aheyari@xxxxxxxxx>
- Date: Sat, 14 Jul 2007 04:01:28 -0700
On Jul 14, 12:43 pm, Lars Madsen <dal...@xxxxxxxxxxxxxxxxxxxxx> wrote:
GName wrote:
I am wondering why the \ref{} did not return the figure number when
used through the body of the document. It worked fine when I used
\begin{figure} ... \end{figure} environment. However I am not
interested in floating objects.
Any suggestion?
\documentclass[12pt]{article}
\usepackage{fullpage}
\usepackage[pdftex]{color,graphicx}
\begin{document}
.
.
. DOCUMENT BODY
.
Figure \ref{Cartoon} shows a cartoon that was drawn in 1992.
\begin{center}
\includegraphics[width=291pt, height=114pt]{Cartoon.png}\\
\vskip 0.08in
\textbf{Figure 1:}{This cartoon was drawn in 1992.}\label{Cartoon}
\end{center}
\end{document}
Many thanks
that is not a caption, use \caption{text}, otherwise where will not be a
number is the referencable sence.
--
/daleif (remove RTFSIGNATURE from email address)
LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL belowhttp://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxamplhttp://www.minimalbeispiel.de/mini-en.html
Unfortunately, \caption{} can only be used inside float environments.
As you can see the, I want two things:
1) Non-floating objects (I want to control the place where which the
figure is placed, at least the order of figures).
2) To reference such figures for further referencing.
Thanks
.
- Follow-Ups:
- Re: Referencing Figures With Labels Does Not Work
- From: Robin Fairbairns
- Re: Referencing Figures With Labels Does Not Work
- From: Lars Madsen
- Re: Referencing Figures With Labels Does Not Work
- References:
- Referencing Figures With Labels Does Not Work
- From: GName
- Re: Referencing Figures With Labels Does Not Work
- From: Lars Madsen
- Referencing Figures With Labels Does Not Work
- Prev by Date: Re: ctan package update: cleveref
- Next by Date: Re: Referencing Figures With Labels Does Not Work
- Previous by thread: Re: Referencing Figures With Labels Does Not Work
- Next by thread: Re: Referencing Figures With Labels Does Not Work
- Index(es):
Relevant Pages
|