\bind "M-m e" "math-superscript"
\bind "M-m x" "math-subscript"
-\bind "M-m S-A" "command-sequence math-mode; font-roman; math-insert Å;"
-\bind "M-m S-O" "command-sequence math-mode; font-roman; math-insert Ø;"
-\bind "M-m S-T" "command-sequence math-mode; math-insert \mathrm; math-insert T;"
-
\bind "M-m u" "math-insert \sum"
\bind "M-m i" "math-insert \int"
\bind "M-m m" "math-mode"
\bind "M-m o 8" "self-insert \#8"
\bind "M-m o 9" "self-insert \#9"
+\bind "M-m t n" "math-mutate none"
\bind "M-m t t" "math-mutate dump"
\bind "M-m t a" "math-mutate align"
-\bind "M-m t i" "math-mutate inline"
-\bind "M-m t d" "math-mutate display"
+\bind "M-m t i" "math-mutate simple"
+\bind "M-m t d" "math-mutate equation"
\bind "M-m t e" "math-mutate eqnarray"
+\bind "M-m t m" "math-mutate multline"
\bind "M-m c i" "math-column-insert"
\bind "M-m c d" "math-column-delete"
# Search for a spellchecker
LYXRC_PROG([for a spell-checker], \spell_command, ispell)
+# Search for computer algebra systems
+SEARCH_PROG([for Octave],OCTAVE,octave)
+SEARCH_PROG([for Maple],MAPLE,maple)
+
dnl # Search a Fax handling program
dnl SEARCH_PROG([for a fax driver], FAX, sendfax faxsend fax)
dnl if test $FAX = sendfax ; then
Item "Toggle numbering of line|u" "math-nonumber"
Item "Toggle limits|l" "math-limits"
Separator
- Item "Inline formula|I" "math-mutate simple"
- Item "Displayed formula|D" "math-mutate equation"
- Item "Eqnarray environment|q" "math-mutate eqnarray"
- Item "Align environment|A" "math-mutate align"
- Item "AlignAt environment" "math-mutate alignat"
- Item "XAlignAt environment" "math-mutate xalignat"
- Item "XXAlignAt environment" "math-mutate xxalignat"
+ Submenu "Change formula type...|t" "edit_math_mutate"
+ Separator
+ Submenu "Call external CAS...|t" "edit_math_extern"
Separator
Item "Align Left|f" "math-halign left"
Item "Align Center|C" "math-halign center"
Item "Delete Column" "math-column-delete"
End
+ Menu "edit_math_extern"
+ Item "Octave" "math-extern octave"
+ Separator
+ Item "Maple, simplify" "math-extern maple simplify"
+ Item "Maple, factor" "math-extern maple factor"
+ Item "Maple, evalm" "math-extern maple evalm"
+ Item "Maple, evalf" "math-extern maple evalf"
+ End
+
+ Menu "edit_math_mutate"
+ Item "Inline formula|I" "math-mutate simple"
+ Item "Displayed formula|D" "math-mutate equation"
+ Item "Eqnarray environment|q" "math-mutate eqnarray"
+ Item "Align environment|A" "math-mutate align"
+ Item "AlignAt environment" "math-mutate alignat"
+ Item "XAlignAt environment" "math-mutate xalignat"
+ Item "XXAlignAt environment" "math-mutate xxalignat"
+ Item "Multline environment" "math-mutate multline"
+ End
+
#
# INSERT MENU
#
Item "AMS alignat environment|t" "command-sequence math-mode; math-mutate alignat;"
Item "AMS xalignat environment|x" "command-sequence math-mode; math-mutate xalignat;"
Item "AMS xxalignat environment" "command-sequence math-mode; math-mutate xxalignat;"
+ Item "AMS multline environment" "command-sequence math-mode; math-mutate multline;"
Separator
Item "Array environment|y" "math-insert matrix 2 2"
Item "Cases environment|C" "math-insert cases 2"