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:
Georg Baum 2006-05-18 07:10:56 +00:00
parent b6e30400f5
commit e6a167ea5e
4 changed files with 59 additions and 1 deletions

View File

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

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

View 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",
};

View File

@ -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;