CTAN update: modernruler
Date: January 9, 2026 6:41:34 PM CET
KKTeX submitted an update to the
modernruler
package.
Version number: 1.1.0 2026-01-06
License type: mit
Summary description: Flexible ruler and annotation commands with key-value support and vertical writing compatibility
Announcement text:
Updated the package to address the issue reported in https://github.com/KKTeX/modernruler/issues/1. Previously, \zw was used internally, which caused compatibility issues in certain LaTeX environments. Since \zw is specific to Japanese typesetting, it has been replaced with em for Latin text environments (as they are functionally equivalent) to ensure broader compatibility.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/modernruler More information is at https://www.ctan.org/pkg/modernruler
Thanks for the upload. For the CTAN Team Erik Braun
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
Updated the package to address the issue reported in https://github.com/KKTeX/modernruler/issues/1. Previously, \zw was used internally, which caused compatibility issues in certain LaTeX environments. Since \zw is specific to Japanese typesetting, it has been replaced with em for Latin text environments (as they are functionally equivalent) to ensure broader compatibility.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/modernruler More information is at https://www.ctan.org/pkg/modernruler
Thanks for the upload. For the CTAN Team Erik Braun
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
modernruler – Flexible ruler and annotation commands with key-value support and vertical writing compatibility
This package provides a versatile set of commands for drawing rules and creating annotations in LaTeX. While standard LaTeX rules can be rigid, this package introduces more flexible alternatives: \mruleth (horizontal rules), \mruletv (vertical rules), and \undernote (underlined annotations).
Key Features:
- Key-Value Interface: All commands support a consistent key-value syntax for adjust dimensions (width, height, depth), colors, and dash patterns (dash, dash-len, gap-len).
- Underline Annotations: The \undernote command allows users to attach descriptive notes to underlined text. It automatically handles positioning, spacing between multiple notes, and provides options for various border styles (solid or dashed boxes).
- Vertical Writing Compatibility: Designed with multilingual typesetting in mind, the package is compatible with vertical writing modes, ensuring that rules and notes are oriented correctly.
- Customization: Users can update package-wide dfaults at any point in the document using a dedicated set of \SetUNote… commands.
| Package | modernruler |
| Version | 1.1.0 2026-01-06 |
| Copyright | 2025 Kosei Kawaguchi |
| Maintainer | KKTeX |