GeneralFormulas too wide - changing margins

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Elijah2807
Posts: 2
Joined: Fri Dec 12, 2008 4:09 pm

Formulas too wide - changing margins

Post by Elijah2807 »

Hi folks,

I am writing an article with a custom margin. However, now I have a formula (more precisely an eqnarray) which is too wide for my page layout.

So I wanted it to stick out left and right. I tried the \makebox used for figures and tables, but I can't get it to work.

Any suggestions?

Thx,

Elias

Recommended reading 2024:

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

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

Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Formulas too wide - changing margins

Post by Juanjo »

Elijah2807 wrote: I am writing an article with a custom margin. However, now I have a formula (more precisely an eqnarray) which is too wide for my page layout.

So I wanted it to stick out left and right. I tried the \makebox used for figures and tables, but I can't get it to work.

Any suggestions?
Yes, of course: never use eqnarray. Read, for example, this entry in the blog of Stefan_K, one of the forum moderators, as well as the links you'll find there. So, coming to your problem, why not judiciously split the formula using an amsmath environment? In addition to align, there some others which may fit your needs. Provide a minimal working example to have more help.
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
daleif
Posts: 199
Joined: Wed Nov 19, 2008 12:46 am

Re: Formulas too wide - changing margins

Post by daleif »

(1) do not use eqnarray, explanation listed here http://www.tug.org/pracjourn/2006-4/madsen

(2) use align or similar (from the amsmath package), and break or refrase the equation in a different way.

In my LaTeX book (which is in Danish) I have several examples as for to do this. http://www.imf.au.dk/system/latex/bog
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Formulas too wide - changing margins

Post by localghost »

Have a look at the amsmath package and its math environments to split your equations into several lines. More useful hints are given in the "Math mode" document.


Best regards and welcome to the board
Thorsten¹
Elijah2807
Posts: 2
Joined: Fri Dec 12, 2008 4:09 pm

Re: Formulas too wide - changing margins

Post by Elijah2807 »

Hey,

thanks a lot for the quick response! In fact I was using amsmath and wasn't aware of the align feature.

That solved it!

Cheers,

ELias
Post Reply