mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Otto's \underrightarrow/\underleftarrow patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3505 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
584ea92822
commit
a60dcf0b84
@ -1,9 +1,16 @@
|
||||
|
||||
2002-02-08 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
2002-02-08 Otto Tronarp <otttr440@student.liu.se>
|
||||
|
||||
* math_decorationinset.C:
|
||||
|
||||
* math_support.C:
|
||||
|
||||
* math_hash.C: Added \underrightarrow and \underleftarrow
|
||||
|
||||
2002-02-08 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
|
||||
* formulabase.C (localDispatch): fix umlaut handling
|
||||
|
||||
|
||||
2002-02-01 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* math_xarrowinset.[Ch]: support for \xrightarrow and \xleftarrow
|
||||
|
@ -27,7 +27,9 @@ bool MathDecorationInset::upper() const
|
||||
return
|
||||
name_ != "underbar" &&
|
||||
name_ != "underline" &&
|
||||
name_ != "underbrace";
|
||||
name_ != "underbrace" &&
|
||||
name_ != "underleftarrow" &&
|
||||
name_ != "underrightarrow";
|
||||
}
|
||||
|
||||
|
||||
@ -37,7 +39,9 @@ bool MathDecorationInset::isScriptable() const
|
||||
name_ == "overbrace" ||
|
||||
name_ == "underbrace" ||
|
||||
name_ == "overleftarrow" ||
|
||||
name_ == "overrightarrow";
|
||||
name_ == "overrightarrow" ||
|
||||
name_ == "underleftarrow" ||
|
||||
name_ == "underrightarrow";
|
||||
}
|
||||
|
||||
|
||||
@ -47,7 +51,9 @@ bool MathDecorationInset::protect() const
|
||||
name_ == "overbrace" ||
|
||||
name_ == "underbrace" ||
|
||||
name_ == "overleftarrow" ||
|
||||
name_ == "overrightarrow";
|
||||
name_ == "overrightarrow" ||
|
||||
name_ == "underleftarrow" ||
|
||||
name_ == "underrightarrow";
|
||||
}
|
||||
|
||||
|
||||
@ -61,7 +67,9 @@ bool MathDecorationInset::wide() const
|
||||
name_ == "overleftarrow" ||
|
||||
name_ == "overrightarrow" ||
|
||||
name_ == "widehat" ||
|
||||
name_ == "widetilde";
|
||||
name_ == "widetilde" ||
|
||||
name_ == "underleftarrow" ||
|
||||
name_ == "underrightarrow";
|
||||
}
|
||||
|
||||
|
||||
|
@ -137,7 +137,9 @@ key_type wordlist_array[] =
|
||||
{"tt", LM_TK_OLDFONT, LM_TC_TT},
|
||||
{"underbar", LM_TK_DECORATION, 0},
|
||||
{"underbrace", LM_TK_DECORATION, 0},
|
||||
{"underleftarrow", LM_TK_DECORATION, 0},
|
||||
{"underline", LM_TK_DECORATION, 0},
|
||||
{"underrightarrow", LM_TK_DECORATION, 0},
|
||||
{"underset", LM_TK_UNDERSET, 0},
|
||||
{"vdots", LM_TK_DOTS, 0},
|
||||
{"vec", LM_TK_DECORATION, 0},
|
||||
|
@ -467,7 +467,9 @@ named_deco_struct deco_table[] = {
|
||||
{"overrightarrow", arrow, 3 },
|
||||
{"xleftarrow", arrow, 1 },
|
||||
{"xrightarrow", arrow, 3 },
|
||||
|
||||
{"underleftarrow", arrow, 1 },
|
||||
{"underrightarrow", arrow, 3 },
|
||||
|
||||
// Delimiters
|
||||
{"(", parenth, 0 },
|
||||
{")", parenth, 2 },
|
||||
|
Loading…
Reference in New Issue
Block a user