Graphics, Figures & TablesProblem with "wrapfigure"

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
jcmt_pico
Posts: 19
Joined: Fri Jun 18, 2010 12:39 am

Problem with "wrapfigure"

Post by jcmt_pico »

Hi there,

I'm building a tex document, where I use some figures wraped with text... for that I use the package wrapfigure.
The problem is, after compiling the code, I get a figure with the number 3.3 and when I \ref the figure it apears with th number of the section -> figure 3.1.3...
Does anyone knows how to solve this?

an example

Code: Select all

\begin{wrapfigure}{l}{0.5\textwidth}
  \begin{center}
    \includegraphics[width=0.4\textwidth]{couple.eps}
  \end{center}
  \label{couple}
  \caption{Representação esquemática do acoplamento do jacto dos níveis mais altos da troposfera com o existente nos níveis mais baixos . }
\end{wrapfigure} 

\indent Desta forma, e atendendo a todos os factores considerados pelo modelo dinâmico e pelos efeitos dinâmicos e termodinâmicos que estão presentes quer na entrada quer na saída do jacto, vamos obter, tipicamente, o acoplamento de duas \emph{jet streak's}, em que a partir de uma circulação de \emph{jet streak} na alta troposfera levará à formação de uma \emph{jet streak} na baixa troposfera, com direcção de fluxo perpendiculares, como se pode observar na figura \ref{couple}.\\

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Problem with "wrapfigure"

Post by sommerfee »

The \label has to be places after (or within) the \caption.
jcmt_pico
Posts: 19
Joined: Fri Jun 18, 2010 12:39 am

Re: Problem with "wrapfigure"

Post by jcmt_pico »

Solve
Thanks very much
Post Reply