

So I’m going to assume that the key mapping is correct but that there is another problem, meaning…
#Page break lyx mac#
> About Mac key mappings: According to the status line in the document window, when I hit Command-Shift, it displays “(newline-insert newline ) and then icons for “Command” and “new line” which is an arrow thingy. > I tried adding horizontal space to the second line of your broken equation but Latex seems to ignore it: when I click outside the math box and the equation is rendered, it is rendered without the horizontal space even though it was visible while in math editing mode. If the long equation is moved to the RHS the new row is below. The effect appears to work by adding another row to the matrix and filling it with the partial equation. > Regarding the key mapping, if you can find an unused key combo that you have a chance of remembering, you can map it to "newline-insert newline" using Tools > Preferences. > where the right column is empty in the first row. > (where the right column contained the equal signs and integers) became When I put the cursor somewhere toward the middle of the left side of the long equation and inserted a break (using Ctrl-Enter - I'll get to the Mac part in a minute), it broke the equation and inserted a new row. > I just created an align environment with two equations, the left side of the first being ridiculously long. > Right now I guess I would be pretty happy with merely a way to make Command-shift (Control-shift) do what is expected which is apparently break the equation instead of creating a new row. These two commands in LyX are mapped as Insert -> Formatting -> Ragged Line Break and Justified Line Break, respectively but invoking the menu commands with the cursor in my equation has exactly the same effect: adding a row to the align matrix (above the row where the cursor is.) When (Shift-)Command-Enter is done to a non-align display equation a similar thing happens except now the non-align equation is converted to an align equation with a blank new row _below_ the original equation.

When I do Command-Enter in my equation, which is unfortunately inside a align environment, it instead adds a row to the matrix that represents the align environment. Usually this translates to Mac-speak as Command-Enter. I’m on a Mac so of course Control-Enter has no meaning. If that doesn't achieve what you want, perhaps you could post a minimal example and a specification of what the output should look like. > I've never used the breqn package, but with ordinary and AMS math environments, hitting Ctrl-Enter in the middle of a long formula will break it (inserting a line break, \\, in the LaTeX output). > How do LyX-ers handle this? Is there “LyX” solution to breaking long equations? I’m OK with some ad hoc solution for now, or some ERT if it works.
#Page break lyx code#
(If you look at the code you’ll see the obvious places to add the lines.) > Plus, I now want to to apply the line breaking to a line within an aligned environment (Insert -> Math -> Aligned Environment in the menu system.) This is causing things to look even worse, even though I added two “aligned” lines to the referenced code block. It is recommended you fix the cause of the external program's error (check the logs)."

(That’s a tentative analysis of the problem.) Specifically, LyX runs at 100% CPU eventually gives me a chance to abort and then follows up with this additional message: "The external program pdflatex finished with an error. > First, it doesn’t work if the \text command appears inside my own LaTeX code that appears between \begin or if I try to use the trick twice in the same document. > but today I have some problems with it. > I have had luck in the past with the second large block of code at this page:

I’ve studied multiple pages at stackexchange, both LaTeX and LyX, and can’t seem to get anything to work. > I have tried mightily to get LyX to break long equations.
#Page break lyx how to#
Next message (by thread): How to break long equations with LyX.Previous message (by thread): How to break long equations with LyX.How to break long equations with LyX Paul A.
