# New on CTAN: longmath

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.

The package’s Catalogue entry can be viewed at https://ctan.org/pkg/longmath The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/luatex/latex/longmath/

Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese

CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

## 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 | 0.1 2024-03-25 |

Copyright | 2024 Hans-Jürgen Matschull |

Maintainer | Hans-Jürgen Matschull |