diff options
author | Karl Berry <karl@freefriends.org> | 2009-09-15 00:42:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-09-15 00:42:27 +0000 |
commit | 9b5c0be75f6856d930bda2f309319b167a6ea2fb (patch) | |
tree | 634dc72a8f8a7422675947d0837020332cd76f05 /Master/texmf-dist/doc/xelatex/xecjk/example-addspaces.tex | |
parent | ecbaa3a13d808b7db882290d1ffe9e3c45db774d (diff) |
xecjk 2.3.8 (14sep09)
git-svn-id: svn://tug.org/texlive/trunk@15287 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/xecjk/example-addspaces.tex')
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/example-addspaces.tex | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xecjk/example-addspaces.tex b/Master/texmf-dist/doc/xelatex/xecjk/example-addspaces.tex new file mode 100644 index 00000000000..004ae3f3a8c --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/xecjk/example-addspaces.tex @@ -0,0 +1,57 @@ +%% +%% This is file `example-addspaces.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% xeCJK.dtx (with options: `example-addspaces') +%% +%% Version 2.3.8 (12-Sept-2009) +%% +%% Copyright (C) Wenchang Sun <sunwch@hotmail.com> +%% +%% This file may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +\documentclass{article} +\usepackage[boldfont,slantfont]{xeCJK} +\usepackage{xcolor} +\setCJKmainfont{AR PL SungtiL GB} +\textwidth 190mm +\oddsidemargin 0pt +\begin{document} +\baselineskip 18pt +\parskip 10pt +\parindent 0em + +{\slshape 斜体 Slanted \bfseries 斜体 Slanted} + +\long\def\sometexts{\par{\color{\colora} + 这是 English 中文 {\itshape Chinese} 中文 \LaTeX\ + 间隔 \textit{Italic} 中文\textbf{字体} a 数学 $b$ 数学 $c$ $d$ +\\ + 这是English中文{\itshape Chinese}中文\LaTeX\ + 间隔\textit{Italic}中文\textbf{字体}a数学$b$数学$c$ $d$\\ +This is an example. 这是一个例子 +}} + +\def\colora{blue} +\CJKsetecglue{\hskip 0.15em plus 0.05em minus 0.05em} +\verb+\CJKsetecglue{\hskip 0.15em plus 0.05em minus 0.05em}+ +\sometexts + +\def\colora{red} +\CJKsetecglue{ } +\verb+\CJKsetecglue{ }+ +\sometexts + +\end{document} + +\endinput +%% +%% End of file `example-addspaces.tex'. |