[Tugindia] Putting boxes around equations
kumarasamy Shanmugam
gsk_samy at yahoo.com
Mon Mar 12 06:24:50 CET 2007
--- Biplab Raychaudhuri <biplabr at rediffmail.com>
wrote:
> How can I put box around an equation if it is
> (numbered/unnumbered). \fbox command changes the
> formatting.
create a new command like this :
\newcommand{\boxedeqn}[1]{%
\[\fbox{%
\addtolength{\linewidth}{-2\fboxsep}%
\addtolength{\linewidth}{-2\fboxrule}%
\begin{minipage}{\linewidth}%
\begin{equation}#1\end{equation}%
\end{minipage}%
}\]%
}
and define the equation like this:
\boxedeqn{
X_1(j\omega) =
\int\limits^{+\infty}_{-\infty} x_1(t) e^{-j\omega
t} dt
}
If the equation number doesn't need to be included in
the box, use \boxed{...}
Refer:
http://www.ams.org/tex/amsmath-faq.html
G S Kumarasamy
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
More information about the tugindia
mailing list