]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.cpp
GuiPrefs.cpp: fix signal.
[lyx.git] / src / LyXAction.cpp
index 41a748d3c946074d04571260fbfe958fac444f6f..e1c957ddf40bad7c119fe9a17779b49051dc0b28 100644 (file)
@@ -1364,6 +1364,16 @@ void LyXAction::init()
  * \endvar
  */
                { LFUN_MATH_LIMITS, "math-limits", Noop, Math },
+/*!
+ * \var lyx::FuncCode lyx::LFUN_MATH_MACRO
+ * \li Action: Inserts a math macro definition at the cursor position in the text.
+ * \li Syntax: math-macro <NAME> [<NARGS>] [def]
+ * \li Params: <NAME>: The name of the macro, e.g. "mymacro".
+               <NARGS>: The number of parameters of the macro. Default is 0.
+               "def": Has no effect anymore, just for compatibility with former LyX versions.
+ * \li Origin: ale, 10 May 1997;  sts, 21 Dec 2007
+ * \endvar
+ */
                { LFUN_MATH_MACRO, "math-macro", Noop, Math },
 /*!
  * \var lyx::FuncCode lyx::LFUN_MATH_MUTATE
@@ -1375,6 +1385,17 @@ void LyXAction::init()
  * \endvar
  */
                { LFUN_MATH_MUTATE, "math-mutate", Noop, Math },
+/*!
+ * \var lyx::FuncCode lyx::LFUN_MATH_SPACE
+ * \li Action: Inserts space into math expression.
+ * \li Notion: Use spacebar after entering this space to change type of space.
+ * \li Syntax: math-space [<TYPE>]
+ * \li Params: <TYPE>: negative spaces: !|negmedspace|negthickspace \n
+                       positive spaces: ,|:|;|quad|qquad \n
+                       "," used by default.
+ * \li Origin: Andre', 25 Jul 2001; ps, 16 Jun 2008
+ * \endvar
+ */
                { LFUN_MATH_SPACE, "math-space", Noop, Math },
                { LFUN_MATH_IMPORT_SELECTION, "math-import-selection", Noop, Math },
 /*!
@@ -1388,6 +1409,15 @@ void LyXAction::init()
  * \endvar
  */
                { LFUN_MATH_MATRIX, "math-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
+               cursor position), in math mode enters text mode inside math expression.
+ * \li Notion: If there is some selected text, it puts the text inside created math box.
+ * \li Syntax: math-mode
+ * \li Origin: Alejandro, 4 Jun 1996
+ * \endvar
+ */
                { LFUN_MATH_MODE, "math-mode", Noop, Math },
 /*!
  * \var lyx::FuncCode lyx::LFUN_MATH_NUMBER_LINE_TOGGLE
@@ -1414,7 +1444,7 @@ void LyXAction::init()
  * \li Notion: Provides an interface to the LaTeX math mode font size commands.
  * \li Syntax: math-size <STYLE>
  *\ li Params: <STYLE>: \displaystyle|\textstyle|\scriptstyle|\scriptscriptstyle
- * \li Origin: Alejandro, 15 Aug 1996
+ * \li Origin: Alejandro, 15 Aug 1996; ps, 14 Jun 2008
  * \endvar
  */
                { LFUN_MATH_SIZE, "math-size", Noop, Math },