mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +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
|
||||
{
|
||||
mathed_char_dim(mi.base.font, 'M', dim_);
|
||||
if (key_->name == "ldots" || key_->name == "dotsm")
|
||||
dh_ = 0;
|
||||
else if (key_->name == "cdots" || key_->name == "dotsb"
|
||||
dh_ = 0;
|
||||
if (key_->name == "cdots" || key_->name == "dotsb"
|
||||
|| key_->name == "dotsm" || key_->name == "dotsi")
|
||||
dh_ = ascent() / 2;
|
||||
else if (key_->name == "dotsc")
|
||||
|
@ -308,6 +308,7 @@ named_deco_struct deco_table[] = {
|
||||
{"mathring", ring, 0 },
|
||||
|
||||
// Dots
|
||||
{"dots", hline3, 0 },
|
||||
{"ldots", hline3, 0 },
|
||||
{"cdots", hline3, 0 },
|
||||
{"vdots", hline3, 1 },
|
||||
|
Loading…
Reference in New Issue
Block a user