🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #2396

Re: \ovalfbox

#2396
From: Mike Werner
Date: Wed, 09 Sep 1992 03:58
32 lines
1339 bytes
A very helpful message from Timothy Van Zandt:

> I have tried to put a box around a LaTeX equation environment but it
> causes an error in TeX. Is this possible using your package and if so how?

The problem you are running into has nothing to do with your framebox
macros. You need to put the equation in a \parbox or minipage. E.g.,
try this:

\documentstyle{article}

\begin{document}

\framebox{%
  \parbox{3in}{%
    \begin{equation}
      x + y = z
    \end{equation}}}

\end{document}


However, if you can handle PostScript, then do try the PSTricks macro.
You can get very nice oval, shaded, double and elliptic framed boxes,
with lots of control and color/grayscales, etc. Framed boxes are just the
tip of the iceberg.

Tim
-- 

Timothy Van Zandt   (609)258-4050  tvz@Princeton.EDU (NeXTMail)
Dept. of Economics,  Princeton University,  Princeton, NJ 08544
Technical Details
Message-ID: <BuALpt.436@bunyip.cc.uq.oz.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!newton.physics.uq.oz.au!werner
References: <Bu1n7o.AzD@bunyip.cc.uq.oz.au>

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!newton.physics.uq.oz.au!werner
From: werner@newton.physics.uq.oz.au (Mike Werner)
Subject: Re: \ovalfbox
Message-ID: <BuALpt.436@bunyip.cc.uq.oz.au>
Sender: news@bunyip.cc.uq.oz.au (USENET News System)
Organization: Physics Dept. The University of Queensland
References:  <Bu1n7o.AzD@bunyip.cc.uq.oz.au>
Date: Wed, 9 Sep 1992 03:58:40 GMT
Lines: 32