<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% This is the file CJKmixed.tex of the CJK package
%   for testing CJK text written vertically.
%
% written by Werner Lemberg &lt;wl@gnu.org&gt;
%
% Version 4.8.5 (16-Oct-2021)
%
% Vietnamese support 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[vietnamese,             % 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{æœ‰é—œæ–°çµæ§‹çš„ç´°ç¯€ï¼Œå¯åƒè€ƒã€Œå¦‚ä½•é–±è®€æœ¬å•
          ç­”é›†åŠäº†è§£å…¶ç·¨æŽ’çµæ§‹ã€è©²é&nbsp;…ä¸­çš„èªªæ˜Žã€‚}
      \end{TChinese}
    \end{minipage}%
  }%
  \hspace{0.5cm}%
  \begin{minipage}[c]{8cm}
    \begin{otherlanguage}{vietnamese}
      Pháº§n ``Nhá»¯ng cÃ¢u há»i vÃ&nbsp; giáº£i Ä‘Ã¡p thÆ°á»ng gáº·p'' (viáº¿t táº¯t tá»« tiáº¿ng
      Anh lÃ&nbsp; 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Ã&nbsp; 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Ã&nbsp;m sao tÃ´i cÃ³ thá»ƒ Ä‘á»c
        Ä‘uá»£c FAQ''.}
    \end{otherlanguage}
  \end{minipage}
\end{center}

\begin{TChinese}
  æœ¬å¸¸å•å•ç­”é›†~(FAQ list)~æ˜¯å¾žä¸€äº›ç¶“å¸¸è¢«å•åˆ°çš„å•é¡ŒåŠå…¶é©ç•¶çš„è§£ç­”ä¸­ï¼Œä»¥
  æ–¹ä¾¿çš„å½¢å¼æ‘˜è¦è€Œå‡ºçš„ã€‚\uline{è·Ÿä¸Šä¸€ç‰ˆä¸åŒçš„æ˜¯ï¼Œå…¶ç·¨æŽ’çµæ§‹å·²å¾¹åº•æ”¹è®Šã€‚}
  \textbf{æœ‰é—œæ–°çµæ§‹çš„ç´°ç¯€ï¼Œå¯åƒè€ƒã€Œå¦‚ä½•é–±è®€æœ¬å•ç­”é›†åŠäº†è§£å…¶ç·¨æŽ’çµæ§‹ã€
    è©²é&nbsp;…ä¸­çš„èªªæ˜Žã€‚}
\end{TChinese}

\end{CJK}

\end{document}

%%% Local Variables:
%%% mode: latex
%%% coding: utf-8
%%% TeX-master: t
%%% End:
</pre></body></html>