mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
support for \dots, Part II
fix drawing of \odots git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5796 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
094190ca46
commit
df86edfddc
@ -25,9 +25,8 @@ MathInset * MathDotsInset::clone() const
|
|||||||
void MathDotsInset::metrics(MathMetricsInfo & mi) const
|
void MathDotsInset::metrics(MathMetricsInfo & mi) const
|
||||||
{
|
{
|
||||||
mathed_char_dim(mi.base.font, 'M', dim_);
|
mathed_char_dim(mi.base.font, 'M', dim_);
|
||||||
if (key_->name == "ldots" || key_->name == "dotsm")
|
dh_ = 0;
|
||||||
dh_ = 0;
|
if (key_->name == "cdots" || key_->name == "dotsb"
|
||||||
else if (key_->name == "cdots" || key_->name == "dotsb"
|
|
||||||
|| key_->name == "dotsm" || key_->name == "dotsi")
|
|| key_->name == "dotsm" || key_->name == "dotsi")
|
||||||
dh_ = ascent() / 2;
|
dh_ = ascent() / 2;
|
||||||
else if (key_->name == "dotsc")
|
else if (key_->name == "dotsc")
|
||||||
|
@ -308,6 +308,7 @@ named_deco_struct deco_table[] = {
|
|||||||
{"mathring", ring, 0 },
|
{"mathring", ring, 0 },
|
||||||
|
|
||||||
// Dots
|
// Dots
|
||||||
|
{"dots", hline3, 0 },
|
||||||
{"ldots", hline3, 0 },
|
{"ldots", hline3, 0 },
|
||||||
{"cdots", hline3, 0 },
|
{"cdots", hline3, 0 },
|
||||||
{"vdots", hline3, 1 },
|
{"vdots", hline3, 1 },
|
||||||
|
Loading…
Reference in New Issue
Block a user