]> git.lyx.org Git - features.git/blobdiff - src/LyXAction.cpp
support for matrix decoration in the MathMatrix dialog;
[features.git] / src / LyXAction.cpp
index 6acb25a3ff38b6c8fc696e8aba8b7da7d6e1c67e..c3eb1dbd84e25972cdb69e4c2a8ad39113a5917f 100644 (file)
@@ -1622,6 +1622,16 @@ void LyXAction::init()
  * \endvar
  */
                { LFUN_MATH_MATRIX, "math-matrix", Noop, Math },
+/*!
+ * \var lyx::FuncCode lyx::LFUN_MATH_AMS_MATRIX
+ * \li Action: Inserts a matrix.
+ * \li Syntax: math-matrix <COLS> <ROWS> [<DECORATION>]
+ * \li Params: <DECORATION>: Decoration determines the LaTeX name of the matrix
+                             that should be created.
+ * \li Sample: math-ams-matrix 3 3 bmatrix
+ * \endvar
+ */
+               { LFUN_MATH_AMS_MATRIX, "math-ams-matrix", Noop, Math },
 /*!
  * \var lyx::FuncCode lyx::LFUN_MATH_MODE
  * \li Action: In text mode enters math mode (i.e. puts math insets on the current