mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 21:55:29 +00:00
Add \overset and \underset to math panel (bug 2533):
* lib/images/math/underset.xpm: new * lib/images/math/overset.xpm: new * lib/Makefile.am: add new files * src/frontends/controllers/ControlMath.C (latex_deco[]): add overset and underset git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13858 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b6e30400f5
commit
e6a167ea5e
@ -548,6 +548,7 @@ dist_imagesmath_DATA = \
|
||||
images/math/overleftrightarrow.xpm \
|
||||
images/math/overline.xpm \
|
||||
images/math/overrightarrow.xpm \
|
||||
images/math/overset.xpm \
|
||||
images/math/parallel.xpm \
|
||||
images/math/partial.xpm \
|
||||
images/math/perp.xpm \
|
||||
@ -663,6 +664,7 @@ dist_imagesmath_DATA = \
|
||||
images/math/underline.xpm \
|
||||
images/math/underrightarrow.xpm \
|
||||
images/math/underscore.xpm \
|
||||
images/math/underset.xpm \
|
||||
images/math/uparrow.xpm \
|
||||
images/math/uparrow2.xpm \
|
||||
images/math/updownarrow.xpm \
|
||||
|
28
lib/images/math/overset.xpm
Normal file
28
lib/images/math/overset.xpm
Normal file
@ -0,0 +1,28 @@
|
||||
/* XPM */
|
||||
static char *a[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"29 19 3 1",
|
||||
" c #000000",
|
||||
". c #000000",
|
||||
"X c None",
|
||||
/* pixels */
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXXXX.X.X.X.XXXXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXXXX.XXXXX.XXXXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXXXX.X.X.X.XXXXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXX.X.X.X.X.X.XXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXX.XXXXXXXXX.XXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXX.XXXXXXXXX.XXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXX.XXXXXXXXX.XXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXX.XXXXXXXXX.XXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXX.X.X.X.X.X.XXXXXXXXX"
|
||||
};
|
28
lib/images/math/underset.xpm
Normal file
28
lib/images/math/underset.xpm
Normal file
@ -0,0 +1,28 @@
|
||||
/* XPM */
|
||||
static char *a[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"29 19 3 1",
|
||||
" c #000000",
|
||||
". c #000000",
|
||||
"X c None",
|
||||
/* pixels */
|
||||
"XXXXXXXXX.X.X.X.X.X.XXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXX.XXXXXXXXX.XXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXX.XXXXXXXXX.XXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXX.XXXXXXXXX.XXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXX.XXXXXXXXX.XXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXX.X.X.X.X.X.XXXXXXXXX"
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXXXX.X.X.X.XXXXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXXXX.XXXXX.XXXXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXXXX.X.X.X.XXXXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
};
|
@ -120,7 +120,7 @@ char const * latex_deco[] = {
|
||||
"underleftrightarrow", "overleftrightarrow",
|
||||
"hat", "acute", "bar", "dot",
|
||||
"check", "grave", "vec", "ddot",
|
||||
"breve", "tilde", ""
|
||||
"breve", "tilde", "overset", "underset", ""
|
||||
};
|
||||
|
||||
int const nr_latex_deco = sizeof(latex_deco) / sizeof(char const *) - 1;
|
||||
|
Loading…
Reference in New Issue
Block a user