🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #1739

Anybody know how to put a framebox around a figure AND its caption?

#1739
From: John P. Refling
Date: Wed, 26 Aug 1992 18:45
38 lines
1401 bytes
What I want is this:

+---------+
| FIGURE  |
| CAPTION |
+---------+

I tried this:                                       and got this:

\begin{figure}
    \input{figure.eps}                                FIGURE
    \caption{hello.}                                  CAPTION
\end{figure}


\begin{figure}                                      +---------+
    \framebox[\textwidth]{\input{figure.eps}}       | FIGURE  |
    \caption{hello.}                                +---------+
\end{figure}                                          CAPTION


\begin{figure}
   \framebox[\textwidth]{\input{figure.eps}     ! missing \endgroup inserted
      \caption{hello.}}
\end{figure}}


\framebox[\textwidth]{\begin{figure}
    \input{figure.eps}                          ! not in outer par mode
    \caption{hello.}
\end{figure}}


Anybody know how to put the framebox around a figure AND its caption?
Thanks.
--
-----------
John Refling, refling@sloth.eng.uci.edu
Technical Details
Message-ID: <2A9BD167.29584@orion.oac.uci.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.claremont.edu!ucivax!orion.oac.uci.edu!nntpsrv

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!news.claremont.edu!ucivax!orion.oac.uci.edu!nntpsrv
From: refling@sloth.eng.uci.edu (John P. Refling)
Subject: Anybody know how to put a framebox around a figure AND its caption?
Nntp-Posting-Host: sloth.eng.uci.edu
Message-ID: <2A9BD167.29584@orion.oac.uci.edu>
Newsgroups: comp.text.tex
Organization: University of California, Irvine
Lines: 38
Date: 26 Aug 92 18:45:59 GMT