2003-08-22 10:37:26 +00:00
|
|
|
|
# -*- text -*-
|
|
|
|
|
|
2003-08-22 10:08:21 +00:00
|
|
|
|
# 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<42>nnes
|
|
|
|
|
# author Jean-Marc Lasgouttes
|
|
|
|
|
# author John Levon
|
|
|
|
|
# author Andr<64> P<>nitz
|
|
|
|
|
# author Michael Schmitt
|
|
|
|
|
# author Martin Vermeer
|
|
|
|
|
|
|
|
|
|
# Full author contact details are available in file CREDITS.
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
2003-10-13 09:50:10 +00:00
|
|
|
|
# This file provides math mode keys. Most were suggested by John Weiss
|
|
|
|
|
# and modified by Alejandro Aguilar Sierra to be used with different
|
1999-09-27 18:44:28 +00:00
|
|
|
|
# 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"
|
2002-06-24 15:36:03 +00:00
|
|
|
|
\bind "M-m e" "math-superscript"
|
|
|
|
|
\bind "M-m x" "math-subscript"
|
2002-03-04 11:10:26 +00:00
|
|
|
|
|
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"
|
2002-10-28 10:57:14 +00:00
|
|
|
|
\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"
|
|
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
|
|
\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
|
|
|
|
|
2002-03-13 13:36:36 +00:00
|
|
|
|
\bind "M-m o 1" "self-insert \#1"
|
|
|
|
|
\bind "M-m o 2" "self-insert \#2"
|
|
|
|
|
\bind "M-m o 3" "self-insert \#3"
|
|
|
|
|
\bind "M-m o 4" "self-insert \#4"
|
|
|
|
|
\bind "M-m o 5" "self-insert \#5"
|
|
|
|
|
\bind "M-m o 6" "self-insert \#6"
|
|
|
|
|
\bind "M-m o 7" "self-insert \#7"
|
|
|
|
|
\bind "M-m o 8" "self-insert \#8"
|
|
|
|
|
\bind "M-m o 9" "self-insert \#9"
|
2001-08-13 13:52:40 +00:00
|
|
|
|
|
2002-07-31 05:36:33 +00:00
|
|
|
|
\bind "M-m t n" "math-mutate none"
|
2001-06-25 00:06:33 +00:00
|
|
|
|
\bind "M-m t t" "math-mutate dump"
|
|
|
|
|
\bind "M-m t a" "math-mutate align"
|
2002-07-31 05:36:33 +00:00
|
|
|
|
\bind "M-m t i" "math-mutate simple"
|
|
|
|
|
\bind "M-m t d" "math-mutate equation"
|
2001-06-25 00:06:33 +00:00
|
|
|
|
\bind "M-m t e" "math-mutate eqnarray"
|
2002-07-31 05:36:33 +00:00
|
|
|
|
\bind "M-m t m" "math-mutate multline"
|
2001-06-25 00:06:33 +00:00
|
|
|
|
|
2002-08-22 07:06:02 +00:00
|
|
|
|
\bind "M-m c i" "tabular-feature append-column"
|
2002-08-21 13:47:52 +00:00
|
|
|
|
\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"
|
2001-06-25 00:06:33 +00:00
|
|
|
|
|
2002-08-22 07:06:02 +00:00
|
|
|
|
\bind "M-m w i" "tabular-feature append-row"
|
2002-08-21 13:47:52 +00:00
|
|
|
|
\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"
|
2001-06-25 00:06:33 +00:00
|
|
|
|
|
2002-08-21 13:47:52 +00:00
|
|
|
|
\bind "M-m w t" "tabular-feature valign-top"
|
2003-08-14 15:45:09 +00:00
|
|
|
|
\bind "M-m w m" "tabular-feature valign-middle"
|
2002-08-21 13:47:52 +00:00
|
|
|
|
\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"
|
2001-06-25 00:06:33 +00:00
|
|
|
|
|
2002-02-08 08:04:03 +00:00
|
|
|
|
# Decoration accents
|
|
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
|
# The accent-circumflex is 'h' for 'hat', which is what most math
|
|
|
|
|
# folks call it verbally.
|
|
|
|
|
|
2002-02-08 08:04:03 +00:00
|
|
|
|
\bind "M-m ~S-quotedbl" "math-insert \ddot"
|
|
|
|
|
\bind "M-m h" "math-insert \hat"
|
|
|
|
|
\bind "M-m ~S-backslash" "math-insert \grave"
|
|
|
|
|
\bind "M-m ~S-slash" "math-insert \acute"
|
|
|
|
|
\bind "M-m ~S-ampersand" "math-insert \tilde"
|
|
|
|
|
\bind "M-m ~S-minus" "math-insert \bar"
|
|
|
|
|
\bind "M-m ~S-period" "math-insert \dot"
|
|
|
|
|
\bind "M-m S-V" "math-insert \check"
|
|
|
|
|
\bind "M-m S-U" "math-insert \breve"
|
|
|
|
|
\bind "M-m v" "math-insert \vec"
|
|
|
|
|
\bind "M-m ~S-underscore" "math-insert \underbar"
|
|
|
|
|
|
2001-08-13 13:52:40 +00:00
|
|
|
|
\bind "M-m b" "math-insert \overline"
|
|
|
|
|
\bind "M-m ~S-apostrophe" "math-insert \prime"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
|
|
# 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 { }"
|
2003-10-13 09:50:10 +00:00
|
|
|
|
\bind "M-m ~S-less" "math-delim langle rangle"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\bind "M-m ~S-greater" "math-delim rangle langle"
|
|
|
|
|
\bind "M-m ~S-bar" "math-delim | |"
|
|
|
|
|
|
|
|
|
|
|
2003-10-13 09:50:10 +00:00
|
|
|
|
# Note: it's easy to insert binary relations like \pm, \mp, \neq, \geq,
|
1999-09-27 18:44:28 +00:00
|
|
|
|
# and \leq just by typing them. However it's easier to remember these:
|
|
|
|
|
|
2003-10-13 09:50:10 +00:00
|
|
|
|
\bind "M-m ~S-plus" "math-insert \pm"
|
2001-08-13 13:52:40 +00:00
|
|
|
|
\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"
|
2003-04-02 22:10:58 +00:00
|
|
|
|
\bind "C-Tab" "cell-split"
|
2001-07-25 12:37:43 +00:00
|
|
|
|
\bind "M-m space" "math-space"
|
2001-10-15 10:30:32 +00:00
|
|
|
|
|
|
|
|
|
# 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"
|
2002-04-09 13:47:21 +00:00
|
|
|
|
\bind "M-m g j" "math-insert \varphi"
|
2001-10-15 10:30:32 +00:00
|
|
|
|
\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"
|
2002-04-09 13:47:21 +00:00
|
|
|
|
\bind "M-m g y" "math-insert \psi"
|
2001-10-15 10:30:32 +00:00
|
|
|
|
\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"
|
2002-08-15 13:57:54 +00:00
|
|
|
|
\bind "M-m g S-L" "math-insert \Lambda"
|
2001-10-15 10:30:32 +00:00
|
|
|
|
\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"
|
2002-08-15 13:57:54 +00:00
|
|
|
|
\bind "M-m g S-Y" "math-insert \Psi"
|