home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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"
-