<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}
\usepackage[haranoaji]{luatexja-preset}

\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>