CTAN Comprehensive TeX Archive Network

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 . While standard 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.

Sources/macros/latex/contrib/modernruler
Documentation
Repositoryhttps://github.com/KKTeX/modernruler
Version1.0.0 2025-12-28
LicensesMIT License
Copyright2025 Kosei Kawaguchi
MaintainerKK
TopicsNotes
Misc support

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

Community Comments

Loading...

Package Links

Guest Book Sitemap Contact Contact Author