From b12479292b3e2468c564619ee6b60dbc13eeb1be Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 19 Apr 2022 20:10:27 +0000 Subject: luamathalign (19apr22) git-svn-id: svn://tug.org/texlive/trunk@63081 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/lualatex/luamathalign/README.md | 29 +++++++++++++++++++++ .../doc/lualatex/luamathalign/luamathalign.pdf | Bin 0 -> 391838 bytes 2 files changed, 29 insertions(+) create mode 100644 Master/texmf-dist/doc/lualatex/luamathalign/README.md create mode 100644 Master/texmf-dist/doc/lualatex/luamathalign/luamathalign.pdf (limited to 'Master/texmf-dist/doc') 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 new file mode 100644 index 00000000000..d946d148943 Binary files /dev/null and b/Master/texmf-dist/doc/lualatex/luamathalign/luamathalign.pdf differ -- cgit v1.2.3