Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!uunet!mcsun!unido!laura!cantor!schmidt From: schmidt@cantor.informatik.uni-dortmund.de (Martin Schmidt) Newsgroups: comp.text.tex Subject: Re: doing a \ref{} in a \caption of a figure in LaTeX Summary: Use \protect Message-ID: <2763@laura.UUCP> Date: 4 Nov 90 14:22:10 GMT References: <1232@lehi3b15.csee.Lehigh.EDU> Sender: news@laura.UUCP Reply-To: schmidt@cantor.informatik.uni-dortmund.de (Martin Schmidt) Organization: y Lines: 27 You should protect the \ref-command as follows: \documentstyle[12pt]{article} \begin{document} \section{The Extraction Technique}{\ } \begin{equation} id=id \label{idovergm} \end{equation} \begin{figure}[h] \caption{Equation~\protect{\ref{idovergm}}} <<< This line changed \label{idgmvsvgvth} \end{figure} \end{document} Martin Schmidt