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
General ⇒ Formulas too wide - changing margins
NEW: TikZ book now 40% off at Amazon.com for a short time.

Formulas too wide - changing margins
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.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?
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
Re: Formulas too wide - changing margins
(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
(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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Formulas too wide - changing margins
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¹
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 2
- Joined: Fri Dec 12, 2008 4:09 pm
Re: Formulas too wide - changing margins
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
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