mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
next try, part I
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3291 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0a24eab88f
commit
8d5e44685d
@ -231,10 +231,12 @@ bool FormMathsPanel::input(FL_OBJECT *, long data)
|
||||
break;
|
||||
|
||||
case MM_SUPER:
|
||||
lv_->getLyXFunc()->dispatch(LFUN_MATH_MODE);
|
||||
lv_->getLyXFunc()->dispatch(LFUN_SUPERSCRIPT);
|
||||
break;
|
||||
|
||||
case MM_SUB:
|
||||
lv_->getLyXFunc()->dispatch(LFUN_MATH_MODE);
|
||||
lv_->getLyXFunc()->dispatch(LFUN_SUBSCRIPT);
|
||||
break;
|
||||
|
||||
|
@ -53,9 +53,6 @@ Eran Tromer:
|
||||
|
||||
Rainer Dorsch:
|
||||
|
||||
- Entering \mathbf{c} in math mode is displayed as written (without
|
||||
backslash)
|
||||
|
||||
- I know the latex code of a lot of math symbols displayed by lyx,
|
||||
but not all of them. Thus I have to use the math panel for only a single
|
||||
symbol in a formula. I think it would be very useful, if the latex code
|
||||
|
@ -519,6 +519,7 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
|
||||
case LFUN_CODE: handleFont(bv, LM_TC_TT); break;
|
||||
case LFUN_NOUN: handleFont(bv, LM_TC_BB); break;
|
||||
case LFUN_DEFAULT: handleFont(bv, LM_TC_VAR); break;
|
||||
case LFUN_FREE: handleFont(bv, LM_TC_TEXTRM); break;
|
||||
|
||||
case LFUN_GREEK:
|
||||
handleFont(bv, LM_TC_GREEK1);
|
||||
@ -528,8 +529,10 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
|
||||
|
||||
case LFUN_MATH_MODE:
|
||||
//handleFont(bv, LM_TC_TEXTRM);
|
||||
mathcursor->niceInsert(MathAtom(new MathHullInset(LM_OT_SIMPLE)));
|
||||
updateLocal(bv, true);
|
||||
|
||||
//mathcursor->niceInsert(MathAtom(new MathHullInset(LM_OT_SIMPLE)));
|
||||
//updateLocal(bv, true);
|
||||
|
||||
//bv->owner()->message(_("math text mode toggled"));
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user