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 | |
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')
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/README.txt | 9 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/example-CJKchecksingle.tex | 52 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/example-CJKfntef.tex | 58 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/example-addspaces.tex | 57 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/examples/example-CJKchecksingle.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/examples/example-CJKfntef.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/examples/example-addspaces.tex | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdf | bin | 275885 -> 293569 bytes |
8 files changed, 182 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xecjk/README.txt b/Master/texmf-dist/doc/xelatex/xecjk/README.txt new file mode 100644 index 00000000000..c508dcc0802 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/xecjk/README.txt @@ -0,0 +1,9 @@ + +xeCJK is a package written for XeLaTeX which allows users to typeset +CJK scripts easily. + + - different default fonts for CJK and other characters; + - spaces automatically ignored between CJK characters; + - special effects on full-width CJK punctuation; and + - automatic adjustment of the space between CJK and other characters. + diff --git a/Master/texmf-dist/doc/xelatex/xecjk/example-CJKchecksingle.tex b/Master/texmf-dist/doc/xelatex/xecjk/example-CJKchecksingle.tex new file mode 100644 index 00000000000..cb95a60e93b --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/xecjk/example-CJKchecksingle.tex @@ -0,0 +1,52 @@ +%% +%% This is file `example-CJKchecksingle.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% xeCJK.dtx (with options: `example-CJKchecksingle') +%% +%% 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,CJKaddspaces,CJKchecksingle]{xeCJK} +\setCJKmainfont{AR PL SungtiL GB} +\textwidth 120mm +\oddsidemargin 0pt +\def\usemacro#1{\csname#1\endcsname $\backslash$#1} +\begin{document} +\baselineskip 18pt +\parskip 10pt +\parindent 0em + +\long\def\sometexts{xeCJK 改进了中英文间距的处理,并可以避免单个汉字独占一段的最后一行。 + +xeCJK 改进了中英文间距的处理,并且可以避免单个汉字独占一段的最后一行。 + +xeCJK 改进了中英文间距的处理, 并且还可以避免单个汉字独占一段的最后一行. + +} + +\sometexts +\vskip 20mm + +不用CJKchecksingle的效果: + +\makeatletter +\def\xeCJK@i@i{\CJKglue\CJKsymbol} +\sometexts +\end{document} + +\endinput +%% +%% End of file `example-CJKchecksingle.tex'. diff --git a/Master/texmf-dist/doc/xelatex/xecjk/example-CJKfntef.tex b/Master/texmf-dist/doc/xelatex/xecjk/example-CJKfntef.tex new file mode 100644 index 00000000000..54e885ae26a --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/xecjk/example-CJKfntef.tex @@ -0,0 +1,58 @@ +%% +%% This is file `example-CJKfntef.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% xeCJK.dtx (with options: `example-CJKfntef') +%% +%% 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[11pt]{article} +\textheight 220mm +\textwidth 150mm +\oddsidemargin 0pt +\evensidemargin 0pt +\usepackage[slantfont,boldfont]{xeCJK} +\usepackage{xcolor} +\usepackage{CJKfntef} + +\begin{document} +\setCJKmainfont{AR PL SungtiL GB}% 设置缺省中文字体 +\setCJKmonofont{AR PL SungtiL GB}% 设置缺省中文字体 + +\baselineskip 16pt +\parindent 2em + + \section{举例} +\begin{verbatim} +标点。 +\end{verbatim} + +\CJKunderline{汉字}\CJKunderline{加下划线加下划线加下划线加下划线% +加下划线加下划线加下划线加下划线加下划线加下划线加下划线} + +\CJKunderwave{波浪线} + +\CJKunderanyline{0.5em}{\sixly \kern-.021em\char58 \kern-.021em}{自定义下划线} + +\CJKunderanyline{0.2em}{\kern-.03em\vtop{\kern.2ex\hrule width.2em\kern 0.11em + \hrule height .1em}\kern-.03em}{自定义下划线} + +\CJKunderanysymbol{0.2em}{$\cdot$}{汉字加点} + +\end{document} +\endinput +%% +%% End of file `example-CJKfntef.tex'. 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'. diff --git a/Master/texmf-dist/doc/xelatex/xecjk/examples/example-CJKchecksingle.tex b/Master/texmf-dist/doc/xelatex/xecjk/examples/example-CJKchecksingle.tex index db13d8b5da6..cb95a60e93b 100644 --- a/Master/texmf-dist/doc/xelatex/xecjk/examples/example-CJKchecksingle.tex +++ b/Master/texmf-dist/doc/xelatex/xecjk/examples/example-CJKchecksingle.tex @@ -6,7 +6,7 @@ %% %% xeCJK.dtx (with options: `example-CJKchecksingle') %% -%% Version 2.3.5 (2-Aug-2009) +%% Version 2.3.8 (12-Sept-2009) %% %% Copyright (C) Wenchang Sun <sunwch@hotmail.com> %% diff --git a/Master/texmf-dist/doc/xelatex/xecjk/examples/example-CJKfntef.tex b/Master/texmf-dist/doc/xelatex/xecjk/examples/example-CJKfntef.tex index a53bf000026..54e885ae26a 100644 --- a/Master/texmf-dist/doc/xelatex/xecjk/examples/example-CJKfntef.tex +++ b/Master/texmf-dist/doc/xelatex/xecjk/examples/example-CJKfntef.tex @@ -6,7 +6,7 @@ %% %% xeCJK.dtx (with options: `example-CJKfntef') %% -%% Version 2.3.5 (2-Aug-2009) +%% Version 2.3.8 (12-Sept-2009) %% %% Copyright (C) Wenchang Sun <sunwch@hotmail.com> %% diff --git a/Master/texmf-dist/doc/xelatex/xecjk/examples/example-addspaces.tex b/Master/texmf-dist/doc/xelatex/xecjk/examples/example-addspaces.tex index 67f9e8f8241..004ae3f3a8c 100644 --- a/Master/texmf-dist/doc/xelatex/xecjk/examples/example-addspaces.tex +++ b/Master/texmf-dist/doc/xelatex/xecjk/examples/example-addspaces.tex @@ -6,7 +6,7 @@ %% %% xeCJK.dtx (with options: `example-addspaces') %% -%% Version 2.3.5 (2-Aug-2009) +%% Version 2.3.8 (12-Sept-2009) %% %% Copyright (C) Wenchang Sun <sunwch@hotmail.com> %% @@ -29,6 +29,8 @@ \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$ @@ -47,6 +49,7 @@ This is an example. 这是一个例子 \CJKsetecglue{ } \verb+\CJKsetecglue{ }+ \sometexts + \end{document} \endinput diff --git a/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdf b/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdf Binary files differindex 0b13e1a8bda..eafda729e16 100644 --- a/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdf +++ b/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdf |