On 13/03/2012 7:06 PM, mario chiari wrote:
Hi


I am trying to use captions defined thanks to \usepackage{hypcap}, as
you may see below.
I get the error
! Package hypcap Error: You have forgotten to use \caption.

Indeed I have not forgot it, and I am not sure what to try.
Note, lyx displays myfile.jpeg.

Any hint is welcome.
Thanks, Regards
mario



---------------
\floatstyle{ruled} \newfloat{myfig}{thp}{lop} \floatname{myfig}{Testo}
\hypcapredef{myfig}

\begin{myfig} \capstart

\begin{center}
\includegraphics[bb=0 0 593 608,scale=1.05]{\lyxdot \lyxdot /\lyxdot
\lyxdot /myfile.jpeg}
\par\end{center}

\caption{bla bla \cite{aaa}}


\label{bbb}\end{myfig}



Do you get a better result with the \label within the \caption?

--
Julien

Reply via email to