]> git.lyx.org Git - features.git/blobdiff - src/LyXAction.cpp
Fix LFUN_MATH_AMS_MATRIX: it was possible to generate corrupt documents (part of...
[features.git] / src / LyXAction.cpp
index a214cfe7bc4e41189de9b32ba1842dc452842ee9..d100905f6852c8679628e58ad063520eb7b4c03e 100644 (file)
@@ -1732,10 +1732,12 @@ void LyXAction::init()
                { LFUN_MATH_MATRIX, "math-matrix", Noop, Math },
 /*!
  * \var lyx::FuncCode lyx::LFUN_MATH_AMS_MATRIX
- * \li Action: Inserts a matrix.
+ * \li Action: Inserts an extended matrix as provided by the amsmath package.
  * \li Syntax: math-matrix <COLS> <ROWS> [<DECORATION>]
  * \li Params: <DECORATION>: Decoration determines the LaTeX name of the matrix
-                             that should be created.
+                             that should be created. Possible values include
+                             pmatrix, bmatrix, Bmatrix, vmatrix, Vmatrix and
+                             matrix. The default is 'matrix'.
  * \li Sample: math-ams-matrix 3 3 bmatrix
  * \endvar
  */