]> git.lyx.org Git - features.git/commitdiff
Add \math{rel,bin,op,ord} to the math toolbar
authorGuillaume Munch <gm@lyx.org>
Sun, 18 Dec 2016 21:53:41 +0000 (22:53 +0100)
committerGuillaume Munch <gm@lyx.org>
Tue, 31 Jan 2017 21:54:59 +0000 (22:54 +0100)
Styles becomes Styles & Classes.

Add 4 nice icons.

lib/Makefile.am
lib/images/math/mathbin.svgz [new file with mode: 0644]
lib/images/math/mathop.svgz [new file with mode: 0644]
lib/images/math/mathord.svgz [new file with mode: 0644]
lib/images/math/mathrel.svgz [new file with mode: 0644]
lib/ui/stdtoolbars.inc

index a0fcd9315b713e745b7d936628cfb598f987770b..b8a8a5dddaf066d1b0aeaad14eb1cf9b349ab985 100644 (file)
@@ -213,7 +213,7 @@ dist_plexamples_DATA = \
 pt_BRexamplesdir = $(pkgdatadir)/examples/pt_BR
 dist_pt_BRexamples_DATA = \
        examples/pt_BR/splash.lyx
-       
+
 pt_PTexamplesdir = $(pkgdatadir)/examples/pt_PT
 dist_pt_PTexamples_DATA = \
        examples/pt_PT/splash.lyx
@@ -1017,6 +1017,7 @@ dist_imagesmath_DATA = \
        images/math/mathbb_Q.svgz \
        images/math/mathbb_R.svgz \
        images/math/mathbb_Z.svgz \
+       images/math/mathbin.svgz \
        images/math/mathbf.svgz \
        images/math/mathcal.svgz \
        images/math/mathcal_F.svgz \
@@ -1029,9 +1030,12 @@ dist_imagesmath_DATA = \
        images/math/mathfrak.svgz \
        images/math/mathit.svgz \
        images/math/mathllap.svgz \
+       images/math/mathop.svgz \
+       images/math/mathord.svgz \
        images/math/mathparagraph.svgz \
        images/math/mathscr.svgz \
        images/math/mathsection.svgz \
+       images/math/mathrel.svgz \
        images/math/mathring.svgz \
        images/math/mathrlap.svgz \
        images/math/mathrm.svgz \
diff --git a/lib/images/math/mathbin.svgz b/lib/images/math/mathbin.svgz
new file mode 100644 (file)
index 0000000..4748d11
Binary files /dev/null and b/lib/images/math/mathbin.svgz differ
diff --git a/lib/images/math/mathop.svgz b/lib/images/math/mathop.svgz
new file mode 100644 (file)
index 0000000..323c01b
Binary files /dev/null and b/lib/images/math/mathop.svgz differ
diff --git a/lib/images/math/mathord.svgz b/lib/images/math/mathord.svgz
new file mode 100644 (file)
index 0000000..4740e99
Binary files /dev/null and b/lib/images/math/mathord.svgz differ
diff --git a/lib/images/math/mathrel.svgz b/lib/images/math/mathrel.svgz
new file mode 100644 (file)
index 0000000..78f75f6
Binary files /dev/null and b/lib/images/math/mathrel.svgz differ
index d375afad14b6b4907ec9ad67a9da2306bed27efa..3d652b894b813ba4356e8931094219ca40e59776 100644 (file)
@@ -295,7 +295,7 @@ ToolbarSet
 
        Toolbar "math_panels" "Math Panels"
                PopupMenu "space" "Math spacings"
-               PopupMenu "style" "Styles"
+               PopupMenu "style" "Styles & classes"
                PopupMenu "frac-square" "Fractions"
                PopupMenu "font" "Fonts"
                PopupMenu "functions" "Functions"
@@ -361,12 +361,12 @@ ToolbarSet
                Item "Phantom   \\phantom" "math-insert \phantom"
                Item "Horizontal phantom        \\hphantom" "math-insert \hphantom"
                Item "Vertical phantom  \\vphantom" "math-insert \vphantom"
-               Item "Smash \\smash" "math-insert \smash"
-               Item "Top smash \\smasht" "math-insert \smasht"
-               Item "Bottom smash \\smashb" "math-insert \smashb"
-               Item "Left overlap \\mathllap" "math-insert \mathllap"
-               Item "Center overlap \\mathclap" "math-insert \mathclap"
-               Item "Right overlap \\mathrlap" "math-insert \mathrlap"
+               Item "Smash     \\smash" "math-insert \smash"
+               Item "Top smash \\smasht" "math-insert \smasht"
+               Item "Bottom smash      \\smashb" "math-insert \smashb"
+               Item "Left overlap      \\mathllap" "math-insert \mathllap"
+               Item "Center overlap    \\mathclap" "math-insert \mathclap"
+               Item "Right overlap     \\mathrlap" "math-insert \mathrlap"
        End
 
        Toolbar "sqrt-square" "Roots"
@@ -374,11 +374,15 @@ ToolbarSet
                Item "Other root        \\root" "math-insert \root"
        End
 
-       Toolbar "style" "Styles"
+       Toolbar "style" "Styles & Classes"
                Item "Display style     \\displaystyle" "math-size \displaystyle"
                Item "Normal text style \\textstyle" "math-size \textstyle"
                Item "Script (small) style      \\scriptstyle" "math-size \scriptstyle"
                Item "Scriptscript (smaller) style      \\scriptscriptstyle" "math-size \scriptscriptstyle"
+               Item "Relation class    \\mathrel" "math-insert \mathrel"
+               Item "Binary operator class     \\mathbin" "math-insert \mathbin"
+               Item "Large operator class      \\mathop" "math-insert \mathop"
+               Item "Ordinary class    \\mathord" "math-insert \mathord"
        End
 
        Toolbar "frac-square" "Fractions"