home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / text / tex / 14482 < prev    next >
Encoding:
Text File  |  1992-12-27  |  881 b   |  31 lines

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!news
  2. From: ddas@cs.utexas.edu (Dinesh Das)
  3. Newsgroups: comp.text.tex
  4. Subject: \ref in \caption
  5. Date: 27 Dec 1992 19:06:08 -0600
  6. Organization: CS Dept, University of Texas at Austin
  7. Lines: 19
  8. Message-ID: <ljsko0INNd9u@ozona.cs.utexas.edu>
  9. NNTP-Posting-Host: ozona.cs.utexas.edu
  10. Keywords: \ref, \caption
  11.  
  12. How do I include a \ref in a \caption?  I have used \protect to no avail,
  13. like so:
  14.  
  15. \begin{figure}[htb]
  16. \begin{verbatim}
  17.  ...
  18. \end{verbatim}
  19. \caption{\label{cap} See \protect Figure \ref{fig} \protect.}
  20. \end{figure}
  21.  
  22. I have tried putting the \protect in various places, but that doesn't
  23. help at all.  Any insights?
  24.  
  25. Thanks,
  26. Dinesh
  27. -- 
  28. Dinesh Das             Dept. of Computer Sciences, Univ. of Texas at Austin
  29. ddas@cs.utexas.edu     Austin, TX 78712-1188
  30. (512) 471-9721         "Life is uncertain - eat dessert first"
  31.