Math & ScienceEquation

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
ubuntu2014
Posts: 29
Joined: Mon Oct 06, 2014 12:42 am

Equation

Post by ubuntu2014 »

Hello. I am writing an article and alredy included amsmath package. I need to add a long equation but I also want to number that equation. Numbering is automatically done by \begin{eqnarray} and \end{eqnarray} tags. But writing a long equation does not split into another line. Instead, it overflows from the page. Using two back slashes doesn't help even. What should I do ? I also want the automatically adjusted square brackets even if the equation is broken in two lines.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Equation

Post by Johannes_B »

Hi,
it would be much easier to help if you would post the equation ;-)

For now, i can only say, that amsmath provides the split environment. Have a look at voss-mathmode for more information.

Using brackets is bit more complicated, as they have to match on one line. You need to use invisible constructs instead using \left. \right]. More information can be found as well in the linked document.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10359
Joined: Mon Mar 10, 2008 9:44 pm

Equation

Post by Stefan Kottwitz »

The amsmath manual (Section 3, Displayed equations) is also recommandable to look at for multi line equations.

Stefan
LaTeX.org admin
ubuntu2014
Posts: 29
Joined: Mon Oct 06, 2014 12:42 am

Re: Equation

Post by ubuntu2014 »

This is the equation :
Attachments
q.jpg
q.jpg (13.84 KiB) Viewed 6443 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10359
Joined: Mon Mar 10, 2008 9:44 pm

Re: Equation

Post by Stefan Kottwitz »

This is boring text but not fascinating math. ;-)

It's not a good dummy representation, because dependent on relation signs you might get an optimal suggestion with alignment.

You could simply copy your code here into the forum post.

Stefan
LaTeX.org admin
ubuntu2014
Posts: 29
Joined: Mon Oct 06, 2014 12:42 am

Re: Equation

Post by ubuntu2014 »

I was unwilling to post my real equation so I have sent you a private message.
ubuntu2014
Posts: 29
Joined: Mon Oct 06, 2014 12:42 am

Re: Equation

Post by ubuntu2014 »

Have you received my Private Message ? I don't know why, but it remains in the outbox and not in the sent messages folder.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10359
Joined: Mon Mar 10, 2008 9:44 pm

Re: Equation

Post by Stefan Kottwitz »

I received it and now I read it.

This is a public forum, so everybody can find solutions by google. Private messages hide solutions. I provide public support to keep the forum alive. I don't give private message support to not destroy a public forum.

Again, you sent a screenshot of output (in the message). How on earth should I insert commands in your screenshot? We work with code here. Screenshots are a bonus for easier seeing output.

Stefan
LaTeX.org admin
ubuntu2014
Posts: 29
Joined: Mon Oct 06, 2014 12:42 am

Re: Equation

Post by ubuntu2014 »

Here is my equation. Can anyone code it in LaTeX ?
Attachments
picture.png
picture.png (17.19 KiB) Viewed 6409 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10359
Joined: Mon Mar 10, 2008 9:44 pm

Re: Equation

Post by Stefan Kottwitz »

Sure, and better, the formula has asymmetries and small flaws. So you would like to re-create this formula?

Shall we do typing work? :-)

Really, you should post your code which you already have. We help to finish it. No problem with improving, we just are no typing service. ;)

Stefan
LaTeX.org admin
Post Reply