]> git.lyx.org Git - features.git/commitdiff
add some flesh to math context menu. Not sure my choice of items are the best possibl...
authorAbdelrazak Younes <younes@lyx.org>
Fri, 28 Mar 2008 22:00:15 +0000 (22:00 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 28 Mar 2008 22:00:15 +0000 (22:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24021 a592a061-630c-0410-9148-cb99ea01b6c8

lib/ui/stdcontext.inc

index fa7319aec3b36dd4598c250cd00080a48536722c..42090bd3fc95c04958fc4f2ac2509e48f13004a9 100644 (file)
@@ -16,9 +16,53 @@ Menuset
 #
 # InsetMath context menu
 #
+       Menu "insert_math_context"\r
+               Item "Array Environment|y" "math-matrix 2 2"\r
+               Item "Cases Environment|C" "command-sequence math-mode on; math-insert \cases"\r
+               Item "Aligned Environment|l" "command-sequence math-mode on; math-insert \aligned; tabular-feature append-column"\r
+               Item "AlignedAt Environment|v" "command-sequence math-mode on; math-insert \alignedat; tabular-feature append-column"\r
+               Item "Gathered Environment|h" "command-sequence math-mode on; math-insert \gathered"\r
+               Item "Split Environment|S" "command-sequence math-mode on; math-insert \split; tabular-feature append-column"\r
+               Separator\r
+               Item "Delimiters|r" "dialog-show mathdelimiter"\r
+               Item "Matrix|x" "dialog-show mathmatrix"\r
+               Item "Macro|o" "math-macro newmacroname newcommand"\r
+       End\r
+
+       Menu "ams_environment"\r
+               Item "AMS align Environment|a" "math-mutate align"\r
+               Item "AMS alignat Environment|t" "math-mutate alignat"\r
+               Item "AMS flalign Environment|f" "math-mutate flalign"\r
+               Item "AMS gather Environment|g" "math-mutate gather"\r
+               Item "AMS multline Environment|m" "math-mutate multline"\r
+       End\r
+       \r
        Menu "context-math"
-               Item "Equation Label|L" "label-insert"
-               Item "Toggle Labeling/Numbering|T" "math-number-toggle"
+               Item "Inline Formula|I" "math-mutate simple"\r
+               Item "Displayed Formula|D" "math-mutate equation"\r
+               Item "Eqnarray Environment|E" "math-mutate eqnarray"\r
+               SubMenu "AMS Environment|A" "ams_environment"\r
+               Separator               
+               OptItem "Equation Label|L" "label-insert"
+               OptItem "Toggle Labeling/Numbering|T" "math-number-toggle"
+               Separator\r
+               Item "Split Cell|C" "cell-split"\r
+               Separator\r
+               Submenu "Insert|n" "insert_math_context"\r
+               Separator\r
+               OptItem "Add Line Above|A" "tabular-feature add-hline-above"\r
+               OptItem "Add Line Below|B" "tabular-feature add-hline-below"\r
+               OptItem "Delete Line Above|D" "tabular-feature delete-hline-above"\r
+               OptItem "Delete Line Below|e" "tabular-feature delete-hline-below"\r
+               Separator\r
+               OptItem "Add Line to Left" "tabular-feature add-vline-left"\r
+               OptItem "Add Line to Right" "tabular-feature add-vline-right"\r
+               OptItem "Delete Line to Left" "tabular-feature delete-vline-left"\r
+               OptItem "Delete Line to Right" "tabular-feature delete-vline-right"\r
+               Separator
+               Item "Toggle Math Toolbar" "toolbar-toggle math toggle"
+               Item "Toggle Math-Panels Toolbar" "toolbar-toggle math_panels toggle"
+               Item "Toggle Table Toolbar" "toolbar-toggle table toggle"
        End