From 49c09933c9707a2db76784b44450ae634e285b49 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Mon, 12 Aug 2002 07:05:02 +0000 Subject: [PATCH] Herbert's Bmatrix patch git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4938 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/symbols | 5 ++++- src/mathed/math_amsarrayinset.C | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/symbols b/lib/symbols index 8f67220f92..a26ccb095b 100644 --- a/lib/symbols +++ b/lib/symbols @@ -41,13 +41,15 @@ ldots dots none vdots dots none # 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 mathbb font mathmode mathbf font mathmode mathcal font mathmode mathfrak font mathmode mathit font mathmode -mathnormal font mathmode mathrm font mathmode mathsf font mathmode mathtt font mathmode @@ -69,6 +71,7 @@ rm oldfont none tt oldfont none # matrix environments +Bmatrix matrix none Vmatrix matrix none bmatrix matrix none matrix matrix none diff --git a/src/mathed/math_amsarrayinset.C b/src/mathed/math_amsarrayinset.C index ad8056138c..914a463db8 100644 --- a/src/mathed/math_amsarrayinset.C +++ b/src/mathed/math_amsarrayinset.C @@ -33,6 +33,8 @@ char const * MathAMSArrayInset::name_left() const { if (name_ == "bmatrix") return "["; + if (name_ == "Bmatrix") + return "{"; if (name_ == "vmatrix") return "|"; if (name_ == "Vmatrix") @@ -47,6 +49,8 @@ char const * MathAMSArrayInset::name_right() const { if (name_ == "bmatrix") return "]"; + if (name_ == "Bmatrix") + return "}"; if (name_ == "vmatrix") return "|"; if (name_ == "Vmatrix") -- 2.39.2