summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/cjk/examples/CJKmixed.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-07-12 00:58:13 +0000
committerKarl Berry <karl@freefriends.org>2008-07-12 00:58:13 +0000
commitb644be7550076c874437a062a31c63be6daaa12e (patch)
treec65475d5cd98a50d3b77049242bb980d75d3554d /Master/texmf-dist/doc/latex/cjk/examples/CJKmixed.tex
parent438c86541627788f5c36d5af5d2fdd2682bf4d4c (diff)
cjk 4.8.0 update (named CJK before)
git-svn-id: svn://tug.org/texlive/trunk@9456 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/cjk/examples/CJKmixed.tex')
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/CJKmixed.tex81
1 files changed, 81 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/CJKmixed.tex b/Master/texmf-dist/doc/latex/cjk/examples/CJKmixed.tex
new file mode 100644
index 00000000000..89119584f4f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/CJKmixed.tex
@@ -0,0 +1,81 @@
+% This is the file CJKmixed.tex of the CJK package
+% for testing CJK text written vertically.
+%
+% written by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.0 (22-May-2008)
+%
+% Vietnamese support for Babel comes with the VnTeX package.
+
+\documentclass[12pt]{article}
+
+\usepackage{CJKutf8}
+\usepackage{CJKvert}
+\usepackage{CJKulem}
+
+\usepackage{inputenc} % load it without argument
+ % to avoid Babel warnings
+
+\usepackage[vietnam, % T5 font encoding
+ USenglish]{babel}
+
+\newenvironment{TChinese}{%
+ \CJKfamily{bsmi}%
+ \CJKtilde
+ \CJKnospace}{}
+
+
+\begin{document}
+
+\begin{CJK}{UTF8}{}
+
+\CJKhorz
+
+This is a test how CJK scripts can be typeset horizontally and
+vertically at the same time. It is not too difficult to achieve,
+nevertheless it is not trivial. Most importantly, you need a
+\texttt{.fdx} file which corresponds to your CJK font, and which
+defines how to set up the font for vertical typesetting.
+
+\begin{center}
+ \rotatebox[origin=c]{-90}{%
+ \begin{minipage}[c]{8cm}
+ \CJKvert
+ \begin{TChinese}
+ 本常問問答集~(FAQ list)~是從一些經常被問到的問題及其適當的解答
+ 中,以方便的形式摘要而出的。\uline{跟上一版不同的是,其編排結構
+ 已徹底改變。} \textbf{有關新結構的細節,可參考「如何閱讀本問
+ 答集及了解其編排結構」該項中的說明。}
+ \end{TChinese}
+ \end{minipage}%
+ }%
+ \hspace{0.5cm}%
+ \begin{minipage}[c]{8cm}
+ \begin{otherlanguage}{vietnam}
+ Phần ``Những câu hỏi và giải đáp thường gặp'' (viết tắt từ tiếng
+ Anh là FAQ) được nêu ra ở đây nhằm mục đích thu thập những câu
+ hỏi thường gặp trong thực tế và những lời giải đáp thích hợp
+ nhất của nó. \uline{Từ lần ấn bản cuối cùng đến nay, đã có
+ những sự thay đổi khá lớn trong cấu trúc của FAQ.} \textbf{Để
+ hiểu rõ hơn bạn nên xem lại chương ``Làm sao tôi có thể đọc
+ đuợc FAQ''.}
+ \end{otherlanguage}
+ \end{minipage}
+\end{center}
+
+\begin{TChinese}
+ 本常問問答集~(FAQ list)~是從一些經常被問到的問題及其適當的解答中,以
+ 方便的形式摘要而出的。\uline{跟上一版不同的是,其編排結構已徹底改變。}
+ \textbf{有關新結構的細節,可參考「如何閱讀本問答集及了解其編排結構」
+ 該項中的說明。}
+\end{TChinese}
+
+\end{CJK}
+
+\end{document}
+
+%%% Local Variables:
+%%% mode: latex
+%%% coding: utf-8
+%%% TeX-master: t
+%%% End: