<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% This is the file rubytest.tex of the CJK package
%   for testing ruby with LaTeX2e
%
% created by Werner Lemberg &lt;wl@gnu.org&gt;
%
% Version 4.8.5 (16-Oct-2021)

% You need Emacs 20 (or Mule 2.3) to process this file!

% You should load this file into Mule with `*internal*' encoding scheme
% (C-u C-x C-f) and call `cjk-write-file' (M-x cjk-write-file).
% Then run LaTeX on the created file `rubytest.cjk'.
%
% Under Emacs 20 type `C-x C-f rubytest.tex' to load this file.
%
% `cjk-write-file' will be available after loading cjk-enc.el into Mule
% (Emacs 20) with the commands load-file or load-library.

\documentclass[12pt]{article}

\usepackage[overlap, CJK]{ruby}
\usepackage{pinyin}

\CJKencfamily{Bg5}{bsmi}
\CJKencfamily[dnp]{JIS}{min}

\CJKfontenc{JIS}{dnp}

\renewcommand{\rubysep}{-0.3ex}


\begin{document}

{
\rubylatin
\renewcommand{\rubysize}{1}

\ruby{\wo3}{槵絵 \ruby{\hen3}{槼 \ruby{\xi3}{樌苶\ruby{\huan1}{樰鋧
\ruby{\chi1}{槱踼 \ruby{\Zhong1}{槮鋧\ruby{\guo2}{樆衹
\ruby{\cai4}{樏韢\ruby{.}{槨
}

\Large

\ruby{挷謢{挙蠏な}\ruby{挶鄛{挙緬の}\ruby{捖鐌{挙罀い}\ruby{挸貆{挙瑨く}

\ruby{挸{挙み}挙萛ruby{捀衹{挙邟ず挙み}挙貟乖挙瘨。

\end{document}

%%% Local Variables:
%%% coding: emacs-mule
%%% mode: latex
%%% TeX-master: t
%%% TeX-command-default: "CJKLaTeX"
%%% End:
</pre></body></html>