mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 01:08:45 +00:00
Fix limit display of intop and ointop
* src/mathed/math_scriptinset.C (MathScriptInset::hasLimits): handle \intop and \ointop * lib/symbols: add intop and ointop git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14230 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3c05ffd48e
commit
2019a3e590
@ -214,12 +214,14 @@ biguplus cmex 85 0 mathop x
|
|||||||
bigcap cmex 84 0 mathop x
|
bigcap cmex 84 0 mathop x
|
||||||
bigcup cmex 83 0 mathop x
|
bigcup cmex 83 0 mathop x
|
||||||
int cmex 82 242 mathop ∫
|
int cmex 82 242 mathop ∫
|
||||||
|
intop cmex 82 242 mathop ∫
|
||||||
prod cmex 81 213 mathop x
|
prod cmex 81 213 mathop x
|
||||||
sum cmex 80 229 mathop x
|
sum cmex 80 229 mathop x
|
||||||
bigotimes cmex 78 0 mathop x
|
bigotimes cmex 78 0 mathop x
|
||||||
bigoplus cmex 76 0 mathop x
|
bigoplus cmex 76 0 mathop x
|
||||||
bigodot cmex 74 0 mathop x
|
bigodot cmex 74 0 mathop x
|
||||||
oint cmex 72 0 mathop x
|
oint cmex 72 0 mathop x
|
||||||
|
ointop cmex 72 0 mathop x
|
||||||
bigsqcup cmex 70 0 mathop x
|
bigsqcup cmex 70 0 mathop x
|
||||||
smallint cmsy 115 0 mathop x
|
smallint cmsy 115 0 mathop x
|
||||||
triangleleft cmm 47 0 mathbin x
|
triangleleft cmm 47 0 mathbin x
|
||||||
|
@ -292,10 +292,14 @@ bool MathScriptInset::hasLimits() const
|
|||||||
if (!nuc().back()->isScriptable())
|
if (!nuc().back()->isScriptable())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// per default \int has limits beside the \int even in displayed formulas
|
if (nuc().back()->asSymbolInset()) {
|
||||||
if (nuc().back()->asSymbolInset())
|
// \intop is an alias for \int\limits, \ointop == \oint\limits
|
||||||
|
if (nuc().back()->asSymbolInset()->name().find("intop") != string::npos)
|
||||||
|
return true;
|
||||||
|
// per default \int has limits beside the \int even in displayed formulas
|
||||||
if (nuc().back()->asSymbolInset()->name().find("int") != string::npos)
|
if (nuc().back()->asSymbolInset()->name().find("int") != string::npos)
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// assume "real" limits for everything else
|
// assume "real" limits for everything else
|
||||||
return true;
|
return true;
|
||||||
|
@ -46,6 +46,9 @@ What's new
|
|||||||
|
|
||||||
- Add tgif->ppm and tgif->png converters for preview of tgif figures
|
- Add tgif->ppm and tgif->png converters for preview of tgif figures
|
||||||
|
|
||||||
|
- Native support for \intop and \ointop (only display, not in the math panel
|
||||||
|
yet)
|
||||||
|
|
||||||
** Bug fixes
|
** Bug fixes
|
||||||
|
|
||||||
* Document input/output:
|
* Document input/output:
|
||||||
|
Loading…
Reference in New Issue
Block a user