1999-09-27 18:44:28 +00:00
|
|
|
|
# This file is part of
|
|
|
|
|
# ==================================================================
|
|
|
|
|
#
|
|
|
|
|
# LyX, the Document Processor
|
|
|
|
|
#
|
|
|
|
|
# Copyright (C) 1997 LyX Team
|
|
|
|
|
#
|
|
|
|
|
# Version 0.1, May 28 1997
|
|
|
|
|
#
|
|
|
|
|
# ==================================================================
|
|
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
#
|
|
|
|
|
# DO NOT CHANGE THIS BINDING FILE! It will be replaced
|
|
|
|
|
# with every new install of LyX and your changes will be lost.
|
|
|
|
|
# Instead, copy it to ~/.lyx/bind/math.bind and modify that copy.
|
|
|
|
|
|
|
|
|
|
# Note that the order of these is important. If you put the bindings
|
|
|
|
|
# that need "period" and "parenleft" first, they flood the minibuffer
|
|
|
|
|
# and make the keybinding hints impossible to read. That's why they're
|
|
|
|
|
# at the end.
|
|
|
|
|
|
|
|
|
|
# These are defined for the math menu:
|
|
|
|
|
|
2001-08-13 13:52:40 +00:00
|
|
|
|
\bind "M-m f" "math-insert \frac"
|
|
|
|
|
\bind "M-m s" "math-insert \sqrt"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\bind "M-m e" "math-insert ^"
|
|
|
|
|
\bind "M-m x" "math-insert _"
|
2001-08-13 13:52:40 +00:00
|
|
|
|
\bind "M-m u" "math-insert \sum"
|
|
|
|
|
\bind "M-m i" "math-insert \int"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\bind "M-m m" "math-mode"
|
|
|
|
|
\bind "M-m d" "math-display"
|
|
|
|
|
|
2001-08-13 13:52:40 +00:00
|
|
|
|
#\bind "M-m o" "math-insert \oint"
|
|
|
|
|
\bind "M-m p" "math-insert \partial"
|
|
|
|
|
\bind "M-m r" "math-insert \root"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\bind "M-m l" "math-limits"
|
|
|
|
|
|
|
|
|
|
\bind "M-m n" "math-number"
|
|
|
|
|
\bind "M-m S-N" "math-nonumber"
|
2001-08-13 13:52:40 +00:00
|
|
|
|
\bind "M-m 8" "math-insert \infty"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\bind "M-m v" "accent-vector"
|
|
|
|
|
|
2001-08-13 13:52:40 +00:00
|
|
|
|
\bind "M-m o 1" "math-macro-arg 1"
|
|
|
|
|
\bind "M-m o 2" "math-macro-arg 2"
|
|
|
|
|
\bind "M-m o 3" "math-macro-arg 3"
|
|
|
|
|
\bind "M-m o 4" "math-macro-arg 4"
|
|
|
|
|
\bind "M-m o 5" "math-macro-arg 5"
|
|
|
|
|
\bind "M-m o 6" "math-macro-arg 6"
|
|
|
|
|
\bind "M-m o 7" "math-macro-arg 7"
|
|
|
|
|
\bind "M-m o 8" "math-macro-arg 8"
|
|
|
|
|
\bind "M-m o 9" "math-macro-arg 9"
|
|
|
|
|
|
2001-06-25 00:06:33 +00:00
|
|
|
|
\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 e" "math-mutate eqnarray"
|
|
|
|
|
|
|
|
|
|
\bind "M-m c i" "math-column-insert"
|
|
|
|
|
\bind "M-m c d" "math-column-delete"
|
|
|
|
|
|
|
|
|
|
\bind "M-m w i" "math-row-insert"
|
|
|
|
|
\bind "M-m w d" "math-row-delete"
|
|
|
|
|
|
|
|
|
|
\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"
|
|
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
|
# The accent-circumflex is 'h' for 'hat', which is what most math
|
|
|
|
|
# folks call it verbally.
|
|
|
|
|
|
2001-08-13 13:52:40 +00:00
|
|
|
|
\bind "M-m b" "math-insert \overline"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\bind "M-m h" "accent-circumflex"
|
|
|
|
|
\bind "M-m ~S-period" "accent-dot"
|
|
|
|
|
\bind "M-m ~S-asciitilde" "accent-tilde"
|
2001-08-13 13:52:40 +00:00
|
|
|
|
\bind "M-m ~S-apostrophe" "math-insert \prime"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\bind "M-m ~S-quotedbl" "accent-umlaut"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# These do pairs of: () {} [] <> ||
|
|
|
|
|
|
|
|
|
|
\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-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,
|
|
|
|
|
# and \leq just by typing them. However it's easier to remember these:
|
|
|
|
|
|
2001-08-13 13:52:40 +00:00
|
|
|
|
\bind "M-m ~S-plus" "math-insert \pm"
|
|
|
|
|
\bind "M-m ~S-equal" "math-insert \neq"
|
2001-05-18 07:37:14 +00:00
|
|
|
|
|
2001-07-25 12:37:43 +00:00
|
|
|
|
\bind "Escape" "escape"
|
|
|
|
|
\bind "C-Tab" "tab-insert"
|
|
|
|
|
\bind "M-m space" "math-space"
|
2001-10-15 10:30:32 +00:00
|
|
|
|
\bind "M-m S-G" "math-greek-toggle"
|
|
|
|
|
|
|
|
|
|
# This should be handled properly by some "get the next key" method
|
|
|
|
|
|
|
|
|
|
\bind "M-m g a" "math-insert \alpha"
|
|
|
|
|
\bind "M-m g b" "math-insert \beta"
|
|
|
|
|
\bind "M-m g c" "math-insert \chi"
|
|
|
|
|
\bind "M-m g d" "math-insert \delta"
|
|
|
|
|
\bind "M-m g e" "math-insert \epsilon"
|
|
|
|
|
\bind "M-m g f" "math-insert \phi"
|
|
|
|
|
\bind "M-m g g" "math-insert \gamma"
|
|
|
|
|
\bind "M-m g h" "math-insert \eta"
|
|
|
|
|
\bind "M-m g i" "math-insert \iota"
|
|
|
|
|
\bind "M-m g j" "math-insert \epsilon"
|
|
|
|
|
\bind "M-m g k" "math-insert \kappa"
|
|
|
|
|
\bind "M-m g l" "math-insert \lambda"
|
|
|
|
|
\bind "M-m g m" "math-insert \mu"
|
|
|
|
|
\bind "M-m g n" "math-insert \nu"
|
|
|
|
|
\bind "M-m g o" "math-insert \omega"
|
|
|
|
|
\bind "M-m g p" "math-insert \pi"
|
|
|
|
|
\bind "M-m g q" "math-insert \vartheta"
|
|
|
|
|
\bind "M-m g r" "math-insert \rho"
|
|
|
|
|
\bind "M-m g s" "math-insert \sigma"
|
|
|
|
|
\bind "M-m g t" "math-insert \tau"
|
|
|
|
|
\bind "M-m g u" "math-insert \upsilon"
|
|
|
|
|
\bind "M-m g v" "math-insert \theta"
|
|
|
|
|
\bind "M-m g w" "math-insert \omega"
|
|
|
|
|
\bind "M-m g x" "math-insert \xi"
|
|
|
|
|
\bind "M-m g y" "math-insert \varphi"
|
|
|
|
|
\bind "M-m g z" "math-insert \zeta"
|
|
|
|
|
|
|
|
|
|
\bind "M-m g S-D" "math-insert \Delta"
|
|
|
|
|
\bind "M-m g S-E" "math-insert \varepsilon"
|
|
|
|
|
\bind "M-m g S-F" "math-insert \Phi"
|
|
|
|
|
\bind "M-m g S-G" "math-insert \Gamma"
|
|
|
|
|
\bind "M-m g S-I" "math-insert \iota"
|
|
|
|
|
\bind "M-m g S-J" "math-insert \epsilon"
|
|
|
|
|
\bind "M-m g S-O" "math-insert \Omega"
|
|
|
|
|
\bind "M-m g S-P" "math-insert \Pi"
|
|
|
|
|
\bind "M-m g S-Q" "math-insert \vartheta"
|
|
|
|
|
\bind "M-m g S-R" "math-insert \varrho"
|
|
|
|
|
\bind "M-m g S-S" "math-insert \Sigma"
|
|
|
|
|
\bind "M-m g S-T" "math-insert \varsigma"
|
|
|
|
|
\bind "M-m g S-U" "math-insert \Upsilon"
|
|
|
|
|
\bind "M-m g S-V" "math-insert \Theta"
|
|
|
|
|
\bind "M-m g S-W" "math-insert \Omega"
|
|
|
|
|
\bind "M-m g S-X" "math-insert \Xi"
|
|
|
|
|
\bind "M-m g S-Y" "math-insert \Varphi"
|
2002-02-04 11:04:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\bind "M-m S-Aring" "math-insert <20>"
|
|
|
|
|
\bind "M-m aring" "math-insert <20>"
|
|
|
|
|
\bind "M-m S-Oslash" "math-insert <20>"
|
|
|
|
|
\bind "M-m oslash" "math-insert <20>"
|
|
|
|
|
\bind "M-m S-Adiaeresis" "math-insert <20>"
|
|
|
|
|
\bind "M-m adiaeresis" "math-insert <20>"
|
|
|
|
|
\bind "M-m S-Odiaeresis" "math-insert <20>"
|
|
|
|
|
\bind "M-m odiaeresis" "math-insert <20>"
|
|
|
|
|
\bind "M-m S-Udiaeresis" "math-insert <20>"
|
|
|
|
|
\bind "M-m udiaeresis" "math-insert <20>"
|
|
|
|
|
|