Directory macros/luatex/latex/luamathalign
README.md
The luamathalign
package for LuaLaTeX
With amsmath
's align
environment simple equations can be aligned easily, e.g.
2 &=1+1\\
2-1&=1
but even just adding an underline makes this much more complicated. E.g.
2 &=1+1\\ \underline{2-1&=1}
is not allowed. Similarly alignment points surrounded by \left
and \right
or points nested in other environments do not work.
For LuaLaTeX this can be solved with luamathalign. It adds a command \AlignHere
which behaves mustly like &
except that it's allowed almost anywhere. E.g.
2 &= 1+1\\ \underline{2-1 \AlignHere= 1}
Licensed under the LPPL v1.3c or later.
Download the contents of this package in one zip archive (388.1k).
luamathalign – More flexible alignment in amsmath environments
Allow aligning mathematical expressions on points where where direcly using & is not possible, especially in nested macros or environments.
Package | luamathalign |
Bug tracker | https://github.com/zauguin/luamathalign/issues |
Repository | https://github.com/zauguin/luamathalign |
Version | 0.3 2022-05-04 |
Licenses | The LaTeX Project Public License 1.3c |
Copyright | 2019–2022 Marcel Krüger |
Maintainer | Marcel Krüger |
Contained in | TeX Live as luamathalign MiKTeX as luamathalign |
Topics | Maths Font LuaTeX |