]> git.lyx.org Git - features.git/commitdiff
Herbert's Bmatrix patch
authorAndré Pönitz <poenitz@gmx.net>
Mon, 12 Aug 2002 07:05:02 +0000 (07:05 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Mon, 12 Aug 2002 07:05:02 +0000 (07:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4938 a592a061-630c-0410-9148-cb99ea01b6c8

lib/symbols
src/mathed/math_amsarrayinset.C

index 8f67220f926fd379ab4586ed7db82f7377a68bdc..a26ccb095bbde2b35db3c9721a346012c854422d 100644 (file)
@@ -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
index ad8056138cfe748b4db30bd9db8aa696dc91013b..914a463db86c37a51c7207c9b0b0cd117fe87d85 100644 (file)
@@ -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")