]> git.lyx.org Git - lyx.git/blob - lib/bind/math.bind
fixed missing reference-back conversions
[lyx.git] / lib / bind / math.bind
1 # This file is part of
2 # ==================================================================
3 #
4 #                   LyX, the Document Processor
5 #
6 #               Copyright (C) 1997 LyX Team
7 #
8 #                      Version 0.1, May 28 1997
9 #
10 # ==================================================================
11
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 
14 # keyboard layouts.
15 #
16 # This file is automatically included from the main bind file.
17 #
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.
21
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
25 # at the end.
26
27 # These are defined for the math menu:
28
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"
37
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"
44
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"
49
50 # The accent-circumflex is 'h' for 'hat', which is what most math
51 # folks call it verbally.
52
53 \bind "M-m b"                   "math-insert overline"
54 \bind "M-m h"                   "accent-circumflex"
55 \bind "M-m ~S-period"           "accent-dot"
56 \bind "M-m ~S-asciitilde"       "accent-tilde"
57 \bind "M-m ~S-apostrophe"       "math-insert prime"
58 \bind "M-m ~S-quotedbl"         "accent-umlaut"
59
60
61 # These do pairs of: () {} [] <> ||
62
63 \bind "M-m ~S-parenleft"        "math-delim ( )"
64 \bind "M-m ~S-bracketleft"      "math-delim [ ]"
65 \bind "M-m ~S-braceleft"        "math-delim { }"
66 \bind "M-m ~S-less"             "math-delim langle rangle"  
67 \bind "M-m ~S-greater"          "math-delim rangle langle"
68 \bind "M-m ~S-bar"              "math-delim | |"
69
70
71 # Note: it's easy to insert binary relations like \pm, \mp, \neq, \geq, 
72 # and \leq just by typing them. However it's easier to remember these:
73
74 \bind "M-m ~S-plus"             "math-insert pm" 
75 \bind "M-m ~S-equal"            "math-insert neq"