]> git.lyx.org Git - features.git/commit
major code cleanup for fractions:
authorUwe Stöhr <uwestoehr@web.de>
Sun, 5 Apr 2009 19:52:53 +0000 (19:52 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sun, 5 Apr 2009 19:52:53 +0000 (19:52 +0000)
commita97b097768b2d4df69015070040dfe3858ff82e2
treecec1ae39962b541cbe4fd0329f788694c6e5f914
parent58b87df638a3a0475d606a736c2d3e7080d4f449
major code cleanup for fractions:

- InsetMathFrac.cpp/h:
    - InsetCFrac, InsetDFrac, and InsetTFrac are now included as kind of InsetMathFrac
    - InsetDBinom and InsetTBinum are now included as kind of InsetMathBinom
    - support for the optional argument of \cfrac (cursor position still needs to be fixed, see post in mailing list)

- stdtoolbars.inc:
    - add entries for \cfrac
    - remove entry for \atop since atop is outdated and only in LaTeX2e for compatibility reasons (according to the LaTeX companion, you get warnings from amsmath in the LaTeX log when using atop)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29114 a592a061-630c-0410-9148-cb99ea01b6c8
lib/ui/stdtoolbars.inc
src/mathed/InsetMathFrac.cpp
src/mathed/InsetMathFrac.h
src/mathed/MathFactory.cpp
src/mathed/MathParser.cpp