-# This file is part of
-# ==================================================================
-#
-# LyX, the Document Processor
-#
-# Copyright (C) 1997 LyX Team
-#
-# Version 0.1, May 28 1997
-#
-# ==================================================================
+# -*- text -*-
-# This file provides math mode keys. Most were suggested by John Weiss
-# and modified by Alejandro Aguilar Sierra to be used with different
+# file math.bind
+# This file is part of LyX, the document processor.
+# Licence details can be found in the file COPYING.
+
+# author John Weiss
+# author Alejandro Aguilar Sierra
+# author Lars Gullik Bjønnes
+# author Jean-Marc Lasgouttes
+# author John Levon
+# author André Pönitz
+# author Michael Schmitt
+# author Martin Vermeer
+
+# Full author contact details are available in file CREDITS.
+
+# This file provides math mode keys. Most were suggested by John Weiss
+# and modified by Alejandro Aguilar Sierra to be used with different
# keyboard layouts.
#
# This file is automatically included from the main bind file.
\bind "M-m p" "math-insert \partial"
\bind "M-m r" "math-insert \root"
\bind "M-m l" "math-limits"
+\bind "M-m S-L l" "math-limits limits"
+\bind "M-m S-L n" "math-limits nolimits"
+\bind "M-m S-L space" "math-limits empty"
+
\bind "M-m n" "math-number"
\bind "M-m S-N" "math-nonumber"
\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"
+\bind "M-m c i" "tabular-feature append-column"
+\bind "M-m c d" "tabular-feature delete-column"
+\bind "M-m c c" "tabular-feature copy-column"
+\bind "M-m c s" "tabular-feature swap-column"
-\bind "M-m w i" "math-row-insert"
-\bind "M-m w d" "math-row-delete"
+\bind "M-m w i" "tabular-feature append-row"
+\bind "M-m w d" "tabular-feature delete-row"
+\bind "M-m w c" "tabular-feature copy-row"
+\bind "M-m w s" "tabular-feature swap-row"
-\bind "M-m a v t" "math-valign top"
-\bind "M-m a v c" "math-valign center"
-\bind "M-m a v b" "math-valign bottom"
-\bind "M-m a h l" "math-halign left"
-\bind "M-m a h c" "math-halign center"
-\bind "M-m a h r" "math-halign right"
+\bind "M-m w t" "tabular-feature valign-top"
+\bind "M-m w m" "tabular-feature valign-middle"
+\bind "M-m w b" "tabular-feature valign-bottom"
+\bind "M-m c l" "tabular-feature align-left"
+\bind "M-m c m" "tabular-feature align-center"
+\bind "M-m c r" "tabular-feature align-right"
# Decoration accents
\bind "M-m ~S-parenleft" "math-delim ( )"
\bind "M-m ~S-bracketleft" "math-delim [ ]"
\bind "M-m ~S-braceleft" "math-delim { }"
-\bind "M-m ~S-less" "math-delim langle rangle"
+\bind "M-m ~S-less" "math-delim langle rangle"
\bind "M-m ~S-greater" "math-delim rangle langle"
\bind "M-m ~S-bar" "math-delim | |"
-# Note: it's easy to insert binary relations like \pm, \mp, \neq, \geq,
+# Note: it's easy to insert binary relations like \pm, \mp, \neq, \geq,
# and \leq just by typing them. However it's easier to remember these:
-\bind "M-m ~S-plus" "math-insert \pm"
+\bind "M-m ~S-plus" "math-insert \pm"
\bind "M-m ~S-equal" "math-insert \neq"
\bind "Escape" "escape"
-\bind "C-Tab" "tab-insert"
+\bind "C-Tab" "cell-split"
\bind "M-m space" "math-space"
-\bind "M-m S-G" "math-greek-toggle"
# This should be handled properly by some "get the next key" method