Directory macros/luatex/latex/longmath
longmath -------- Nested delimiter groups extending over multiple array cells or lines. The longmath package provides yet another solution to some well known typesetting problems solved in a variety of ways: multi line formulas with paired and nested delimiters. It tackles the problem at the Lua level, which has some advantages over solutions implemented in TeX. In particular, the TeX code need not be executed multiple times, and there is no interference between TeX grouping and the nesting of delimiter groups. As a byproduct, delimiters can be scaled in various ways, inner delimiters come in different flavours like relational and binary operators, punctuation symbols etc., and outer delimiters can be selected automatically according to the nesting level. Last but not least, delimiter groups can even extend across several array cells or across the whole document. A special environment is provided as well, which allows multi line expressions to be placed inside a displayed equation and make TeX do the line splitting and alignment. (c) 2024 Hans-Jürgen Matschull [ hjm.tex@matschull.net ] This work may be distributed and/or modified under the conditions of the LaTeX Project Public License version 1.3 or later. The following files belong to the longmath package version 1.0: package and documentation: longmath.sty longmath.lua longmath-doc.pdf documentation source: longmath-doc.tex longmath-doc.cls longmath-doc.lua
Download the contents of this package in one zip archive (185.6k).
longmath – Nested delimiter groups extending over multiple array cells or lines
This package provides yet another solution to some well known typesetting problems solved in a variety of ways: multi line formulas with paired and nested delimiters. It tackles the problem at the Lua level, which has some advantages over solutions implemented in TeX. In particular, the TeX code need not be executed multiple times, and there is no interference between TeX grouping and the nesting of delimiter groups.
As a byproduct, delimiters can be scaled in various ways, inner delimiters come in different flavours like relational and binary operators, punctuation symbols etc., and outer delimiters can be selected automatically according to the nesting level. Last but not least, delimiter groups can even extend across several array cells or across the whole document.
A special environment is provided as well, which allows multi line expressions to be placed inside a displayed equation and make TeX do the line splitting and alignment.
Package | longmath |
Version | 1.0 2024-07-04 |
Licenses | The LaTeX Project Public License 1.3 |
Copyright | 2024 Hans-Jürgen Matschull |
Maintainer | Hans-Jürgen Matschull |
Contained in | TeX Live as longmath MiKTeX as longmath |
Topics | Maths LuaTeX Parentheses management |