File: rubytest.tex

package info (click to toggle)
cjk 4.8.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,044 kB
  • sloc: lisp: 12,099; ansic: 4,435; sh: 3,985; perl: 1,804; makefile: 346
file content (55 lines) | stat: -rw-r--r-- 1,319 bytes parent folder | download | duplicates (2)
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
% This is the file rubytest.tex of the CJK package
%   for testing ruby with LaTeX2e
%
% created by Werner Lemberg <wl@gnu.org>
%
% Version 4.8.5 (16-Oct-2021)

% 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).
% `cjk-write-file' has a shortcut: C-c SPC C-x.
% Then run LaTeX on the created file `rubytest.cjk'.
%
% `cjk-write-file' will be available after loading cjk-enc.el into Mule
% (Emacs 20) with the commands load-file or load-library.
% If you didn't touch the default Debian installation, then this is
% already taken care of.

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