LyXEquation exceeds Page Margins

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
hooman
Posts: 41
Joined: Tue Jul 06, 2010 3:03 pm

Equation exceeds Page Margins

Post by hooman »

Hi,
I am writing very long equations. When a text is longer than a page margin it automatically goes to the next line, it seems that with equations it does not do that. I was wondering if there was a way of controlling that or if lyx could let you know that you have gone past the page margin?
Thanks!

Recommended reading 2024:

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

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

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Equation exceeds Page Margins

Post by kaiserkarl13 »

You are on your own for line breaks in equations---there are so many different things that people put in equations that there isn't a good algorithm for determining page breaks, I suspect.
5gon12eder
Posts: 126
Joined: Sun Feb 13, 2011 8:36 pm

Equation exceeds Page Margins

Post by 5gon12eder »

AS kaiserkarl13 mentions, there is no good automatic way to determine line breaks in an equation. However, you can introduce them manually using multline instead of equation. See the amsmath documentation for more information.

Your editor can't know about line breaks because it is just an editor.

Best
I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).
Post Reply