🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #9560

\ref in \caption

#9560
From: Dinesh Das
Date: Mon, 28 Dec 1992 01:06
19 lines
911 bytes
How do I include a \ref in a \caption?  I have used \protect to no avail,
like so:

\begin{figure}[htb]
\begin{verbatim}
 ...
\end{verbatim}
\caption{\label{cap} See \protect Figure \ref{fig} \protect.}
\end{figure}

I have tried putting the \protect in various places, but that doesn't
help at all.  Any insights?

Thanks,
Dinesh
-- 
Dinesh Das             Dept. of Computer Sciences, Univ. of Texas at Austin
ddas@cs.utexas.edu     Austin, TX 78712-1188
(512) 471-9721         "Life is uncertain - eat dessert first"
Technical Details
Message-ID: <ljsko0INNd9u@ozona.cs.utexas.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!news
From: ddas@cs.utexas.edu (Dinesh Das)
Newsgroups: comp.text.tex
Subject: \ref in \caption
Date: 27 Dec 1992 19:06:08 -0600
Organization: CS Dept, University of Texas at Austin
Lines: 19
Message-ID: <ljsko0INNd9u@ozona.cs.utexas.edu>
NNTP-Posting-Host: ozona.cs.utexas.edu
Keywords: \ref, \caption