Add \math{rel,bin,op,ord} to the math toolbar

Styles becomes Styles & Classes.

Add 4 nice icons.
This commit is contained in:
Guillaume Munch 2016-12-18 22:53:41 +01:00
parent 580efe45ab
commit 566d008c9d
6 changed files with 17 additions and 9 deletions

View 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 \

Binary file not shown.

BIN
lib/images/math/mathop.svgz Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View 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"