CTAN Comprehensive TeX Archive Network

Directory macros/luatex/latex/luwa-ul

README.md

luwa-ul

License: MIT

Advanced Underlining and Highlighting for Lua / 縦書き・ルビ対応の下線・ハイライトパッケージ


Overview / 概要

luwa-ul provides robust underlining and highlighting functionality. Unlike standard methods, these decorations remain intact even in vertical writing environments and when used alongside ruby (furigana), math mode, and other complex layouts. luwa-ul は、高度な下線およびハイライト機能を提供します。従来のパッケージとは異なり、縦書き環境や、ルビ(ふりがな)・数式などが混在する複雑なレイアウトでも崩れることなく描画されます。

  • Version: 1.2.5
  • Date: 2026-01-30
  • Author: Kosei Kawaguchi (a.k.a. KK)
  • License: MIT
  • Repository: https://github.com/KK/luwa-ul
  • Support: p.c.aces1056@gmail.com

Key Features / 特徴

  • Vertical Writing Support / 縦書き完全対応
    • Maintains correct appearance and position in Japanese vertical writing (tate-gaki).
    • 日本語の縦書き環境でも、正しい位置と外観で下線やハイライトを維持します。
  • Compatibility with Ruby and Math / ルビや数式との共存
    • Works seamlessly even when characters have ruby (furigana) or include mathematical symbols like \frac, \int etc.. When you use Auto series, line positions are automatically adjusted based on the depth and height of its argument.
    • ルビ(ふりがな)が付いた文字や、\frac\int などの数式記号が含まれている場合でも、問題なく動作します。「Autoシリーズ」を使用すると、引数の高さや深さに応じて、下線の位置が自動的に最適化されます。
  • Flexible Highlighting / 柔軟な装飾
    • High-quality visual results powered by lua-ul and tikz.
    • lua-ultikz を活用した、高品質な装飾結果を提供します。

Prerequisites / 前提条件

This package is Lua-only.
本パッケージは Lua専用 です。

Dependencies / 依存パッケージ:

  • luacolor, xcolor, lua-ul, calc, tikz, luatexja-adjust

Usage / 使用方法

For detailed usage and examples, please refer to the documentation file: luwa-ul-doc.tex. 具体的な使用方法や例については、ドキュメントファイル luwa-ul-doc.tex を参照してください。

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

luwa-ul – Provides underlines and other highlighting which can be used in vertical mode

This package provides underlining and highlighting that remain intact even in vertical writing environments and when used together with ruby text. It internally uses lua-ul package, so it can be used only under Lua.

Packageluwa-ul
Repositoryhttps://github.com/KKTeX/luwa-ul
Version1.2.5 2026-01-30
LicensesMIT License
Copyright2025 Kosei Kawaguchi
MaintainerKK
Contained inTeX Live as luwa-ul
MiKTeX as luwa-ul
TopicsJapanese
Underline
...
Guest Book Sitemap Contact Contact Author