Question:

LaTeX long equation help?

by  |  earlier

0 LIKES UnLike

I have an equation, say X = Y, where X and Y are very long, and so the equation is too long to fit on one line. I've tried using eqnarray to break it up, but then each part of the equation is numbered. If I use align, then the equation is not numbered at all, which I don't want either.

So I guess I would like it to display

X (#)

= Y

The spacing doesn't show up quite right here, but you get the idea - only one number is displayed for the equation. Any ideas?

 Tags:

   Report

2 ANSWERS


  1. Please review the chapter that explains all about the LaTeX long equation and try to see some other examples of solving it.  Sometimes that helps.


  2. Hi, if you want the number only on thefirst row, when you stop the second line of the equation you have to use the command \nonumber. if you will use it there will not be the number in the first part of the equation.

    For example

    \begin{eqnarray}

      &X & \\

    &=&Y \nonumber

    \end{eqnarray}

    Ok? Bye!

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.