William Seager wrote:
On November 19, 2008 11:44:46 Paul A. Rubin wrote:
Amir Rachum wrote:
Hello,
I recently installed the new LyX 1.6 over windows XP and I can't seem to
successfully linebreak inside math formulas. In the previous versions,
this was done with C-Enter, but now I don't know how to do it. I tried
looking in the new shortcuts menu in the prefrences window but I didn't
find anything useful. I would appreciate your help.
C-Enter is working as usual for me (LyX 1.6.0-1, Win XP).

In the shortcuts menu, try searching on Ctrl+Return.  In the CUA
binding, at least, it's bound to newline-insert newline.  Are you maybe
using a customized binding file?  You might also try opening the
minibuffer (Alt-x) and, with the cursor in a math inset, type
newline-insert newline in the minibuffer and hit return.  It should add
a new line to the math formula.

/Paul

C-Enter works in ordinary text for me, but in a math formula it shifts the whole formula down one line rather than breaking the line (I am using
1.6 on linux by the way). (As a workaround that might be of use, add
this to your document preamble: "\newcommand{\bb}{\\}" and then
use \bb to break your math formulas - this does seem to have some
weird formatting side effects under some conditions however.)


I don't reproduce this. For me, C-Enter in a math inset breaks the line at the cursor location and shifts anything right of the cursor down. So if the cursosr is at the end of the formula in a single-line math inset, or at the end of a row in a multiline formula, an empty line is inserted below the cursor but anything left of the cursor stays put.

/Paul

Reply via email to