Commit Graph

79 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
7ea7dabed1 to much stuff for my liking...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +00:00
André Pönitz
5e6481b76e support for \substack
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3540 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 14:52:23 +00:00
André Pönitz
e5fed66b3b inactive new stuff to re-sync my tree before going on holyday
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3535 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 12:38:02 +00:00
André Pönitz
e70e507d01 support for AMS's \pmatrix and \bmatrix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3530 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 13:15:15 +00:00
André Pönitz
ffabba6156 Finxing Umlauts, Part I
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3503 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 08:03:38 +00:00
André Pönitz
961105ec0e support for \xrightarrow and \xleftarrow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3483 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 09:51:40 +00:00
André Pönitz
b5fd9ac98d basic support for \xymatrix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3482 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-04 18:44:51 +00:00
André Pönitz
66d171ea78 proper support for \underset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3469 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 10:33:06 +00:00
André Pönitz
fe31e337c1 perhaps a fix for the latest crashes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3174 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 10:09:00 +00:00
André Pönitz
ebe6d25126 deep iterators for math insets;
use brute force for to determine "best" position when doing cursor up/down
(will be sped up a bit again soonish...)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3153 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 17:50:18 +00:00
André Pönitz
ef9efa6c0d do as Lars says
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3142 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 17:52:48 +00:00
André Pönitz
aed2b1804c make operator<<(*stream, ...) free functions;
make *stream 'class' instead of 'struct' (not finished);
use LCOlor::mathline only for boxes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3140 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 16:24:50 +00:00
André Pönitz
39924c351c simple search-and-replace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3037 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-16 09:55:37 +00:00
André Pönitz
f3c27aa1f5 add paranthesis around numerator and denominator when exporting fractions
new inset for derivatives


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3024 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 16:27:06 +00:00
André Pönitz
c12d116ce7 support for \begin{cases}...\end{cases} (for interactive creation type M-x
math-insert cases <number_of_case_you_want>)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3011 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-12 16:45:09 +00:00
André Pönitz
6cfb068d37 some work on math-extern
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2997 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 14:23:44 +00:00
André Pönitz
9921635d78 forgotten file math_extern[Ch]
first shot at transformation 'sin^2 x' -> 'sin(x)^2'


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2992 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 10:44:24 +00:00
André Pönitz
c93e9dcbc5 some support for matrix operations with maple ('M-x math-extern maple evalm')
further cosmetics


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2991 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 08:35:57 +00:00
André Pönitz
f34e4919f7 cosmetics: rename (x)array.[Ch] into math_(x)data.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2988 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:55:58 +00:00
André Pönitz
15b1e9cdde cosmetics: rename "matrix" into "hull" since it is used only for the
outermost math inset in a formula and not for matrices at all...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2986 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:28:33 +00:00
André Pönitz
1b787e207d cosmetics: rename support.[Ch] into math_support.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2985 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:15:12 +00:00
André Pönitz
0daba49b1d don't #include too much stuff in .h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2984 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:06:56 +00:00
André Pönitz
7cccd80619 change output to uses streams instead of strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2977 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 17:30:26 +00:00
André Pönitz
2dd919eeb8 parse octave output as matrix if necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2974 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 13:15:59 +00:00
André Pönitz
dff2911bda write \mathrm{x}\mathrm{y} as \mathrm{xy} again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2966 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-05 17:08:45 +00:00
André Pönitz
fcc87d756b Re-introduction of a BraceInset to handle "extra braces"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2943 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-29 15:45:24 +00:00
André Pönitz
970f0247f7 halfway through fixing size of math in non-standard sizesd paragraohs like
section headings...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2907 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 17:46:13 +00:00
André Pönitz
5507c1ad69 use stream-like syntax for LaTeX output
(instead of inset.write(stream) functions)

prepare fix for proper font sizes in chapter heading etc...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2899 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 11:25:48 +00:00
André Pönitz
35d74b0e6f some visual support for \lefteqn
fix some writeNormal() issues


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2895 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-18 13:21:21 +00:00
André Pönitz
e4c58b72be try to do with super- and subscripts what TeX does
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2722 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 10:58:17 +00:00
Lars Gullik Bjønnes
271f8d7eec some mods I had in my local tree, mostly small stuff, perhaps minus the the Makefile changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2713 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-09 22:02:19 +00:00
André Pönitz
401e0c2609 remove symbol_def.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2697 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-05 16:16:12 +00:00
André Pönitz
3b2f6decf2 read/write support for the AMS split environment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2688 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-05 12:57:13 +00:00
Dekel Tsur
2806246e1e Few math fonts improvements (use cmr for uppercase greek, support for
\mathbb)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2647 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-31 21:15:57 +00:00
André Pönitz
3e7bc31d0c *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2626 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-30 08:55:13 +00:00
André Pönitz
f1e2433313 re-enable { and } in seperate cells;
nuke MathScopeInset;


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2620 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-29 16:23:54 +00:00
André Pönitz
50a865b664 some support for TeX's \kern primitive in the parser.
use \kern instead of yesterday's home grown CheatInset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2569 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-21 14:20:50 +00:00
André Pönitz
7e7a107039 some *cough* support for \ll and \gg and potentially more...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2561 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-20 16:37:35 +00:00
André Pönitz
b76821ddff new special-purpose inset for \not
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2527 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-16 12:34:48 +00:00
André Pönitz
d586e9e856 support for TeX's \choose
fix for return void


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2504 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 15:26:41 +00:00
André Pönitz
ba5f02ca07 small step to a unified parser for file & interactive input
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2501 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 14:02:37 +00:00
André Pönitz
e729656153 prepare proper handling of {...} blocks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2488 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 14:08:00 +00:00
André Pönitz
d6f2a2313a fix broken ^ stuff; break delimiters...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2466 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 15:19:31 +00:00
André Pönitz
cbf29c8fdc new hierarchy for frac-like things
'native' \stackrel support
remove MathInset::name_ member (sizeof(MathInset) == 20 on IA32 now);


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2457 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 17:26:30 +00:00
André Pönitz
9a60233661 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2432 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 04:49:50 +00:00
Lars Gullik Bjønnes
70b62a472b make mathed compile (but not link), adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2430 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 19:14:17 +00:00
André Pönitz
8b7b3a5895 - fix nasty bug due to missing InsetFormula copy c'tor
- make all cache variables mutable, remove const_casts


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2426 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 17:20:26 +00:00
André Pönitz
244d75e942 move width_/ascent_/descent_ cache into seperate ABC.
sizeof(MathInset) == 24 on IA32


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2414 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 17:55:10 +00:00
André Pönitz
51e0c8bd1f everything is an inset. sizeof(MathInset) == 36 on IA32
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2413 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 17:10:22 +00:00
André Pönitz
811980f739 rename MathBigopInset into MathSymbolInset. That's what it is nowadays...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2365 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 10:08:04 +00:00