<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% Copyright 2022 Yuanhao Chen
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
% 
% The Current Maintainer of this work is Yuanhao Chen.
%
% This work consists of the files kanbun.sty, kanbun.lua,
% kanbun-example.tex and kanbun.tex.
% 
% example text from https://phesoca.com/kanbun-html/
\documentclass{ltjtarticle}

\usepackage[match]{luatexja-fontspec}
\setmainjfont{FOT-TsukuBOldMin Pr6N}

\newlength\myzw
\setlength\myzw{2.25\zw}
\usepackage[kumi=beta, unit=\myzw, yokoaki=3.5]{kanbun}

\usepackage[margin=0pt]{geometry}

\usepackage{xcolor}

\Kanbun
ĺťăˇă†ďĽŚĺ¸ťăŽćŻŤĺŠ‰č˛´äşşăŹčłś(ăźăľ)ăŹăŞ[ă¬]ć­»ă˛ďĽŚĺ¤ŞçĄ–ăŹĺ‘Šă‚˛[ă¬]ĺ¸ťă‹ć›°ăŹă‚Żă€Ść”ćĽ˘ć­¦ĺ¸ťăŹĺ°‡â€ąă—â€şÂ«ă†Â»ă‹[ă¬]ç«‹ă‚żă‚»ăłă[äşŚ]ĺ…¶ăŽĺ­ă˛[ä¸€]č€Ść®şă‚·[äşŚ]ĺ…¶ăŽćŻŤă˛[ä¸€]ďĽŚä¸Ť[ä¸‹]ä»¤(ă—)ăˇ[ä¸‰]ĺ©¦äşşă˛ĺľŚă­ă‹č‡(ă‚ăĄă‹)ă©[äşŚ]ĺś‹ć”żă‹[ä¸€]ďĽŚä˝ż(ă—)ăˇ[ä¸­]ĺ¤–ĺ®¶ă˛ç‚ş(ăŞ)ă‚µ[ä¸Šă¬]äş‚ă˛ă€‚ć±ťç•¶ă‹â€ąăąâ€şÂ«ă‚ŻÂ»[äşŚ]çąĽçµ±ă‚ą[ä¸€]ďĽŚć•…ă‹ĺľă¬é&nbsp;ă‚Żă‚·ă†ĺŚă‚şă«ă‚łă[äşŚ]ćĽ˘ć­¦ă[ä¸€]ďĽŚç‚ş(ăź)ăŞ[äşŚ]é•·äą…äą‹č¨[ä¸€]ă€‚ă€Ťĺ¸ťç´&nbsp;ă¨ăŞç´”ĺ­ťăŠăŞďĽŚĺ“€ă‚·ă‚ŻćłŁă‚­ä¸Ť[ă¬]č˝ăŹ[äşŚ]č‡Şă©ĺ‹ťă„ă‚łă[ä¸€]ďĽŚĺ¤ŞçĄ–ć€’ă«[ă¬]äą‹ă¬ă˛ă€‚ĺ¸ťăŹé‚„ăŞ[ă¬]ĺ®®ă‹ďĽŚĺ“€ă‚·ă‚Żä¸Ť[äşŚ]č‡Şă©ć­˘ăž[ä¸€]ďĽŚć—Ąĺ¤śă‹ă‚·ă†č™źćłŁă‚ąă€‚ĺ¤ŞçĄ–çźĄăŞă†č€ŚĺŹă‚żĺŹ¬ă‚ą[ă¬]äą‹ă¬ă˛ă€‚ĺ¸ťć¬˛ă‚·[ă¬]ĺ…Ąă©ăłăďĽŚĺ·¦ĺŹłć›°ăŹă‚Żă€Śĺ­ťĺ­äş‹ăă[ă¬]ç¶ă‹ďĽŚĺ°Źćť–ĺ‰‡ăĺŹ—ă‚±ďĽŚĺ¤§ćť–éżă‚Ż[ă¬]äą‹ă¬ă˛ă€‚ä»Šé™›ä¸‹ăŽć€’ă«ă‚łăç››ăłăŠăŞďĽŚĺ…Ąă¬ăć–ă‚¤ăŹä¸Ťć¸¬ăŠăŞďĽŚé™·ă©ă‚ą[äşŚ]ĺ¸ťă˛ć–Ľä¸Ťçľ©ă‹[ä¸€]ă€‚ä¸Ť[ă¬]ĺ¦‚ă‚«[äşŚ]ä¸”(ă—ă°ă‚‰)ă‚Żĺ‡şă…ă«ă‹[ä¸€]ďĽŚĺľ…ăă†[äşŚ]ć€’ăŞăŽč§Łă‚Żă«ă˛[ä¸€]č€Śé€˛ă&nbsp;ă‚łăďĽŚä¸Ťă«[ă¬]ć™šă‚«ă©äąźă€‚ă€Ťĺ¸ťăŹć‡Ľă¬ďĽŚĺľžă’[ă¬]äą‹ă¬ă‹ďĽŚäąăć¸¸čˇŚă‚·é€ă‚°[äşŚ]ć–Ľĺ¤–ă‹[ä¸€]ă€‚
\EndKanbun

\begin{document}
\color[HTML]{e0e0e0}
\pagestyle{empty}
\vspace*{\fill}
\begin{minipage}{0.5\pageheight}
    \printkanbun
\end{minipage}
\vspace*{\fill}
\end{document}</pre></body></html>