wai@swift.cs.tcd.ie (07/27/90)
Can somebody knows how to put this in LaTeX \begin{figure} ... \caption{... \ref{ref:count}} \end{figure} assume ref:count has been defined earlier in the document. TeX keeps complaining that there is an extra '}' in @caption ... Thanks!
spqr@ecs.soton.ac.uk (Sebastian Rahtz) (07/28/90)
In article <7055.26af42fc@swift.cs.tcd.ie> wai@swift.cs.tcd.ie writes:
\begin{figure}
...
\caption{... \ref{ref:count}}
\end{figure}
TeX keeps complaining that there is an extra '}' in @caption ...
try reading the LaTeX book. it explains clearly (?) that you need a
\protect in front of \ref
--
Sebastian Rahtz S.Rahtz@uk.ac.soton.ecs (JANET)
Computer Science S.Rahtz@ecs.soton.ac.uk (Bitnet)
Southampton S09 5NH, UK S.Rahtz@sot-ecs.uucp (uucp)