]> git.lyx.org Git - features.git/commit
Native support for \smash[t] and \smash[b]
authorGeorg Baum <baum@lyx.org>
Tue, 27 May 2014 20:10:02 +0000 (22:10 +0200)
committerGeorg Baum <baum@lyx.org>
Tue, 27 May 2014 20:13:58 +0000 (22:13 +0200)
commit5dc9568f8d7e1eea485658a9a6d2e0f12114ddaa
treecefd542d5705bea7386053a8cbdacda7079a8841
parentff8450f83980db8521c65a69b7063b0c8a804c07
Native support for \smash[t] and \smash[b]

This is a follow-up of bug #8967. The implementation is self-explaining, the
only part which needs a comment is lyx2lyx: Since a 100% correct solution is
not possible, it has been decided not to switch amsmath off in the forward
conversion if no other ams command than \smash[t] and \smash[b] is used, but
to consider it a bug that older versions do not load amsmath automatically for
these commands. In the backward direction it is easy to keep the document
compilable, so just do that.
25 files changed:
development/FORMAT
lib/Makefile.am
lib/images/math/smashb.png [new file with mode: 0644]
lib/images/math/smasht.png [new file with mode: 0644]
lib/lyx2lyx/LyX.py
lib/lyx2lyx/lyx_2_2.py
lib/ui/stdtoolbars.inc
src/mathed/InsetMathPhantom.cpp
src/mathed/InsetMathPhantom.h
src/mathed/MathFactory.cpp
src/mathed/MathParser.cpp
src/tex2lyx/test/CJK.lyx.lyx
src/tex2lyx/test/CJKutf8.lyx.lyx
src/tex2lyx/test/DummyDocument.lyx.lyx
src/tex2lyx/test/Dummy~Document.lyx.lyx
src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx
src/tex2lyx/test/algo2e.lyx.lyx
src/tex2lyx/test/box-color-size-space-align.lyx.lyx
src/tex2lyx/test/test-insets.lyx.lyx
src/tex2lyx/test/test-modules.lyx.lyx
src/tex2lyx/test/test-refstyle-theorems.lyx.lyx
src/tex2lyx/test/test-structure.lyx.lyx
src/tex2lyx/test/test.lyx.lyx
src/tex2lyx/test/verbatim.lyx.lyx
src/version.h