Herbert's Bmatrix patch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4938 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-08-12 07:05:02 +00:00
parent 5bd7f9d67b
commit 49c09933c9
2 changed files with 8 additions and 1 deletions

View File

@ -41,13 +41,15 @@ ldots dots none
vdots dots none vdots dots none
# font changes # font changes
# name "font" math/text family series shape color
# mathnormal should stay the first
mathnormal font mathmode inherit medium up math
frak font mathmode frak font mathmode
mathbb font mathmode mathbb font mathmode
mathbf font mathmode mathbf font mathmode
mathcal font mathmode mathcal font mathmode
mathfrak font mathmode mathfrak font mathmode
mathit font mathmode mathit font mathmode
mathnormal font mathmode
mathrm font mathmode mathrm font mathmode
mathsf font mathmode mathsf font mathmode
mathtt font mathmode mathtt font mathmode
@ -69,6 +71,7 @@ rm oldfont none
tt oldfont none tt oldfont none
# matrix environments # matrix environments
Bmatrix matrix none
Vmatrix matrix none Vmatrix matrix none
bmatrix matrix none bmatrix matrix none
matrix matrix none matrix matrix none

View File

@ -33,6 +33,8 @@ char const * MathAMSArrayInset::name_left() const
{ {
if (name_ == "bmatrix") if (name_ == "bmatrix")
return "["; return "[";
if (name_ == "Bmatrix")
return "{";
if (name_ == "vmatrix") if (name_ == "vmatrix")
return "|"; return "|";
if (name_ == "Vmatrix") if (name_ == "Vmatrix")
@ -47,6 +49,8 @@ char const * MathAMSArrayInset::name_right() const
{ {
if (name_ == "bmatrix") if (name_ == "bmatrix")
return "]"; return "]";
if (name_ == "Bmatrix")
return "}";
if (name_ == "vmatrix") if (name_ == "vmatrix")
return "|"; return "|";
if (name_ == "Vmatrix") if (name_ == "Vmatrix")