| 1 |
%% |
| 2 |
%% This is file `xeCJK-example-CJKecglue.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% xeCJK.dtx (with options: `ex-ecglue') |
| 8 |
%% |
| 9 |
\documentclass{minimal} |
| 10 |
\usepackage{xeCJK} |
| 11 |
\setCJKmainfont[BoldFont=SimHei]{SimSun} |
| 12 |
\long\def\showtext{% |
| 13 |
这是 English 中文 {\itshape Chinese} 中文 \TeX\ |
| 14 |
间隔 \textit{Italic} 中文\textbf{字体} a 数学 $b$ 数学 $c$ $d$\par |
| 15 |
这是English中文{\itshape Chinese}中文\TeX\ |
| 16 |
间隔\textit{Italic}中文\textbf{字体}a数学$b$数学$c$ $d$\par |
| 17 |
This is an example. 这是一个例子} |
| 18 |
\begin{document} |
| 19 |
\showtext |
| 20 |
|
| 21 |
\hrulefill\bigskip |
| 22 |
|
| 23 |
\xeCJKsetup{xCJKecglue=\quad} |
| 24 |
\showtext |
| 25 |
\end{document} |
| 26 |
%% |
| 27 |
%% |
| 28 |
%% End of file `xeCJK-example-CJKecglue.tex'. |