diff options
author | Karl Berry <karl@freefriends.org> | 2022-04-19 20:10:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-04-19 20:10:27 +0000 |
commit | b12479292b3e2468c564619ee6b60dbc13eeb1be (patch) | |
tree | 01f444779592389c9650c7cfecfcd301ca6198db /Master/texmf-dist/doc/lualatex | |
parent | 3aef115c3b639b7f73a9866cda39c98e9bc8649c (diff) |
luamathalign (19apr22)
git-svn-id: svn://tug.org/texlive/trunk@63081 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/lualatex')
-rw-r--r-- | Master/texmf-dist/doc/lualatex/luamathalign/README.md | 29 | ||||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/luamathalign/luamathalign.pdf | bin | 0 -> 391838 bytes |
2 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/lualatex/luamathalign/README.md b/Master/texmf-dist/doc/lualatex/luamathalign/README.md new file mode 100644 index 00000000000..0eb7c4d06f7 --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/luamathalign/README.md @@ -0,0 +1,29 @@ +# The `luamathalign` package for LuaLaTeX + +With `amsmath`'s `align` environment simple equations can be aligned easily, e.g. + +```tex +2 &=1+1\\ +2-1&=1 +``` + +but even just adding an underline makes this much more complicated. E.g. + +```tex +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. diff --git a/Master/texmf-dist/doc/lualatex/luamathalign/luamathalign.pdf b/Master/texmf-dist/doc/lualatex/luamathalign/luamathalign.pdf Binary files differnew file mode 100644 index 00000000000..d946d148943 --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/luamathalign/luamathalign.pdf |