Directory macros/luatex/latex/luwa-ul
luwa-ul
Advanced Underlining and Highlighting for LuaLaTeX / 縦書き・ルビ対応の下線・ハイライトパッケージ
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. KKTeX)
- License: MIT
- Repository: https://github.com/KKTeX/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シリーズ」を使用すると、引数の高さや深さに応じて、下線の位置が自動的に最適化されます。
- Works seamlessly even when characters have ruby (furigana) or include mathematical symbols like
- Flexible Highlighting / 柔軟な装飾
- High-quality visual results powered by
lua-ulandtikz. lua-ulとtikzを活用した、高品質な装飾結果を提供します。
- High-quality visual results powered by
Prerequisites / 前提条件
This package is LuaLaTeX-only.
本パッケージは LuaLaTeX専用 です。
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 LuaLaTeX.
| Package | luwa-ul |
| Repository | https://github.com/KKTeX/luwa-ul |
| Version | 1.2.5 2026-01-30 |
| Licenses | MIT License |
| Copyright | 2025 Kosei Kawaguchi |
| Maintainer | KKTeX |
| Contained in | TeX Live as luwa-ul MiKTeX as luwa-ul |
| Topics | Japanese Underline |