CTAN Comprehensive TeX Archive Network

Mathwrap

Automatic line breaking in inline math

mathwrap improves line breaking in inline math mode. By default, avoids breaking lines inside inline math, which frequently results in Overfull \hbox warnings for long lists or sequences. The package makes the comma active in inline math to allow breaks after it, and optionally adjusts the penalties for binary operators and relations as well as \emergencystretch. Display math is not affected.

Sources/macros/latex/contrib/mathwrap
Documentation
Version1.0
LicensesThe Project Public License 1.3c
Copyright2026 Lee Yiu Sing
MaintainerYiu Sing Lee
Contained inTeX Live as mathwrap
TopicsMaths

Download the contents of this package in one zip archive (163.6k).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Guest Book Sitemap Contact Contact Author