mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
use new syntax for 'math-insert'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2500 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b158f8a481
commit
f1b73c8a3b
@ -1,3 +1,8 @@
|
||||
2001-07-25 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* bind/math.bind:
|
||||
bind/sciword.bind: use new syntax for 'math-insert'
|
||||
|
||||
2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* ui/default.ui: change 'toggle appendix' entry
|
||||
|
@ -26,27 +26,37 @@
|
||||
|
||||
# These are defined for the math menu:
|
||||
|
||||
\bind "M-m f" "math-insert frac"
|
||||
\bind "M-m s" "math-insert sqrt"
|
||||
\bind "M-m f" "math-insert \frac"
|
||||
\bind "M-m s" "math-insert \sqrt"
|
||||
\bind "M-m e" "math-insert ^"
|
||||
\bind "M-m x" "math-insert _"
|
||||
\bind "M-m u" "math-insert sum"
|
||||
\bind "M-m i" "math-insert int"
|
||||
\bind "M-m u" "math-insert \sum"
|
||||
\bind "M-m i" "math-insert \int"
|
||||
\bind "M-m m" "math-mode"
|
||||
\bind "M-m d" "math-display"
|
||||
|
||||
\bind "M-m g" "math-greek"
|
||||
\bind "M-m S-G" "math-greek-toggle"
|
||||
\bind "M-m o" "math-insert oint"
|
||||
\bind "M-m p" "math-insert partial"
|
||||
\bind "M-m r" "math-insert root"
|
||||
#\bind "M-m o" "math-insert \oint"
|
||||
\bind "M-m p" "math-insert \partial"
|
||||
\bind "M-m r" "math-insert \root"
|
||||
\bind "M-m l" "math-limits"
|
||||
|
||||
\bind "M-m n" "math-number"
|
||||
\bind "M-m S-N" "math-nonumber"
|
||||
\bind "M-m 8" "math-insert infty"
|
||||
\bind "M-m 8" "math-insert \infty"
|
||||
\bind "M-m v" "accent-vector"
|
||||
|
||||
\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"
|
||||
|
||||
\bind "M-m t t" "math-mutate dump"
|
||||
\bind "M-m t a" "math-mutate align"
|
||||
\bind "M-m t i" "math-mutate inline"
|
||||
@ -69,11 +79,11 @@
|
||||
# The accent-circumflex is 'h' for 'hat', which is what most math
|
||||
# folks call it verbally.
|
||||
|
||||
\bind "M-m b" "math-insert overline"
|
||||
\bind "M-m b" "math-insert \overline"
|
||||
\bind "M-m h" "accent-circumflex"
|
||||
\bind "M-m ~S-period" "accent-dot"
|
||||
\bind "M-m ~S-asciitilde" "accent-tilde"
|
||||
\bind "M-m ~S-apostrophe" "math-insert prime"
|
||||
\bind "M-m ~S-apostrophe" "math-insert \prime"
|
||||
\bind "M-m ~S-quotedbl" "accent-umlaut"
|
||||
|
||||
|
||||
@ -90,10 +100,10 @@
|
||||
# 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-equal" "math-insert neq"
|
||||
\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 "M-m space" "math-space"
|
||||
|
||||
\bind "M-m S-G" "command-sequence math-mode ; math-greek-toggle ; "
|
||||
|
@ -22,14 +22,14 @@
|
||||
# Greek for only one character. "math-greek-toggle" is the persistent Greek
|
||||
# toggle which nobody really needs when typing math.
|
||||
# Sciword mnemonic.
|
||||
\bind "C-f" "math-insert frac"
|
||||
\bind "C-f" "math-insert \frac"
|
||||
\bind "C-g" "math-greek"
|
||||
|
||||
# Do we need this?
|
||||
#\bind "C-h" "hyphenation-point-insert"
|
||||
|
||||
# Sciword mnemonic.
|
||||
\bind "C-i" "math-insert int"
|
||||
\bind "C-i" "math-insert \int"
|
||||
|
||||
#\bind "C-j" "------"
|
||||
|
||||
@ -49,7 +49,7 @@
|
||||
\bind "C-q" "self-insert \""
|
||||
|
||||
# Sciword mnemonic.
|
||||
\bind "C-r" "math-insert sqrt"
|
||||
\bind "C-r" "math-insert \sqrt"
|
||||
|
||||
# This combination is now a gateway to math symbols (C-s ...)
|
||||
#\bind "C-s" "------"
|
||||
@ -93,7 +93,7 @@
|
||||
# Some of them seem to work only in math mode?
|
||||
|
||||
\bind "C-period" "accent-dot"
|
||||
\bind "S-C-colon" "math-insert ddot"
|
||||
\bind "S-C-colon" "math-insert \ddot"
|
||||
\bind "C-quoteleft" "accent-grave"
|
||||
\bind "S-C-asciitilde" "accent-tilde"
|
||||
\bind "S-C-quotedbl" "accent-umlaut"
|
||||
@ -101,7 +101,7 @@
|
||||
\bind "S-C-asciicircum" "accent-circumflex"
|
||||
\bind "C-equal" "accent-vector"
|
||||
# Why is it not "accent-bar"?
|
||||
\bind "C-minus" "math-insert bar"
|
||||
\bind "C-minus" "math-insert \bar"
|
||||
# What is "accent-underbar"?
|
||||
#\bind "S-C-underscore" "accent-underbar"
|
||||
|
||||
@ -128,12 +128,12 @@
|
||||
# Math menu (unmodified)
|
||||
#
|
||||
|
||||
\bind "M-m f" "math-insert frac"
|
||||
\bind "M-m i" "math-insert int"
|
||||
\bind "M-m o" "math-insert oint"
|
||||
\bind "M-m p" "math-insert partial"
|
||||
\bind "M-m s" "math-insert sqrt"
|
||||
\bind "M-m S-S" "math-insert sum"
|
||||
\bind "M-m f" "math-insert \frac"
|
||||
\bind "M-m i" "math-insert \int"
|
||||
\bind "M-m o" "math-insert \oint"
|
||||
\bind "M-m p" "math-insert \partial"
|
||||
\bind "M-m s" "math-insert \sqrt"
|
||||
\bind "M-m S-S" "math-insert \sum"
|
||||
\bind "M-m l" "math-limits"
|
||||
\bind "M-m n" "math-number"
|
||||
\bind "M-m v" "accent-vector"
|
||||
@ -141,29 +141,29 @@
|
||||
|
||||
# Sciword mnemonics for math editing:
|
||||
|
||||
\bind "M-apostrophe" "math-insert prime"
|
||||
\bind "M-apostrophe" "math-insert \prime"
|
||||
\bind "C-Up" "math-insert ^"
|
||||
\bind "C-Down" "math-insert _"
|
||||
\bind "C-s d" "math-insert partial"
|
||||
\bind "C-s e" "math-insert sum"
|
||||
\bind "C-s p" "math-insert prod"
|
||||
\bind "C-s i" "math-insert infty"
|
||||
\bind "C-s x" "math-insert times"
|
||||
\bind "C-s d" "math-insert \partial"
|
||||
\bind "C-s e" "math-insert \sum"
|
||||
\bind "C-s p" "math-insert \prod"
|
||||
\bind "C-s i" "math-insert \infty"
|
||||
\bind "C-s x" "math-insert \times"
|
||||
|
||||
# My own embellishments for symbols I use often.
|
||||
|
||||
#I'd like to combine math-insert ^ and math-insert prime, but don't know how.
|
||||
|
||||
\bind "C-s apostrophe" "math-insert prime"
|
||||
\bind "C-s S-plus" "math-insert dagger"
|
||||
\bind "C-s equal" "math-insert equiv"
|
||||
\bind "M-equal" "math-insert approx"
|
||||
\bind "M-minus" "math-insert sim"
|
||||
\bind "C-minus" "math-insert rightarrow"
|
||||
\bind "S-M-less" "math-insert leq"
|
||||
\bind "S-M-greater" "math-insert geq"
|
||||
\bind "C-s S-less" "math-insert ll"
|
||||
\bind "C-s S-greater" "math-insert gg"
|
||||
\bind "C-s apostrophe" "math-insert \prime"
|
||||
\bind "C-s S-plus" "math-insert \dagger"
|
||||
\bind "C-s equal" "math-insert \equiv"
|
||||
\bind "M-equal" "math-insert \approx"
|
||||
\bind "M-minus" "math-insert \sim"
|
||||
\bind "C-minus" "math-insert \rightarrow"
|
||||
\bind "S-M-less" "math-insert \leq"
|
||||
\bind "S-M-greater" "math-insert \geq"
|
||||
\bind "C-s S-less" "math-insert \ll"
|
||||
\bind "C-s S-greater" "math-insert \gg"
|
||||
|
||||
############################
|
||||
######### Almost no changes below. #########
|
||||
|
Loading…
Reference in New Issue
Block a user