Article View: comp.text.tex
Article #382New on CTAN: mathwrap
From: CTAN Announcements
Date: Sun, 22 Nov 2026 14:44
Date: Sun, 22 Nov 2026 14:44
36 lines
3426 bytes
3426 bytes
Yiu Sing Lee submitted the
mathwrap
package.
Version: 1.0
License: lppl1.3c
Summary description: Automatic line breaking in inline math
Announcement text:
--------------------------------------------------------------------------------
mathwrap is a LaTeX package that improves line breaking in inline math. It makes commas active inside inline math ($...$ and \(...\)) to allow line breaks after them, leaving display math untouched. This initial release includes
- Line-break permissions after commas in inline math.
- Optional tweaks to binary/relation penalties and \emergencystretch to help prevent overfull \hbox warnings.
- Toggle commands (\mathwrapOn and \mathwrapOff) to disable the active comma around parser-heavy packages like TikZ or pgfplots.
--------------------------------------------------------------------------------
This package is located at
https://mirrors.ctan.org/macros/latex/contrib/mathwrap
More information is at
https://ctan.org/pkg/mathwrap
--------------------------------------------------------------------------------
Thanks for the upload.
For the CTAN Team
Manfred Lotz
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 .
Technical Details
Message-ID:
<ef40490bbf6664c0@hogwart>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: CTAN Announcements <manfred@ctan.org> Newsgroups: comp.text.tex Subject: New on CTAN: mathwrap Date: Sun, 22 Nov 2026 15:44:32 +0100 (CET) Organization: CTAN Lines: 36 Message-ID: <ef40490bbf6664c0@hogwart> Content-Type: text/plain; charset=utf-8 Injection-Info: solani.org; logging-data="336788"; mail-complaints-to="abuse@news.solani.org" To: ctan-ann@ctan.org Cancel-Lock: sha1:QOt+GHVW5C8ylHw5yjqFlVCvn80= X-Message-ID-Hash: MP74ACYMRGK7YKANXDEWMZ3K7ZLITFP7 Precedence: list Message-ID-Hash: MP74ACYMRGK7YKANXDEWMZ3K7ZLITFP7 X-User-ID: eJwNwoENACAIA7CXEGHCOWTg/ydoWt9Y4DE4zO8nfi5CuOiiFm1NpPQkNzEZmolil3JQgQcPNhEV X-Mailman-Version: 3.3.8 X-Rspamd-Action: no action X-Rspamd-Server: irony DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ctan.org; s=201703; t=1795358674; bh=zomprgWIpnXBM5kh4syoUiqiyO1m8bqwSodFjwWc86o=; h=Date:From:To:Subject:From; b=ivJmk2g9C7l2vLzjucdG6BlFWu8PNwTqJQOscf8zrmz08gvZGf8622r35Xhpa95W6 Xi78d/59Vwr4QjvpnTJoLxbOpviMq8kFhZQxWD3ADdRtHRMEo+cqZ8tQBJUsUNYcc2 h4bgqmxOGVjHdtFtz8A+vt/9dwkhqqV9Yve7TEzg= X-Mailman-Rule-Hits: member-moderation X-Rspamd-Queue-Id: 9AC2081784 X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address X-MailFrom: manfred@ctan.org X-Spamd-Result: default: False [-0.60 / 16.00]; BAYES_HAM(-3.00)[100.00%]; MISSING_MIME_VERSION(2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_ORG_HEADER(0.00)[]; ARC_NA(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; ASN(0.00)[asn:3320,ipnet:2003::/19,country:DE]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; RECEIVED_HELO_LOCALHOST(0.00)[]; LOCAL_OUTBOUND(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]