Debian Codegraph @

texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-verbatim.tex

raw
1 %%
2 %% This is file `xeCJK-example-verbatim.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% xeCJK.dtx (with options: `ex-verb')
8 %%
9 \documentclass[a4paper]{article}
10 \usepackage{xeCJK}
11 \usepackage{fullpage}
12 \xeCJKDeclareSubCJKBlock{Hangul}
13 { "1100 -> "11FF, "3130 -> "318F, "A960 -> "A97F, "AC00 -> "D7AF }
14 \setCJKmainfont{Adobe Song Std}
15 \setCJKmainfont[Hangul]{Adobe Myungjo Std}
16 %%\setmonofont{Inconsolata}
17 %%\setmonofont{Source Code Pro}
18 %%\setCJKmonofont{Adobe Kaiti Std}
19 \setmonofont{TeX Gyre Cursor}
20 \setCJKmonofont{Adobe Fangsong Std}
21 \begin{document}
22
23 \begin{verbatim}
24 *************************************************************
25 * *
26 * 精致甲版红楼梦 - 精致工作室特别奉献(2010年9月) *
27 * *
28 * GBK简体、GBK繁体、Big5繁体、PDF简体、PDF繁体 *
29 * *
30 * 为 GBK、Big5 特别度身订制,并经反复修订,方便纯文本阅读 *
31 * *
32 * 精致甲、乙版红楼梦下载专页 *
33 * http://www.speedy7.com/cn/stguru/gb2312/redmansions.htm *
34 * http://www.speedy7.com/cn/stguru/big5/redmansions.htm *
35 * *
36 * 此电子文件可随意传播、发布、下载。 *
37 * 传播时建议保留此版本说明供查阅与识别。 *
38 * 未经修订者同意,不得将此版本用于商业用途。 *
39 * 如您对红楼梦不具深入了解,请勿随便修改其中的内容。 *
40 * *
41 *************************************************************
42 \end{verbatim}
43
44 \verb|a 汉 字 b|
45
46 \verb*|a 汉 字 b|
47
48 \begin{verbatim}
49 lang_set = {
50 ["English"] = lang.en,
51 ["Français"] = lang.fr,
52 ["Español"] = lang.es,
53 ["中文"] = lang.zh,
54 ["日本語"] = lang.ja,
55 ["한국어"] = lang.ko,
56 }
57 \end{verbatim}
58
59 \end{document}
60 %%
61 %%
62 %% End of file `xeCJK-example-verbatim.tex'.