lyx_mirror/src/mathed
Guillaume Munch f3b70fd2cd Display the correct horizontal alignment in AMS environments
A longstanding problem... (related: #1861)

The columns in AMS math environments have a fixed alignment (colAlign() in
InsetMathGrid.cpp). We set this alignment for display (Georg's
displayColAlign()) in InsetMathHull and InsetMathSplit. This is done according
to tests and documentation for the various environments.

There is also some mechanical code factoring via colAlign().

Finally, I disable setting the horizontal alignment in InsetMathSplit, which has
no impact on the LaTeX output, and has no longer any impact on the screen. (As
for vertical alignment I discovered that it was in fact customisable for
\aligned & friends! I hope that the more faithful interface will let other
users discover that too.)
2016-05-28 17:42:31 -04:00
..
BUGS
CMakeLists.txt
CommandInset.cpp
CommandInset.h
InsetMath.cpp Adding TexRow information on math latex output (#4725) 2015-10-19 06:55:17 +01:00
InsetMath.h Add a unique id to math insets 2015-10-19 06:55:17 +01:00
InsetMathAMSArray.cpp New LFUN tabular-feature (#9794) 2016-01-27 18:20:37 +01:00
InsetMathAMSArray.h
InsetMathArray.cpp Adding TexRow information on math latex output (#4725) 2015-10-19 06:55:17 +01:00
InsetMathArray.h
InsetMathBig.cpp
InsetMathBig.h
InsetMathBoldSymbol.cpp
InsetMathBoldSymbol.h
InsetMathBox.cpp Inset files: add includes to compile with cxx11 2015-12-10 01:15:16 +01:00
InsetMathBox.h
InsetMathBrace.cpp
InsetMathBrace.h
InsetMathCancel.cpp
InsetMathCancel.h
InsetMathCancelto.cpp Convert remaining C++ files to UTF-8 2015-12-05 19:33:24 +00:00
InsetMathCancelto.h Convert remaining C++ files to UTF-8 2015-12-05 19:33:24 +00:00
InsetMathCases.cpp New LFUN tabular-feature (#9794) 2016-01-27 18:20:37 +01:00
InsetMathCases.h
InsetMathChar.cpp Introduce proper integer rounding function 2016-02-17 21:42:37 +01:00
InsetMathChar.h
InsetMathColor.cpp
InsetMathColor.h
InsetMathComment.cpp
InsetMathComment.h
InsetMathDecoration.cpp
InsetMathDecoration.h
InsetMathDelim.cpp Inset files: add includes to compile with cxx11 2015-12-10 01:15:16 +01:00
InsetMathDelim.h
InsetMathDiagram.cpp Adding TexRow information on math latex output (#4725) 2015-10-19 06:55:17 +01:00
InsetMathDiagram.h
InsetMathDiff.cpp
InsetMathDiff.h
InsetMathDots.cpp Add missing intializations 2015-10-10 21:04:28 +02:00
InsetMathDots.h
InsetMathEnsureMath.cpp
InsetMathEnsureMath.h
InsetMathEnv.cpp
InsetMathEnv.h
InsetMathExFunc.cpp
InsetMathExFunc.h
InsetMathExInt.cpp
InsetMathExInt.h
InsetMathFont.cpp
InsetMathFont.h
InsetMathFontOld.cpp
InsetMathFontOld.h
InsetMathFrac.cpp
InsetMathFrac.h
InsetMathGrid.cpp Display the correct horizontal alignment in AMS environments 2016-05-28 17:42:31 -04:00
InsetMathGrid.h Display the correct horizontal alignment in AMS environments 2016-05-28 17:42:31 -04:00
InsetMathHull.cpp Display the correct horizontal alignment in AMS environments 2016-05-28 17:42:31 -04:00
InsetMathHull.h Get rid of use_preview_ in various insets 2016-02-09 09:54:14 +01:00
InsetMathKern.cpp
InsetMathKern.h
InsetMathLefteqn.cpp
InsetMathLefteqn.h
InsetMathLim.cpp
InsetMathLim.h
InsetMathMatrix.cpp
InsetMathMatrix.h
InsetMathNest.cpp In mathed, only select current cell on double-click 2016-03-16 10:23:23 +01:00
InsetMathNest.h
InsetMathNumber.cpp
InsetMathNumber.h
InsetMathOverset.cpp
InsetMathOverset.h
InsetMathPar.cpp
InsetMathPar.h
InsetMathPhantom.cpp Inset files: add includes to compile with cxx11 2015-12-10 01:15:16 +01:00
InsetMathPhantom.h
InsetMathRef.cpp
InsetMathRef.h
InsetMathRoot.cpp
InsetMathRoot.h
InsetMathScript.cpp
InsetMathScript.h
InsetMathSideset.cpp
InsetMathSideset.h
InsetMathSize.cpp
InsetMathSize.h
InsetMathSpace.cpp
InsetMathSpace.h
InsetMathSpecialChar.cpp
InsetMathSpecialChar.h
InsetMathSplit.cpp Display the correct horizontal alignment in AMS environments 2016-05-28 17:42:31 -04:00
InsetMathSplit.h Display the correct horizontal alignment in AMS environments 2016-05-28 17:42:31 -04:00
InsetMathSqrt.cpp
InsetMathSqrt.h
InsetMathStackrel.cpp
InsetMathStackrel.h
InsetMathString.cpp Remove a deep copy of MathData in lyx::write 2015-10-19 06:55:18 +01:00
InsetMathString.h
InsetMathSubstack.cpp New LFUN tabular-feature (#9794) 2016-01-27 18:20:37 +01:00
InsetMathSubstack.h
InsetMathSymbol.cpp Introduce proper integer rounding function 2016-02-17 21:42:37 +01:00
InsetMathSymbol.h
InsetMathTabular.cpp Adding TexRow information on math latex output (#4725) 2015-10-19 06:55:17 +01:00
InsetMathTabular.h
InsetMathUnderset.cpp
InsetMathUnderset.h
InsetMathUnknown.cpp Add missing intializations 2015-10-10 21:04:28 +02:00
InsetMathUnknown.h
InsetMathXArrow.cpp Inset files: add includes to compile with cxx11 2015-12-10 01:15:16 +01:00
InsetMathXArrow.h
InsetMathXYArrow.cpp Add missing intializations 2015-10-10 21:04:28 +02:00
InsetMathXYArrow.h
InsetMathXYMatrix.cpp Adding TexRow information on math latex output (#4725) 2015-10-19 06:55:17 +01:00
InsetMathXYMatrix.h
MacroTable.cpp Adding TexRow information on math latex output (#4725) 2015-10-19 06:55:17 +01:00
MacroTable.h
MathAtom.cpp
MathAtom.h
MathAutoCorrect.cpp
MathAutoCorrect.h
MathCompletionList.h
MathData.cpp Improve fix to 57615915. 2015-11-08 21:53:32 +01:00
MathData.h
MathExtern.cpp Remove a deep copy of MathData in lyx::write 2015-10-19 06:55:18 +01:00
MathExtern.h Remove a deep copy of MathData in lyx::write 2015-10-19 06:55:18 +01:00
MathFactory.cpp
MathFactory.h
MathMacro.cpp Fxy typo in XHTML output (bug #10124) 2016-05-22 17:32:04 +02:00
MathMacro.h
MathMacroArgument.cpp
MathMacroArgument.h
MathMacroTemplate.cpp Adding TexRow information on math latex output (#4725) 2015-10-19 06:55:17 +01:00
MathMacroTemplate.h
MathParser_flags.h
MathParser.cpp
MathParser.h
MathStream.cpp Adding TexRow information on math latex output (#4725) 2015-10-19 06:55:17 +01:00
MathStream.h Adding TexRow information on math latex output (#4725) 2015-10-19 06:55:17 +01:00
MathSupport.cpp Adding TexRow information on math latex output (#4725) 2015-10-19 06:55:17 +01:00
MathSupport.h
README
ReplaceData.h
texify
TextPainter.cpp
TextPainter.h

Inset 'Xyz' is implemented by 'MathXyzInset' in 'math_xyzinset.[hC]'


Inset hierarchy:

                                   MathInset
                                (abstract base)

                         /            |               \

              Dim                  Char               Symbol, Space, ...
         (thing that need       (for things formerly
          the width_/ascent_     known as characters)
          /descent_ cache)

          /             \

       Nest              Dots,  Func, ...
  (for thing with
   nested content)

        |         \

      Grid        Decoration   Delim   Frac  Macro  Root  Script  Sqrt

      /   \

 Array    Hull
         (base for eqnarray/align/...)