File: CEF_test.tex

package info (click to toggle)
cjk 4.8.4%2Bgit20170127-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,888 kB
  • sloc: lisp: 12,099; sh: 3,731; ansic: 2,429; perl: 1,804; makefile: 336
file content (52 lines) | stat: -rw-r--r-- 1,403 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
% This is the file CEF_test.tex of the CJK package
%   for testing CEF encoded text with LaTeX2e
%
% Version 4.8.4 (18-Apr-2015)
%
% process this text with ceflatex

% - requires fonts from the cns package

% CEF doesn't work on Debian, because I haven't packaged the HBF
% (bitmap fonts) yet.
%   Danai SAE-HAN (韓達耐) <danai.sae-han@edpnet.be>

\documentclass[12pt]{article}

\usepackage[global]{CJK}
\usepackage{MULEenc}


\begin{document}

\begin{CJK}{}{}

\verb|\CJKchar[CNS1]{"5A}{"5A}| \CJKchar[CNS1]{"5A}{"5A}
\quad \verb|&C1-|\verb|5A5A;| &C1-5A5A;

\verb|\CJKchar[CNS2]{"5A}{"5A}| \CJKchar[CNS2]{"5A}{"5A}
\quad \verb|&C2-|\verb|5A5A;| &C2-5A5A;

\verb|\CJKchar[CNS3]{"5A}{"5A}| \CJKchar[CNS3]{"5A}{"5A}
\quad \verb|&C3-|\verb|5A5A;| &C3-5A5A;

\verb|\CJKchar[CNS4]{"5A}{"5A}| \CJKchar[CNS4]{"5A}{"5A}
\quad \verb|&C4-|\verb|5A5A;| &C4-5A5A;

\verb|\CJKchar[CNS5]{"5A}{"5A}| \CJKchar[CNS5]{"5A}{"5A}
\quad \verb|&C5-|\verb|5A5A;| &C5-5A5A;

\verb|\CJKchar[CNS6]{"5A}{"5A}| \CJKchar[CNS6]{"5A}{"5A}
\quad \verb|&C6-|\verb|5A5A;| &C6-5A5A;

\verb|\CJKchar[CNS7]{"5A}{"5A}| \CJKchar[CNS7]{"5A}{"5A}
\quad \verb|&C7-|\verb|5A5A;| &C7-5A5A;

% We need to end the CJK environment with a \newpage; otherwise the
% .aux and .toc files sometimes get messed up.  See `CJK.txt' in
% /usr/share/doc/latex-cjk-common/ for more information, under
% `Possible errors'.
\newpage
\end{CJK}

\end{document}