blob: ba7ad8e40ed48f27c69844b64c69a705a902463a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
% This is the file rubytest.tex of the CJK package
% for testing ruby with LaTeX2e
%
% created by Werner Lemberg <wl@gnu.org>
%
% Version 4.6.0 (11-Aug-2005)
% 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:
|