blob: 1a471d93491383b8a42e0ac9c78b29241ea01a10 (
plain)
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
47
48
49
50
51
52
53
54
55
56
57
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.0 (30-June-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{Bitstream CyberCJK}% 设置缺省中文字体
\setCJKmonofont{Bitstream CyberCJK}% 设置缺省中文字体
\baselineskip 16pt
\parindent 2em
\section{举例}
\begin{verbatim}
标点。
\end{verbatim}
汉字Chinese数学$x=y$空格
汉字 Chinese 数学 $x=y$ 空格
\CJKunderline{汉字Chinese数学$x=y$加下划线,可以\CJKunderdot{同时加点}。}
\CJKunderline{汉字 Chinese 数学 $x=y$ 加下划线,可以\CJKunderdot{同时加点}。}
\CJKunderline*{汉字加下划线,可以\CJKunderdot{同时加点}。}
\CJKunderdot{汉字加点,可以\CJKunderline{同时加下划线}。}
\end{document}
\endinput
%%
%% End of file `example-CJKfntef.tex'.
|