Commit Graph

80 Commits

Author SHA1 Message Date
Georg Baum
5261ae6a29 Fix bug #1424: Native \sideset inset
The toolbar image is the one Uwe attached to the bug report. Note that
\sideset works only for operators like \sum in the nucleus. LyX allows
any content, so you might get a LaTeX error. I don't know how to prevent
wrong content in the nucleus.
2013-02-17 11:08:58 +01:00
Enrico Forestieri
1d5eec8744 Restore "good looking" arrows.
Probably, they were overwritten during recent addition of math symbols.
2013-01-20 17:40:48 +01:00
Georg Baum
aa077e94cc Add forgotten image 2013-01-13 21:41:43 +01:00
Georg Baum
d2b49e54b9 Add remaining images for math symbol toolbar
Most images are generated by development/tools/generate_symbols_images.py, but
some were drawn manually. Now there is no image missing from the ones the
script can generate.
2013-01-10 21:22:55 +01:00
Georg Baum
56ece75ad9 Fix bug #8464: stackrel with subscript.
The fix is basically mechanical, the additional code for fraction like insets
with three arguments was stolen from \unitfrac. As any math package,
stackrel.sty needs a buffer parameter to switch it off.
I also added the two stackrel flavours to the toolbar.
2012-12-28 20:08:43 +01:00
Georg Baum
23b74a9111 Add toolbar images for stmaryrd.sty symbols
These are all generated by development/tools/generate_symbols_images.py, the
only manual adjustments were renamings due to case sensitive file systems on
windows.
2012-12-28 13:25:41 +01:00
Georg Baum
01a6d4252b Full delimiter support for llbracket and rrbracket
stmaryrd.sty sets these symbols up as variable size math delimiters (i.e.
they may be used with \left and \right). Now LyX knows about that and offers
them in the delimiter dialog as well as single symbols.
2012-12-16 15:49:42 +01:00
Uwe Stöhr
322a1c1740 add icon files for the \cancel support in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40741 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 22:41:23 +00:00
Georg Baum
187790135b Fix bug #5029: Support \smash, \mathclap, \mathllap and \mathrlap.
Also improve lyx2lyx roundtrip for automatically loaded packages.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40589 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-08 12:34:12 +00:00
Georg Baum
a3a80a4e17 Forgot this (why did this file not show up in svn diff?)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38645 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 20:39:22 +00:00
Georg Baum
32f6c066cc Partial fox for bug #6622: Display \utilde on screen correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38633 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 10:06:33 +00:00
Enrico Forestieri
36ee8cdd52 Revert r36465 and r36467. Soon to be replaced by proper code for correctly
show on screen italic uppercase greek letters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37059 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-01 19:19:32 +00:00
Pavel Sanda
a0c7b9b786 The problem with windows is that it does not discriminate case sensitivity
which breaks on other archs.
Uwe, please check it still works for you.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36467 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 02:07:42 +00:00
Uwe Stöhr
e16ee11f18 fix #1983 (rest of #4606): add missing \var*** characters (gig Greek math letters)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36465 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 01:27:53 +00:00
Jürgen Spitzmüller
659b924052 * delete wrong image files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33177 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 10:16:29 +00:00
Uwe Stöhr
4322d35b15 fix r33152 - part 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33154 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-22 02:37:06 +00:00
Uwe Stöhr
8cc80c6258 fix r33152 - part 1
(I accidentally submitted the image in the previous commit with uppercase letter in its name.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33153 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-22 02:36:29 +00:00
Uwe Stöhr
c49ad94a98 Diamond2.png: new image file for the math symbol \Diamond, see this thread: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg157327.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33152 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-22 02:32:17 +00:00
Uwe Stöhr
026f6a454a view-others.png, update-others.png: move these files to the folder of the other buffer-related icons - it is confusing why these two buffer- and not math-related icons are in the math folder
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-01 01:08:48 +00:00
Georg Baum
9c662bf442 - fix requirements of \dddot
- add support for \ddddot
- add partial support for inverse diagonal dots (i. e. they are recognized and
  displayed correctly, but the needed package is not loaded, because it would
  need an off/auto/on setting as amsmath, and that calls for a general solution)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30162 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 20:04:27 +00:00
Uwe Stöhr
34479058ad images: big update by Koji: now all images can be used and a LyX file which and appear there correctly in the output
This fixes our documentation file when they are viewed as DVI.
Fixes #5945.
Please test converting the Tutorial to DVI and the math toolbar buttons on all platforms.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29715 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 17:20:38 +00:00
Jürgen Spitzmüller
e032cd934d * add all available formats to view/update others popup icon (bug 5380)
patch contributed by Georg.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29490 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 08:43:22 +00:00
Enrico Forestieri
da251ab6ed What about these icons?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29148 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-08 00:45:33 +00:00
Jürgen Spitzmüller
25a14730ed * First step towards default view format.
The icons could be replaced by something nicer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29134 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-07 05:01:08 +00:00
Georg Baum
3d7878212b Add missing esint bits.
They should have been part of the initial commit, but I overlooked them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28355 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 19:57:02 +00:00
Jürgen Spitzmüller
482126dafb * vert2.png:
- add correct file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24179 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 16:03:25 +00:00
Jürgen Spitzmüller
555e2cabe1 * vert2.png:
- remove wrong file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24178 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 16:01:58 +00:00
Edwin Leuven
24130fa0c2 resuscitate Vert.png as vert2.png
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24175 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 14:57:06 +00:00
Edwin Leuven
e8ba8d4fd6 Removed file/folder
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24174 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 14:45:18 +00:00
Jürgen Spitzmüller
d5732a0153 * don't know how to change this otherwise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24172 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 11:42:44 +00:00
Jürgen Spitzmüller
0f3df7d446 * don't know how to change this otherwise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24171 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 11:41:11 +00:00
Jürgen Spitzmüller
f19953fe71 * fix symbol in the math panel (part of bug 4720):
- Vert.png: rename to vert.png (what it actually is)
	- Vert.png: add correct symbol

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24169 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 11:26:31 +00:00
Uwe Stöhr
2b5d064ff4 textrm_O.png: rename image to what it really is
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22169 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 12:28:03 +00:00
Enrico Forestieri
13c0796b8f Recover some other images lost in the xpm -> png transition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20171 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 14:57:55 +00:00
Enrico Forestieri
a09371153e Use same image as in branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20127 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 15:55:55 +00:00
Enrico Forestieri
5f28d5aeca Restore some other corrupted images.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20056 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-04 23:00:58 +00:00
Enrico Forestieri
413d246fe7 Restore images corrupted by the xpm -> png conversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20033 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-04 13:32:10 +00:00
Enrico Forestieri
a9fdc80627 Restore old images got lost in the xpm -> png change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20029 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-03 23:17:10 +00:00
André Pönitz
f82c3e8e65 xpm -> png
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19922 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 20:09:12 +00:00
Edwin Leuven
7aa51095d2 update functions.xpm and add to scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18719 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-08 14:48:44 +00:00
Edwin Leuven
9831f407f1 add varrho, patch from hzluo <memcache@gmail.com>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18697 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-07 12:45:11 +00:00
Peter Kümmel
3fcd616b19 fix xpm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18200 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 16:59:21 +00:00
Edwin Leuven
91d1b3cc97 * update math symbols to be in a uniform style.
most icons are taken from this site:

  http://us.metamath.org/symbols/symbols.html

  the license of these files is the creative commons public
  domain dedication


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18183 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 11:33:02 +00:00
Edwin Leuven
e870207601 swap colors: superscript box should be blue, not black
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18058 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-27 08:41:59 +00:00
Edwin Leuven
bcec0b3dc9 * redo some frame decoration icons and also make them consistent in size
* reorder frame dec icons in toolbar

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17978 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 09:06:32 +00:00
Edwin Leuven
ae9a7bef28 * change dimensions of a couple of icons so that scaling in Qt doesn't not screw up...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17869 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 20:37:44 +00:00
Edwin Leuven
996de70e56 * Action.[Ch]
add signal that provides action when triggered

* ToolbarBackend.[Ch]
	add popupmenu and iconpallete item types

* QLToolbar.[Ch]
	take care of popupmenu and iconpallete

* stdtoolbars.inc
	add panels and menus (and move spellchecker to main ;-)

* functions.xpm
	icon for function list

* iconpalette.[Ch]
	new iconpanel that will replace old iconpalette,
	als subclass of qmenu that updates parent toolbutton


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17868 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 20:29:27 +00:00
Uwe Stöhr
6bd4a69851 make some math icons visible to be used e.g. also in the docs
(someone has build them with antialiasing destroying the resolution)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17782 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 23:44:03 +00:00
Edwin Leuven
dc8bba7918 fix: http://bugzilla.lyx.org/show_bug.cgi?id=452
ControlMath.C: cleanup order of symbols in math panel
iconpalette.C: 6 cols since many symbols come in pairs
Rrightarrow.xpm: was missing
searrow.xpm: was north east
swarrow.xpm: was north west


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16316 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 17:36:00 +00:00
Georg Baum
2db7521b70 Add support for the esint package
* src/LaTeXFeatures.C
	(LaTeXFeatures::getPackages): handle esint and wasysym

	* src/mathed/MathMacroTable.[Ch]
	(requires_): New member: tell the feature this macro requires
	(MacroTable::insert): take new requires arg

	* src/mathed/MathMacroTemplate.C
	(MathMacroTemplate::asMacroData): adjust to change above

	* src/mathed/MathSupport.C
	(fontinfos): add esint10 font

	* src/mathed/InsetMathHull.C
	(InsetMathHull::doDispatch): AMS_ON -> package_on

	* src/mathed/MathMacroTable.h

	* src/mathed/MathFactory.C
	(initSymbols): read and store requires field for symbols

	* src/mathed/InsetMathSymbol.C
	(InsetMathSymbol::metrics): handle esint
	(InsetMathSymbol::takesLimits): ditto

	* src/buffer.C
	(LYX_FORMAT): update format
	(Buffer::validate): handle esint, AMS_ON -> package_on

	* src/bufferparams.C:
	(AMSTranslator): Rename to PackageTranslator
	(BufferParams::readToken): Read \use_esint
	(BufferParams::writeFile): Write \use_esint

	* src/frontends/qt4/QDocumentDialog.C: handle esint

	* src/frontends/qt4/ui/MathsUi.ui : add esint checkboxes

	* src/frontends/qt4/GuiFontLoader.C
	(symbol_fonts: Add esint10 font
	(symbolFamily): handle esint10 font
	(isChosenFont): Add comment

	* src/frontends/controllers/ControlMath.C
	(latex_varsz): Add new integral symbols

	* src/support/fontutils.C
	(win_fonts_truetype): Add esint10 font

	* src/bufferparams.h
	(enum AMS): rename to enum Package
	(use_esint): new parameter

	* src/lyxfont.[Ch]: Add esint font

	* lib/symbols: Add new integral symbols

	* lib/lyx2lyx/LyX.py
	(format_relation): Update format

	* lib/lyx2lyx/lyx_1_5.py: handle new format

	* lib/chkconfig.ltx: Test esint package

	* lib/images/math/oiintop.xpm
	* lib/images/math/sqintop.xpm
	* lib/images/math/sqint.xpm
	* lib/images/math/ointctrclockwiseop.xpm
	* lib/images/math/ointctrclockwise.xpm
	* lib/images/math/iiintop.xpm
	* lib/images/math/iintop.xpm
	* lib/images/math/sqiint.xpm
	* lib/images/math/iiint.xpm
	* lib/images/math/ointclockwiseop.xpm
	* lib/images/math/oiint.xpm
	* lib/images/math/dotsintop.xpm
	* lib/images/math/sqiintop.xpm
	* lib/images/math/ointclockwise.xpm
	* lib/images/math/iiiintop.xpm
	* lib/images/math/dotsint.xpm
	* lib/images/math/iiiint.xpm
	* lib/images/math/iint.xpm: new icons

	* lib/doc/LaTeXConfig.lyx.in: Add docs for esint package

	* lib/doc/UserGuide.lyx: Add short documentation of integral symbols

	* lib/Makefile.am: Add new files

	* development/scons/scons_manifest.py: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15907 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 17:35:18 +00:00