File: CJKspace.tex

package info (click to toggle)
cjk 4.8.4%2Bgit20150701-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,888 kB
  • sloc: lisp: 12,087; sh: 3,731; ansic: 2,429; perl: 1,804; makefile: 354
file content (46 lines) | stat: -rw-r--r-- 1,085 bytes parent folder | download | duplicates (3)
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
% This is the file CJKspace.tex of the CJK package
%   for testing the CJKspace style file.
%
% written by Werner Lemberg <wl@gnu.org>
%
% Version 4.8.4 (18-Apr-2015)
%
% Read CJKspace.txt for more details.

\documentclass[11pt]{article}

\usepackage{CJK}
\usepackage{CJKspace}

\begin{document}

\parindent 2em

\begin{CJK*}{UTF8}{gbsn}

  This document shows the effects of \texttt{CJKspace.sty}.

  \verb+CJKspace+ 包仅忽略CJK文字之间的空白而保留(CJK文字与英文之间等)
  其它空白。

  这是 English 中文 \textit{Chinese} 中文 {\itshape Italic} 数学 $x=y$
  混排 \verb+anything+

  混排 \verb+anything+ 保持 \texttt{spaces} 空格 \LaTeX\ 间隔
  \mbox{boxes} 盒子 \hbox{hbox} 中文 123456 数字.

% 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}


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