Math & ScienceUsing eqnarray in a box

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
rsousa
Posts: 1
Joined: Tue Jul 14, 2009 10:43 am

Using eqnarray in a box

Post by rsousa »

Hello

I am new to work on laxex but I like a lot.

However I am as new questions arise some basic and this seems to me one of those.

I am trying to put this statement in an equation together with the box. the problem is that the left along with the rest and not wanted.


And I can not put the box.

Code: Select all

\begin{center}
 \framebox{

    MIS($i_{j}$)=$S(i_{j} -SD)$ where $S(i_{j} -SD)>LS$
 }
 \end{center}
to number the equations

Code: Select all

 \begin{eqnarray}
    MIS(i_{j}) &=& S(i_{j} -SD) where  S(i_{j} -SD)>LS
 \end{eqnarray}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Using eqnarray in a box

Post by localghost »

At first, search the forum for "eqnarray" and learn why not to use this environment any more. Take a look at the empheq package from the mh bundle to emphasize equations and systems of equations the way you like.


Best regards and welcome to the board
Thorsten
Post Reply