summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/cjkpunct/examples/example-CJKfntef.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/cjkpunct/examples/example-CJKfntef.tex')
-rw-r--r--Master/texmf-dist/doc/latex/cjkpunct/examples/example-CJKfntef.tex73
1 files changed, 73 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/cjkpunct/examples/example-CJKfntef.tex b/Master/texmf-dist/doc/latex/cjkpunct/examples/example-CJKfntef.tex
new file mode 100644
index 00000000000..c27e3ae0773
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjkpunct/examples/example-CJKfntef.tex
@@ -0,0 +1,73 @@
+\documentclass[11pt]{article}
+\textheight 220mm
+\textwidth 150mm
+\oddsidemargin 0pt
+\evensidemargin 0pt
+\usepackage{xcolor}
+\usepackage{CJK}
+\usepackage{CJKfntef}
+
+\usepackage{CJKpunct}
+\begin{document}
+\baselineskip 16pt
+\parindent 22pt
+\pagestyle{myheadings}
+\begin{CJK*}{GBK}{song}
+
+
+ \section{宏命令列表}
+提供两端分散对齐环境
+
+\verb|CJKfilltwosides|
+
+\noindent
+和以下宏命令:
+\begin{verbatim}
+ \CJKunderdot{...}
+ \CJKunderline[*]{...}
+ \CJKunderdblline[*]{...}
+ \CJKunderwave[*]{...}
+ \CJKsout[*]{...}
+ \CJKxout[*]{...}
+并允许以下形式的嵌套:
+ \CJKunderdot[..]{...\CJKunderline[*]{...}...}
+ \CJKunderdot[..]{...\CJKunderdblline[*]{...}...}
+ \CJKunderdot[..]{...\CJKunderwave[*]{...}...}
+ \CJKunderdot[..]{...\CJKsout[*]{...}...}
+ \CJKunderdot[..]{...\CJKxout[*]{...}...}
+
+ \CJKunderline[*]{...\CJKunderdot[..]{...}...}
+ \CJKunderdblline[*]{...\CJKunderdot[..]{...}...}
+ \CJKunderwave[*]{...\CJKunderdot[..]{...}...}
+ \CJKsout[*]{...\CJKunderdot[..]{...}...}
+ \CJKxout[*]{...\CJKunderdot[..]{...}...}
+\end{verbatim}
+其中不带*的宏对全角标点不起作用。
+
+\verb+\CJKunderdot+有一个可选参数,用以改变修饰符,缺省为加点,
+可以根据需要改为其他字符,如三角,小圆圈等。
+
+
+可以改变下划线和加点的颜色, 以下是缺省配置(需要先调入xcolor宏包)
+
+\begin{verbatim}
+ \newcommand{\CJKunderdotcolor}{\color{red}}
+ \newcommand{\CJKunderwavecolor}{\color{blue}}
+ \newcommand{\CJKunderlinecolor}{\color{blue}}
+ \newcommand{\CJKunderdbllinecolor}{\color{blue}}
+ \newcommand{\CJKsoutcolor}{\color{red}}
+ \newcommand{\CJKxoutcolor}{\color{blue}}
+\end{verbatim}
+
+\CJKunderline{汉字加下划线,可以\CJKunderdot{同时加点}。}
+
+\CJKunderline*{汉字加下划线,可以\CJKunderdot{同时加点}。}
+
+
+\CJKunderdot{汉字加点,可以\CJKunderline{同时加下划线}。}
+
+
+ \newpage
+\end{CJK*}
+
+\end{document}