% This is the file rubytest.tex of the CJK package
%   for testing ruby with LaTeX2e
%
% created by Werner Lemberg <wl@gnu.org>
%
% Version 4.3.0 (20-Jun-1999)

% 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), change the name of the file (e.g. with
% set-visited-file-name), set the file encoding to `*cjk-coding*'
% (C-x C-k f) and save the file.  Then run LaTeX on this file.
%
% Under emacs 20 type `C-x RET c emacs-mule C-x C-f rubytest.tex' to
% load this file with the internal encoding scheme (which is now
% called `emacs-mule'), and `C-x RET f cjk-coding' to change the
% buffer's encoding after you've changed the file name.
%
% `*cjk-coding*' resp. `cjk-coding' 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}

\begin{document}

{
\rubylatin
\renewcommand{\rubysize}{1}
\renewcommand{\rubysep}{-0.3ex}

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