]> git.lyx.org Git - features.git/commit
Implement rule 17
authorGuillaume Munch <gm@lyx.org>
Sun, 27 Nov 2016 21:45:51 +0000 (22:45 +0100)
committerGuillaume Munch <gm@lyx.org>
Tue, 31 Jan 2017 21:55:00 +0000 (22:55 +0100)
commit03a4b8c93281f9081dc56673f408d32ecddc2470
treead384c1a1cf5e01e76b63996cb64df07dda83b84
parent566d008c9d00691152b45f1c9e51b4ab8535060a
Implement rule 17

* Convert the kerning into a proper right margin for mathnormal, mathscr and
  mathcal (fonts with \fontdimen2 == 0 as per rule 17 from TeXBook).

* Simulate the fact that characters in mathnormal fonts have a 0-width left
  bearing.

* Implement subscript positioning in the case of rule 17 using negative italic
  correction (kerning_).
src/mathed/InsetMath.h
src/mathed/InsetMathChar.cpp
src/mathed/InsetMathScript.cpp
src/mathed/InsetMathScript.h
src/mathed/InsetMathSideset.h
src/mathed/InsetMathSpecialChar.cpp
src/mathed/MathData.h
src/mathed/MathSupport.cpp