2 # ==================================================================
4 # LyX, the Document Processor
6 # Copyright (C) 1997 LyX Team
8 # Version 0.1, May 28 1997
10 # ==================================================================
12 # This file provides math mode keys. Most were suggested by John Weiss
13 # and modified by Alejandro Aguilar Sierra to be used with different
16 # This file is automatically included from the main bind file.
18 # DO NOT CHANGE THIS BINDING FILE! It will be replaced
19 # with every new install of LyX and your changes will be lost.
20 # Instead, copy it to ~/.lyx/bind/math.bind and modify that copy.
22 # Note that the order of these is important. If you put the bindings
23 # that need "period" and "parenleft" first, they flood the minibuffer
24 # and make the keybinding hints impossible to read. That's why they're
27 # These are defined for the math menu:
29 \bind "M-m f" "math-insert frac"
30 \bind "M-m s" "math-insert sqrt"
31 \bind "M-m e" "math-insert ^"
32 \bind "M-m x" "math-insert _"
33 \bind "M-m u" "math-insert sum"
34 \bind "M-m i" "math-insert int"
35 \bind "M-m m" "math-mode"
36 \bind "M-m d" "math-display"
38 \bind "M-m g" "math-greek"
39 \bind "M-m S-G" "math-greek-toggle"
40 \bind "M-m o" "math-insert oint"
41 \bind "M-m p" "math-insert partial"
42 \bind "M-m r" "math-insert root"
43 \bind "M-m l" "math-limits"
45 \bind "M-m n" "math-number"
46 \bind "M-m S-N" "math-nonumber"
47 \bind "M-m 8" "math-insert infty"
48 \bind "M-m v" "accent-vector"
50 \bind "M-m t t" "math-mutate dump"
51 \bind "M-m t a" "math-mutate align"
52 \bind "M-m t i" "math-mutate inline"
53 \bind "M-m t d" "math-mutate display"
54 \bind "M-m t e" "math-mutate eqnarray"
56 \bind "M-m c i" "math-column-insert"
57 \bind "M-m c d" "math-column-delete"
59 \bind "M-m w i" "math-row-insert"
60 \bind "M-m w d" "math-row-delete"
62 \bind "M-m a v t" "math-valign top"
63 \bind "M-m a v c" "math-valign center"
64 \bind "M-m a v b" "math-valign bottom"
65 \bind "M-m a h l" "math-halign left"
66 \bind "M-m a h c" "math-halign center"
67 \bind "M-m a h r" "math-halign right"
69 # The accent-circumflex is 'h' for 'hat', which is what most math
70 # folks call it verbally.
72 \bind "M-m b" "math-insert overline"
73 \bind "M-m h" "accent-circumflex"
74 \bind "M-m ~S-period" "accent-dot"
75 \bind "M-m ~S-asciitilde" "accent-tilde"
76 \bind "M-m ~S-apostrophe" "math-insert prime"
77 \bind "M-m ~S-quotedbl" "accent-umlaut"
80 # These do pairs of: () {} [] <> ||
82 \bind "M-m ~S-parenleft" "math-delim ( )"
83 \bind "M-m ~S-bracketleft" "math-delim [ ]"
84 \bind "M-m ~S-braceleft" "math-delim { }"
85 \bind "M-m ~S-less" "math-delim langle rangle"
86 \bind "M-m ~S-greater" "math-delim rangle langle"
87 \bind "M-m ~S-bar" "math-delim | |"
90 # Note: it's easy to insert binary relations like \pm, \mp, \neq, \geq,
91 # and \leq just by typing them. However it's easier to remember these:
93 \bind "M-m ~S-plus" "math-insert pm"
94 \bind "M-m ~S-equal" "math-insert neq"
96 \bind "Escape" "escape"
97 \bind "C-Tab" "tab-insert"