On Wed, Dec 12, 2001 at 10:35:10PM +0100, Lars Gullik Bjønnes wrote: ... > Martin Vermeer <[EMAIL PROTECTED]> writes: > > > | Ctrl-_ subscript > > Ctrl-_ is undo (in emacs.bind) > > -- > Lgb >
3) Index: lyx_main.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/lyx_main.C,v retrieving revision 1.97 diff -u -p -r1.97 lyx_main.C --- lyx_main.C 2001/11/26 10:19:49 1.97 +++ lyx_main.C 2001/12/13 16:03:48 @@ -523,7 +523,12 @@ void LyX::defaultKeyBindings(kb_keymap kbmap->bind("Delete", LFUN_DELETE); kbmap->bind("BackSpace", LFUN_BACKSPACE); + // sub- and superscript -MV + kbmap->bind("M-m ~S-underscore", LFUN_SUBSCRIPT); + kbmap->bind("M-m ~S-dead_circumflex", LFUN_SUPERSCRIPT); + kbmap->bind("M-m ~S-asciicircum", LFUN_SUPERSCRIPT); + // kbmap->bindings to enable the use of the numeric keypad // e.g. Num Lock set //kbmap->bind("KP_0", LFUN_SELFINSERT); Ad 3: + close to existing TeX convention + within M-m convention for math - even longer to type than alternative 1: M-m S-_ and M-m S-^ (or M-m S-^ space) for sub- and superscript. This is my preference, a decent compromise I think. Cheers Martin -- Martin Vermeer [EMAIL PROTECTED] Helsinki University of Technology Department of Surveying P.O. Box 1200, FIN-02015 HUT, Finland :wq
msg30501/pgp00000.pgp
Description: PGP signature