Commit Graph

73 Commits

Author SHA1 Message Date
André Pönitz
38fce2feac Prepare mathed for unified two-stage drawing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7059 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-28 13:22:36 +00:00
André Pönitz
a8e8e755fc rename the members of Dimension
* dimension.[Ch]: a -> asc, d -> des, w -> wid


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7053 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-27 13:55:03 +00:00
Angus Leeming
47003fdee1 Scrap LColor mathcursor. Use only logical colours in mathed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6801 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-14 16:00:42 +00:00
André Pönitz
e969b0ce22 black->foreground
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6799 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-14 14:56:49 +00:00
André Pönitz
1829cdef6a promote MathMetricsInfo to MetricsInfo, change mathed accordingly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6555 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-21 14:20:48 +00:00
John Levon
54d9f7c022 rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6542 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-19 17:15:32 +00:00
André Pönitz
5d8eaff14f Fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6156 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 16:02:24 +00:00
Lars Gullik Bjønnes
99d1627a47 dont use pragma impementation and interface anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +00:00
André Pönitz
2fb92b0cef fix mathtt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5976 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-21 12:13:29 +00:00
André Pönitz
f6242f0e5c Give symbols a "neutral" color, so there are black in text and blue in math.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5803 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-11 06:45:19 +00:00
André Pönitz
7b97216ab7 re-enable drawing of mathbb
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5798 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-09 13:04:15 +00:00
André Pönitz
df86edfddc support for \dots, Part II
fix drawing of \odots


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5796 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-09 09:52:43 +00:00
Lars Gullik Bjønnes
53274e31ec the string -> char patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5725 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-27 10:30:28 +00:00
André Pönitz
a37064c0ac add #pragme interface/implementation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5263 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-11 09:14:57 +00:00
André Pönitz
b8198905dc the FuncRequest changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4887 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-07 08:11:41 +00:00
André Pönitz
45d1084a64 remove a few unneeded 'include'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4842 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 14:04:16 +00:00
André Pönitz
990069f546 a step towards world domination^H^H^H
aehm... move things from the parbox inset to an abstract base class
'MathTextInset' and have a shot on implementing an ERT inset on top of
that.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4819 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-31 17:26:14 +00:00
Jean-Marc Lasgouttes
4bf9542812 fix display of rotated math decorations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4754 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-22 22:00:49 +00:00
André Pönitz
2858081d89 Herbert's compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4674 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 11:05:16 +00:00
André Pönitz
6adb9c9122 remove unneeded inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4616 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 10:28:15 +00:00
John Levon
c17851a1d5 Move fontloader into lyx_gui stuff. Now Qt should compile out of the box
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4612 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 03:05:13 +00:00
André Pönitz
b80b2189f7 remove inset for \not
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4607 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 15:37:03 +00:00
André Pönitz
86323de88f remove unneede functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4602 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 14:28:11 +00:00
André Pönitz
9b2be91bed replace (ascent, descent, width) triples by a structure 'dimension'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4601 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 11:27:24 +00:00
André Pönitz
bd6885433a remove hard-wired association LaTeX macro <-> mathed inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4599 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 09:34:58 +00:00
André Pönitz
2c3ae20fc2 support for wasy symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4566 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 13:38:27 +00:00
André Pönitz
4dd411c611 preliminary work for \parbox support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4543 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 11:29:51 +00:00
André Pönitz
ad68c67160 support for AMS's \text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4536 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-05 16:13:36 +00:00
André Pönitz
a78c4b15ff killing MathType simplifies a few things...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4520 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-03 10:36:44 +00:00
André Pönitz
cd19a0b33b Geof Piroux's patch for Mathematica support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4506 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-01 11:17:14 +00:00
André Pönitz
c649284611 several smallish changes/bugfixes/left overs from Porto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4474 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 13:19:50 +00:00
André Pönitz
3786644124 most of the so far unapplied stuff from porto including proper support for
\fbox and a few bugfixes (and quite probable lots of new bugs)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4466 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 15:37:14 +00:00
Lars Gullik Bjønnes
f1c24d1009 *duck*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4417 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 15:44:30 +00:00
José Matox
c788ba4d67 playing around with visual feedback for the new mathed font insets
now a font change gets small (and hopefully not too annoying) markers and no two "logical" positions end up in the same physical position on screen. Comments welcome.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4402 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-14 12:24:28 +00:00
André Pönitz
12130ed9b1 small font stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4335 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-05 07:12:05 +00:00
André Pönitz
aa1b4aa789 further \mbox tweaking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4333 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-04 09:45:41 +00:00
André Pönitz
e093e5e80c try to fix rounding errors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4299 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 14:56:13 +00:00
André Pönitz
fe87869cb7 fonts as insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4289 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 07:09:54 +00:00
André Pönitz
6a0b1fe001 crude support for a few more AMS constructs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4280 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 15:58:26 +00:00
John Levon
962a0c5585 font loader / color handler move
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4204 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 18:24:14 +00:00
John Levon
2dabaa33de font_metrics part 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4203 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 14:34:32 +00:00
John Levon
06f9f0ea08 OK I'll try guii1 again ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4186 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 09:21:32 +00:00
André Pönitz
c3c133bd2e fix lookup problem for \vert.
Funny what kind of problems turn up if one actually _uses_ LyX.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3905 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-04 14:48:39 +00:00
André Pönitz
539d0d1664 get recently broken \mathcircumflex working again (hackish, proper fix in 1.3)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3889 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 10:45:32 +00:00
André Pönitz
4366ef931c - revive 1.1.6 eqnarray behaviour when pressing <Del> in the last position of a
cell.
- allow additional argument to math-macros for drawing purposes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3823 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 12:11:25 +00:00
Lars Gullik Bjønnes
2b8ef58dc0 ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3804 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:42:56 +00:00
André Pönitz
724cbeaa42 using std::endl; and forbidden small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3784 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 07:30:32 +00:00
André Pönitz
858355fb69 - reduce sizeof(MathCharInset) by 20 by better font caching
(lots of subsequent changes)
- ascii art drawing for \frac and \sqrt


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3780 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 16:55:58 +00:00
André Pönitz
eea39a8e42 don't draw spaces...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3739 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 11:22:01 +00:00
André Pönitz
d15da27db8 speed up math drawing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3729 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 14:59:08 +00:00