]> git.lyx.org Git - lyx.git/blobdiff - lib/ui/stdmenus.ui
Fix bug 2901: Add menu entry for numbered formulas
[lyx.git] / lib / ui / stdmenus.ui
index 618e02c2dbc48b42e9674bb0457b075a7ba80dc1..0c1bcb81697292a407a6073430d88bdbb85f883f 100644 (file)
@@ -89,14 +89,10 @@ Menuset
                Separator
                Item "Find & Replace...|F" "dialog-show findreplace"
                Separator
-               Item "Word in Small Capitals" "word-capitalize"
-               Item "Word in Uppercase" "word-upcase"
-               Item "Word in Lowercase" "word-lowcase"
-               Separator
                Item "Move Paragraph Up|o" "paragraph-move-up"
                Item "Move Paragraph Down|v" "paragraph-move-down"
                Separator
-               Item "Text Style...|S" "dialog-show character"
+               Submenu "Text Style|S" "edit_textstyles"
                Item "Paragraph Settings...|P" "layout-paragraph"
                Separator
 # Mathed b0rkage means these don't work properly
@@ -136,6 +132,16 @@ Menuset
                PasteRecent
        End
 
+       Menu "edit_textstyles"
+               CharStyles
+               Separator
+               Item "Customized...|C" "dialog-show character"
+               Separator
+               Item "Capitalize|a" "word-capitalize"
+               Item "Uppercase|U" "word-upcase"
+               Item "Lowercase|L" "word-lowcase"
+       End
+
 # not much we can do to help here
        Menu "edit_tabular"
                Item "Multicolumn|M" "tabular-feature multicolumn"
@@ -174,6 +180,8 @@ Menuset
                Separator
                Submenu "Change Formula Type|F" "edit_math_mutate"
                Separator
+               Submenu "Text Style|T" "edit_math_textstyles"
+               Separator
                Submenu "Use Computer Algebra System|S" "edit_math_extern"
                Separator
                Item "Split Cell|C" "cell-split"
@@ -195,6 +203,31 @@ Menuset
                 Item "Inline|I"  "math-limits nolimits"
        End
 
+       Menu "edit_math_textstyles"
+               Item "Math Normal Font" "math-insert \mathnormal"
+               Separator
+               Item "Math Calligraphic Family" "math-insert \mathcal"
+               Item "Math Fraktur Family" "math-insert \mathfrak"
+               Item "Math Roman Family" "math-insert \mathrm"
+               Item "Math Sans Serif Family" "math-insert \mathsf"
+               Separator
+               Item "Math Bold Series" "math-insert \mathbf"
+               Separator
+               Item "Text Normal Font" "math-insert \textnormal"
+               Separator
+               Item "Text Roman Family" "math-insert \textrm"
+               Item "Text Sans Serif Family" "math-insert \textsf"
+               Item "Text Typewriter Family" "math-insert \texttt"
+               Separator
+               Item "Text Bold Series" "math-insert \textbf"
+               Item "Text Medium Series" "math-insert \textmd"
+               Separator
+               Item "Text Italic Shape" "math-insert \textit"
+               Item "Text Small Caps Shape" "math-insert \textsc"
+               Item "Text Slanted Shape" "math-insert \textsl"
+               Item "Text Upright Shape" "math-insert \textup"
+       End
+
        Menu "edit_math_extern"
                Item "Octave" "math-extern octave"
                Item "Maxima" "math-extern maxima"
@@ -253,7 +286,6 @@ Menuset
 # YUCK
                Submenu "Note|N" "insert_note"
                OptSubmenu "Branch|B" "insert_branches"
-               OptSubmenu "Character Style|y" "insert_charstyles"
                Submenu "File|e" "insert_file"
                Item "Box" "box-insert Frameless"
                Separator
@@ -302,6 +334,7 @@ Menuset
        Menu "insert_math"
                Item "Inline Formula|I" "math-mode on"
                Item "Display Formula|D" "math-display"
+               Item "Numbered Formula|N" "command-sequence math-display; math-number;"
                Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
                Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
                Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
@@ -310,41 +343,15 @@ Menuset
                Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
                Separator
                Item "Array Environment|y" "math-matrix 2 2"
-               Item "Cases Environment|C" "math-insert \cases"
-               Item "Aligned Environment" "command-sequence math-insert \aligned; tabular-feature append-column"
-               Item "AlignedAt Environment" "command-sequence math-insert \alignedat; tabular-feature append-column"
-               Item "Gathered Environment" "math-insert \gathered"
-               Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
+               Item "Cases Environment|C" "command-sequence math-mode on; math-insert \cases"
+               Item "Aligned Environment" "command-sequence math-mode on; math-insert \aligned; tabular-feature append-column"
+               Item "AlignedAt Environment" "command-sequence math-mode on; math-insert \alignedat; tabular-feature append-column"
+               Item "Gathered Environment" "command-sequence math-mode on; math-insert \gathered"
+               Item "Split Environment|S" "command-sequence math-mode on; math-insert \split; tabular-feature append-column"
                Separator
-               Submenu "Font Change|o" "insert_math_font"
                Item "Math Panel|P" "dialog-show mathpanel"
        End
 
-       Menu "insert_math_font"
-               Item "Math Normal Font" "math-insert \mathnormal"
-               Separator
-               Item "Math Calligraphic Family" "math-insert \mathcal"
-               Item "Math Fraktur Family" "math-insert \mathfrak"
-               Item "Math Roman Family" "math-insert \mathrm"
-               Item "Math Sans Serif Family" "math-insert \mathsf"
-               Separator
-               Item "Math Bold Series" "math-insert \mathbf"
-               Separator
-               Item "Text Normal Font" "math-insert \textnormal"
-               Separator
-               Item "Text Roman Family" "math-insert \textrm"
-               Item "Text Sans Serif Family" "math-insert \textsf"
-               Item "Text Typewriter Family" "math-insert \texttt"
-               Separator
-               Item "Text Bold Series" "math-insert \textbf"
-               Item "Text Medium Series" "math-insert \textmd"
-               Separator
-               Item "Text Italic Shape" "math-insert \textit"
-               Item "Text Small Caps Shape" "math-insert \textsc"
-               Item "Text Slanted Shape" "math-insert \textsl"
-               Item "Text Upright Shape" "math-insert \textup"
-                       End
-
        Menu "insert_float"
                FloatInsert
 # This has got to be better than "Wrap", anyway
@@ -377,10 +384,6 @@ Menuset
                Branches
        End
 
-       Menu "insert_charstyles"
-               CharStyles
-       End
-
 #
 # DOCUMENT MENU
 #
@@ -412,6 +415,7 @@ Menuset
        Menu "navigate"
                Submenu "Bookmarks|B" "navigate_bookmarks"
                Item "Next Note|N" "note-next"
+               Item "Next Change|C" "change-next"
                Item "Next Reference|R" "reference-next"
                Item "Go to Label|L" "label-goto"
                Separator