Possible Duplicate:
Create caption without float AND without caption-package?
i have this:
\begin{minipage}[b]{0.35\linewidth}
Here is the text
\end{minipage}
\hfill
\begin{minipage}[b]{0.55\linewidth}
\centering
\includegraphics[scale=0.8]{imag9}
\caption{TEXT}
\label{fig3.5}
\end{minipage}
When i try to add \caption and \label (as in the figure) it shows me errors but the pdf i am taking is ok!
Is there another way to do that?
captionworks only inside float environments. If you want to use a caption outside float you need the commandcaptionof– Marco Daniel Jun 06 '12 at 13:13captionorcapt-ofor a KOMA-class. – Marco Daniel Jun 06 '12 at 13:22