On Thu, Jan 03, 2002 at 01:56:36PM +0100, Jean-Marc Lasgouttes wrote: > >>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> Attached a patch that allows ^ _ to be used *both* for > Martin> super/sub script (in mathed) *and* for inserting themselves > Martin> (in text). Back to square one you say? Perhaps. But now the > Martin> output of these characters is hardcoded in lyxfunc.C, outside > Martin> mathed. Still, it is hardcoded, though in a perhaps more > Martin> suitable location. > > I like this better. A question: is it still possible to have a > super/subscript in text? > > JMarc Ehh... with the attached further patch it is ;-)
Martin
Index: default.ui =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/ui/default.ui,v retrieving revision 1.72 diff -u -p -r1.72 default.ui --- default.ui 2001/12/17 12:22:38 1.72 +++ default.ui 2002/01/03 13:31:59 @@ -209,8 +209,8 @@ Menuset End Menu "insert_special" - Item "Superscript|S" "command-sequence math-insert ^;math-mode;" - Item "Subscript|u" "command-sequence math-insert _;math-mode;" + Item "Superscript|S" "command-sequence math-mode;math-superscript;" + Item "Subscript|u" "command-sequence math-mode;math-subscript;" Item "HFill|H" "hfill-insert" Item "Hyphenation Point|P" "hyphenation-point-insert" Item "Ligature break|k" "ligature-break-insert"
msg30933/pgp00000.pgp
Description: PGP signature