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}