CTAN Comprehensive TeX Archive Network

Directory macros/jptex/latex/kanruby

README.md

kanruby.sty / kanruby.mf v.1.0

This package is a UTF-8 compatible version, updated in 2026, of a package previously released by the author.

Originally, I created convenient kunten(reading marks) macros for use in high school Japanese classes, similar to what is found in Introduction to Kambun Kunten, and used them in my teaching. However, in response to requests from Japanese literature researchers at universities and with the assistance of professionals using in the printing industry, we exchanged opinions primarily on the Nifty forum. This package was created as a result, designed to support typesetting for academic books to a certain extent.

Initially, it was designed to work in conjunction with Kinokuniya's Konjaku Mojikyo font, but that support has now been removed, and it is released as a package usable with Unicode.

I have confirmed that with a little ingenuity, it can handle typesetting at the level of high school Kambun textbooks incorporating notes and images. Furthermore, typesetting at the level of Taishukan's Kambun Taikei is also possible.

However, if you are typesetting Kambun for high school or university entrance exams, it would be much easier to use the kambunsnx package mentioned in Introduction to Kambun Kunten. This is because the book I previously published, Ask the Entrance Exam! Kambun, was typeset and printed exactly as is using that package.

As shown in the samples, this package includes METAFONTs for fonts used exclusively in Kambun to some extent. Additionally, it allows for somewhat fine-grained specification of the size and position of the kunten placed around the Kanji. For further details, please see kanruby-docs and the output samples .

License

Published in accordance with LPPL 1.3c.

Release Date

2026-11-11

Hiromichi Honda

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

Kanruby – Typeset kunten reading marks in Kanbun (Classical Chinese) texts

This package provides macros for typesetting kunten, the reading marks used to read Kanbun (Classical Chinese texts) in Japanese, in horizontal and vertical writing with up (or p). It allows fine-grained control over the size and position of the marks placed around the kanji, and includes sources for some glyphs used only in Kanbun.

The package is a UTF-8 and Unicode-compatible update (2026) of a package the author released earlier; the former support for the Konjaku Mojikyo fonts has been removed. It can handle typesetting from high-school Kanbun textbooks with notes and images up to academic editions.

See also kanbun and gckanbun.

PackageKanruby
Home page
Version1.0
LicensesThe Project Public License 1.3c
MaintainerHiromichi Honda
TopicsMF font
Japanese
Chinese
...
Guest Book Sitemap Contact Contact Author