File: UTF8.tex

package info (click to toggle)
cjk 4.7.0%2Bgit20080122-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 5,300 kB
  • ctags: 593
  • sloc: sh: 34,282; lisp: 12,038; ansic: 4,167; perl: 1,325; makefile: 305
file content (38 lines) | stat: -rw-r--r-- 651 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
% This is the file UTF8.tex of the CJK package
%   for testing UTF 8 encoding.
%
% written by Werner Lemberg <wl@gnu.org>
%
% Version 4.7.0 (17-Oct-2006)

\documentclass[12pt]{article}

\usepackage{CJK}
\usepackage[T1]{fontenc}

% we want the Unicode font for normal text also
\DeclareFontFamily{T1}{song}{}
\DeclareFontShape{T1}{song}{m}{n}{<-> cyberb00}{}
\renewcommand\rmdefault{song}


\begin{document}

\begin{CJK}{UTF8}{song}

\noindent Hello World!

\noindent Καλημέρα κόσμε

\CJKnospace
\noindent こんにちは 世界

\end{CJK}

\end{document}

%%% Local Variables:
%%% coding: utf-8
%%% mode: latex
%%% TeX-master: t
%%% End: