summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/CJK/examples/UTF8.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/CJK/examples/UTF8.tex')
-rw-r--r--Master/texmf-dist/doc/latex/CJK/examples/UTF8.tex38
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/CJK/examples/UTF8.tex b/Master/texmf-dist/doc/latex/CJK/examples/UTF8.tex
new file mode 100644
index 00000000000..f5f48451a97
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/CJK/examples/UTF8.tex
@@ -0,0 +1,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.6.0 (11-Aug-2005)
+
+\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: