Hi,
I am using {eqnarray} to write an equation which runs on more than one line. I am manually adjust the terms of the equation on different lines and hence the length of the equation printed on different lines is different. Because this the equation number (which I am not adjusting manually) is falling outside the main margins of the page. I couldn't adjust all using \hspce. Is there a smarter way to write
1. single equation on multiple line and
2. fitting the entire equation within the margins of the page?
Thank you,
Omkar
General ⇒ Issue with page margins
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Issue with page margins
Don't use the eqnarray environment and learn more about the reasons from a paper [1]. Take a look at the amsmath package and its math environments to typeset equations in more than one line and their alignment. Additional advisory about typesetting math expressions is given in "Math mode".
[1] The PracTeX Journal - TeX Users Group: Avoid eqnarray!
Best regards
Thorsten¹
[1] The PracTeX Journal - TeX Users Group: Avoid eqnarray!
Best regards
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