在线时间 42 小时 最后登录 2015-11-24 注册时间 2013-5-11 听众数 12 收听数 3 能力 0 分 体力 3308 点 威望 0 点 阅读权限 200 积分 1057 相册 0 日志 0 记录 0 帖子 124 主题 8 精华 0 分享 0 好友 22
TA的每日心情 开心 2015-11-24 17:35
签到天数: 49 天
[LV.5]常住居民I
群组 : 2014年地区赛数学建模
楼主找了好久才找到这么全的,希望对大家有用(*^__^*) / g% A8 v# i. b) k0 R, J. l
1 k! K) v) ]- H* x/ X! N- q
前言 + R4 y% { m% }# ]; v
latex并不难,latex也不是艺术,而是给Knowledge Engineers的一个撰文工具,仅此而已。一篇文章真正的价值在于里面的发现和思维逻辑,文本、图片、排版都只是形式罢了。如果没有好的内容,就是做的再漂亮,也不会得到别人的认可。可是,大家都是俗人,都还是会喜欢美轮美奂的东西。形式很多时候也不可缺,可以帮助推销自己的paper。认同了这两点,可以开始下面的阅读。
0 U% O: i4 |; @) x9 r( ` Latex简介 . y j( L! N$ R
TeX是计算机科学家图灵奖得主Knuth教授设计的一款权威的科技论文排版软件!更重要的它是开源 (Open Source)的,Knuth教授无偿公开了它的所有源代码。正因为这个原因,无数的爱好者们大胆尝试TeX。并在其基础上开发了一个宏集 ――Latex。Latex方便好用,被广泛传播,成了当今世界科技界最权威的论文排版软件。 TeX和LaTeX排版软件和MS的Word软件不同,一个不是''所见即所得''(WYSIWYG,what you is see what you get),一个是''所想即所得''(WYWWYG,what you want what you get)。风格上迥然不同,因此需要稍微改变一下自己的习惯。* n% O4 b' l, Q* g/ {' ^( ^
TeX/LaTeX是一种计算机文档制作语言,所以它有
( d) d0 Z5 I' j+ z* p- ~! K a. 源代码。 包括故障区域和/begin{document}之前的部分;
s) E d x6 a& \. ~5 t# t2 N# d b. 编译环境。 包括TeX/LaTeX发行版本和版本号,比如ctex-2.4.5-7。: Y8 `- n( |1 p
c. 编译方法。 比如生成pdf文件,就有pdflatex、latex+dvipdfm(x)、latex+dvips+ps2pdf等多种方法。有时ps2pdf无法完成格式转换,可以用acrobat distiller。
@# s; `: F8 i/ N' X( M0 B Tex的workflow如下图所示:
: B8 I6 Q, ~& k: I4 e3 L
/ V3 }) _: i1 Z( H! w3 _1 J
从tex文件到pdf文件的编译序列很多,有pdflatex、latex + dvipdfm(x)、latex + dvips + ps2pdf。个人推荐latex + dvipdfmx。这样的编译遍数较少,生成速度较快。生成的pdf文件字体更清晰。关于TeX(LaTeX)的学习,毫无疑问,Knuth(高德纳):Donald~E.~Knuth, ''The /TeX book'', Addison-Wesley, 1984,/%7Eknuth/,是权威之选,本书排版堪称完美,从中可以看出大师的魅力。
" N4 x% b; x/ i8 J6 O3 R! F 此外,最好的一个简短详细的文献是''lshort'',这个中文都有(一份不太简短的LaTeX介绍).
" h# s B# Z% Q# Z$ h. Z' l 最后,IEEEtran_HOWTO (in IEEEtrans template)也有很不错的latex用法介绍。; V; h* O0 t1 d# W
http://www.ieee.org/web/publications/authors/transjnl/index.html 2 [) `) B9 [7 E
CTex下载: http://www.ctex.org/HomePage ' g$ ?) F8 C1 ?; }0 N
常用论坛,答疑解惑: http://bbs.ctex.org - b! T2 \! |1 p4 @, m0 Y* P3 Q
搜索和下载package的站点:http://www.ctan.org/
) G, x7 O, w* t 一个有趣的blog: http://latex.yo2.cn/articles/latex_blog.html
9 @1 `5 Q4 t! G, n* c6 R$ V- @ Latex下的绘图工具 1 |8 L' T. B. m0 o1 O6 { M
写文章最重要的就是形象思维,精致的图能给Reviewer良好的第一印象,也体现了Author的专业与否。 各IEEE journal都只接受矢量图。使用点阵图的paper很可能在上传的时候被拒绝。画矢量图的常用工具如下:
! `# Z% S# b4 T$ z7 Y( B Adobe Illustrator: 鼠标绘图中最好的工具,做出来的图可以很艺术化。Adobe的东西强于CorelDraw。自己整理了一个网上的教程,下次上传上来。
g ?& v$ V' k MetaPost: 一种功能强大但比较底层的绘图语言。差不多就在DC的级别画像素点。适合画几何图形,尤其是因为它递归函数调用的能力。
* P0 T9 }# h/ A. i' |; H3 L1 T PGF/TikZ: 语言描述层面的绘图工具。在node和connection那个逻辑层面上的,有节点自动布局和自动布线的功能。用它画Venn图的语法也很简单。 3 c) {) y- E; P6 B
visio: 适合画流程图.
; l J/ M, D- e+ ~9 s3 N latexcad: 在图上面附加Label。Label代码全部嵌入在tex的源文件里面。
2 v. z' l; a$ p. K' ^ xymatrix: 适合pi演算那样的公式推导。 / K* r5 L7 b$ @
数据图) d) O5 d. y5 I- c5 p$ u, H
gnuplot:
% {$ ]- I6 V D5 n matlab:
+ u7 p3 i( k u+ ~+ D, H origin:
/ m. [7 g3 c6 @- O' f$ O) H 关于TeX和LaTeX的插图方面可以关参考王磊的《latex中文插图指南》,配合它的源文件,可以非常有效学习和掌握插图方面的技巧。
: H/ c* X& n' p/ p" G& w, m! a MetaPost相关资料
1 p% j9 e3 O# L, Q: n9 I MetaPost适合几何图形绘制,有强大的递归执行能力,比如下面的分形结构。 # R: A. V5 m0 D6 {! B
l3 B- ]! _+ A. ~
MetaPost Examples: http://www.math.zju.edu.cn/ligangliu/LaTeXForum/MetaPost/Metapost_Examples.htm " m1 z$ C9 a* a: P
MetaPost Intro: http://people.ku.edu/~syliu/shredderyin/metapost.html % c" W T5 U6 z4 O1 L" R% t3 B/ t
MetaPost Configuration http://huagw.blog.hexun.com/15332414_d.html
- F8 Q: l0 Q$ S1 Q0 f 王垠的个人主页 http://people.ku.edu/~syliu/shredderyin/
( k8 k% l# x' _/ X John Hobby为MetaPost写的用户手册''A User's Manual for MetaPost'' + }: x/ h( U8 V. _
MPS的图片文件转EPS - 不用再纠缠于prologues的设置 http://www.ida.liu.se/~joned/download/mps2eps/
) N; o; T) a: p! K Learning METAPOST by Doing: http://www.tlhiv.org/MetaPost/documentation/MetaPost_Learning.pdf - E- S: ^8 O" x2 {& Z" {$ b4 D& u: }
MetaPost illustration examples (for a mathematics textbook): http://www.topology.org/tex/conc/mp/% U% o/ i. D: M- ^: q1 h
PGF/TikZ
" `4 {+ i( T, p8 | 1. 什么是pgf?
- ?5 \8 ^8 u5 ?1 A, u; `$ ], Z" ~ pgf是一个在tex系统中的画图宏包,tex尤其是beamer中使用pgf作图,“作精确图还比较方便, 色彩锐丽”(huangzh73)。除了可以精确的作图外,对于某些不要求精确控制的图形绘制,如:流程图,树图,等等,也提供了简便易用的支持。
! ^( s, h& @: x- F, i, s PGF and TikZ examples gallery: http://www.fauskes.net/pgftikzexamples/
& R0 j7 L; P* r( t A comprehensive list of PGF and TikZ examples: http://www.texample.net/tikz/examples/all/list/ / E y: Q/ M: }7 {- {. Y0 W
Edward Tufte’s book Beautiful evidence: http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001TV&topic_id=1
. y+ d' L, d! T/ g 有个法国教师做了2d几何图的扩展包tkz-2d: - H7 V3 ^' d6 O0 r1 N2 k9 n( m8 ~4 M# u! P
主页: http://www.altermundus.fr/ ) _. T4 H3 k9 W C
下载: http://www.altermundus.fr/pages/downloads/, t- ~- D) R; |" Z4 I) ~
下面是一些自己用过的例子 # F& W" U- U" G8 W; p
数据流图:http://www.fauskes.net/pgftikzexamples/simple-flow-chart/
$ J1 O' t+ ]) Q% t/ I' n ~8 O 基于数据流的系统架构图:http://www.fauskes.net/pgftikzexamples/inertial-navigation-system/ * I# P0 _4 }. p& x; ?, V4 V
时序图: http://www.fauskes.net/pgftikzexamples/pgf-umlsd/
1 L6 z! s% @4 ?( b: ?1 V* w 二维的数据图plot2d:
, X+ F- \1 F8 _1 j5 d http://www.fauskes.net/pgftikzexamples/tkz-plot2d/
0 n7 t& v8 e6 L, i9 _9 U: t; y http://www.fauskes.net/pgftikzexamples/pgfplots/ ) T3 ^8 M8 }- [4 T
有限状态机图:http://www.fauskes.net/pgftikzexamples/state-machine/
* m/ p G2 D7 U# J7 P9 |/ W h 二维几何图:http://www.fauskes.net/pgftikzexamples/tkz-2d/ 8 |6 \" p' i* h) F
三维几何图:http://www.fauskes.net/pgftikzexamples/3d-cone/
0 T9 |5 U! Q0 z- f9 [' k 正则表达式图:http://www.fauskes.net/pgftikzexamples/diagram-chains/ * M' s( e9 v' I P
图论相关图样:http://www.fauskes.net/pgftikzexamples/diagram-chains/
' r( t' h( M- F+ | 分类图:http://www.fauskes.net/pgftikzexamples/computer-science-mindmap/
* [2 R# D6 G2 x) B* |; c 公式说明图:http://www.fauskes.net/pgftikzexamples/beamer-arrows/ ! i3 Y' Z6 c+ p8 K+ W! o
负反馈系统控制图:http://www.fauskes.net/pgftikzexamples/control-system-principles/
' i5 T0 Q- r. p' c' N& ^ 便签条图:http://www.fauskes.net/pgftikzexamples/boxes-with-text-and-math/
, C" T- L. V3 F6 j! V: Q$ Q 绘制二维迷宫:http://www.fauskes.net/pgftikzexamples/maze/ * n3 G2 i1 C: O# L0 H3 u
神经网络图:http://www.fauskes.net/pgftikzexamples/neural-network/
# W! O6 X) L2 Z! o 三维曲面: http://cs.nju.edu.cn/yangxc/dcc2003.files/matlab/matlab/2_3_2.htm + t* Q. g7 u* ?, g3 y
pgf画Venn图的例子 http://bbs.ctex.org/viewthread.php?tid=36595 5 |. q6 e" c+ l
下面是用MetaPost画Venn图的另一个例子 http://bbs.ctex.org/viewthread.php?tid=35348
% y; I; R2 }* T9 d" r 2. pgf的作者? ; H. [/ X# X- [# c. C
pgf也是beamer 的作者 Till Tantau 教授开发的. 起初只有 pgf, 后来有了 tikz and pgf 宏包的说法, 一般还是称为 pgf 宏包. 在使用中 /usepackage{tikz} 就自动加入了 pgf. 也许 tikz 可以认为是 pgf 进一步发展的产物.正因为两者出自同一个牛人之手,所以beamer和pgf结合使用确实非常的完美。
( J, T: i( E/ r. ?! E" E 3.安装和更新的方法:
. j( Q$ z% L. M; y. ^5 N. M! | pgf在ctex下的安装可参考beamer的安装。它们的关系差不多是beamer requires pgf,pgf requires xcolor。% R' l& ]7 Z z3 ^/ c7 W" f
Matlab画数据图的一个例子5 l3 R4 M0 b. _
hand = plot(xx, yy, 'k^-.', xx, yy, 'ko-.', xx, yy, 'b^--', xx, yy, 'bo--', xx, yy, 'r^-', xx, yy, 'ro-'); : ?8 B) P2 F# V+ T) [
set(hand, 'LineWidth', 2);
+ N* R; x$ G1 I, u; u9 Y& [ hand = legend('label1', 'label2', 'label3', 'label4', 'label5', 'label6', 1); 2 }5 X' I7 V( B* N; [4 W! K
set(hand, 'FontSize', 14); 6 `" ?& A3 J1 F* y) l
hand = xlabel('xlabel');
) \" n- _' t' ?$ w set(hand, 'FontSize', 14);
7 u! _1 h$ W+ w1 d hand = ylabel('ylabel'); 5 V4 s- ~& E! U; n4 G
set(hand, 'FontSize', 14); 7 Q- ?$ ^# x# Q8 `8 k6 C6 N9 \
xlim([xmin, xmax]); 8 D3 ]' b, L7 y3 M6 _2 j
ylim([xmin, ymax]); ! l" Y; E' m7 ]) m/ Y* S* Q
还没找到怎么设置XAxis和YAxis的字体大小的办法。
* ]: t3 \/ }+ U6 {$ y. d. z6 q Origin画的数据图比Matlab好看些,但有时也感觉Origin太艳丽了,不那么正统。也还推荐gnuPlot。
$ ^+ D' L% ~ ~ GnuPlot的安装和使用
8 T/ E) r, i6 M5 X 个人感觉GnuPlot做出来的图没有Pgf和Origin的效果好。 0 s4 i V; k2 T- ^, W9 }2 v
推荐资料: Plotting with GnuPlot: http://f3wm.free.fr/linux/gnuplot.html1 V! H" ^+ N m# W) q- q
1. Windows下的安装
: d7 i0 c- V8 a0 i8 h) _- P6 `/ q 安装很简单。在 http://www.gnuplot.info/ 下载安装包gp424win32.zip. 解压后找到bin/wgnuplot.exe,双击运行即可。
+ p) O5 ~& P: F' p 测试一下安装。运行命令:
0 n! a) h0 v1 U- K) r7 I gnuplot> plot [-3.14:3.14] sin(x)' X6 m' x. a' l5 G
2. 和Latex的整合 : \: \- Y$ @9 ]: a! X
gnuplot提供了直接输出tex文件的功能,只需要把output设置为latex就可以了。 ' w q% l' t8 ?. }! N
在命令行下输入:
0 m5 L; `: |+ J1 u! l3 K set terminal latex
1 P$ t9 S8 o6 ^$ W1 V set output "sin.tex" * l! R" w# B. D! ^$ y# d
plot [-3.14:3.14] sin(x) " b* N% M- S- X2 H( e
把这个文件直接插入你的文章中,例如9 y" @5 o: [2 \+ Y
/begin{figure}
% r: _' f; T0 U9 ~+ | a1 l /begin{center}/ }& W! k- X0 u# Z+ }
/input{sin.tex} - y9 v6 _3 H+ V+ Z; k+ u/ K. s
/end{center}% R9 G7 e" g. N! K3 `, _% i
/end{figure}
4 l/ I6 ?, B- m8 r8 i0 H 3. 生成xy axis和label - f8 J& n- U- `2 N6 H
set terminal latex
2 w; J! C( v: K/ Y) ?: ` set output "sinagain.tex" 9 n* A3 d) F1 ] c8 `% Y9 E
set size 5/5.,4/3. #设置图片的大小
: E" J u( b! { set format xy "$%g$" #设置x、y轴文字的格式
) Q$ q- T9 I" |- w9 g- O set title "This is a plot of $y=sin(x)$" #设置图片标题
" t% u3 l' Z9 v" W3 } set xlabel "This is the $x$ axis" #设置x轴的文字 / L! J. s' K; e# Y
set ylabel "This is the $y$ axis" #设置y轴的文字
" P( J' x7 D% D+ p plot [0:6.28] [0:1] sin(x) / j, {( f$ h8 _. p
4. 多条曲线的对比 3 D5 x, i7 A: w7 [; |; y; h
set terminal latex
0 o+ G3 C( v0 V3 A8 J1 w1 b set output "combine.tex" , J. u' }5 P' O: m* e6 r8 J
set size 5/5.,4/3. #设置图片的大小 & F/ Y: f8 d" {
set format xy "$%g$"
( o& g4 Y3 J% k, Y( V set title "Combination" - O9 I7 d1 |+ ? E j
set xlabel "$x$ axis"
3 M5 r0 C, }: ^/ o set ylabel "$y$ axis"
3 }5 @2 J% i; Z& R& U8 @: n) G# K plot [-3.14:3.14] 0.2*x with points, sin(x) with lines
5 r' _ r( P: A; O5 d1 V; c 5. 一个3d作图和并列子图显示的例子
0 |: T9 c0 p& J set terminal latex
/ [% d) z1 f6 L, }3 J set output "tic.tex"
3 Q% f8 U5 a; c9 G7 b8 W set format y "$%g$" + q) D. ? q4 q Z6 Y3 v
set format x "$%.2f$"
" @8 O5 Z4 \' A set title "This is $/sin(x)$" . S2 p! |: @# c9 ~
set xlabel "This is the $x$ axis"
^3 c i+ z8 x set ylabel "$/sin(x)$"
4 r1 K8 j" q, `# D0 C2 v# m- h set xtics -pi, pi/4 #设置x的间距 & ~9 W" m" T0 H1 Z7 \
plot [-pi:pi] sin(x)
$ g7 K4 d7 N" f set terminal latex : O& v) |2 b6 O' u& R
set output 'plot3d.tex' ; U' X. `5 ]! I, B/ {5 d
set samples 20, 20 2 `0 _ D& y }4 i0 Z8 [
set isosamples 21, 21
) o2 [6 M- [+ P% ?0 F5 k! l set contour base $ M; r8 n' c2 ^: T6 e5 l2 y
set cntrparam levels auto 10 / r$ |2 Q% n3 @* ^5 s$ }- _
set title "3D gnuplot demo - some more interesting contours" 0.000000,0.000000 font "" 6 {% T; D& Q* k+ F' e1 f
set xlabel "X axis" -5.000000,-2.000000 font "" / W0 o* d" W" N' F
set ylabel "Y axis" 4.000000,-1.000000 font ""
2 k# T7 ]6 s1 d# A ? {2 \5 J set zlabel "Z axis" 0.000000,0.000000 font ""
6 M5 `( k* z8 R5 F splot [x=-3:3] [y=-3:3] sin(x) * cos(y)
, D5 f8 d L: ^/ G, w /begin{figure*}[!t] # x2 G( I4 s4 i: O8 g# _3 p* a
/centerline{%
6 f- C, f7 _" M% T /subfigure[Case I]{/input{tic.tex}%
- k6 [5 C7 j/ n+ R$ |- x5 i% ? /label{fig_first_case}}
" X( l: B( g/ O) G* c /hfil + K! S% |: z2 R# R( C8 Z! K' X
/subfigure[Case II]{/input{plot3d.tex}% 9 h- _# R# X4 E+ w! Z
/label{fig_second_case}}%
5 z8 O; q7 `$ u) K- m* c4 \ } $ _5 T/ o3 J* J
/caption{Simulation results}
* s+ G9 b! b W" \# e6 }* E4 D /label{fig_sim}
h- g% ?& t5 h9 s /end{figure*}- Q+ v+ L. p3 W8 A) ~. v& L
LaTeX2html安装及在winEdt界面中的配置
" h F5 n L p- O# U9 W 任何Academic person都有需要构建个人主页,加强与外界的交流;撰写课件,教书育人。Html因为其易访问性成为最适合的格式。Latex2html和TtH能将tex文档编译成html,并较好的支持公式的输出,当然它们look and feel也比较academic,可以用来装学者。
" j/ {, f/ Y; _3 d+ s) F+ x! A 系统
' B* u I" \+ r4 M9 F: x Windows XP SP2
& p6 t* p! H! X1 d7 |! H CTeX-2.4.6-Full
2 M2 P" {2 B. C5 c) l, g Perl编译器:ActivePerl 5.10.0.1003 for Windows (x86). http://www.activestate.com/Products/Downlo...x?id=ActivePerl 7 T7 U8 M6 g3 P7 m" Q# d% h
NetPBM 图形软件(CTeX-2.4.6-Ful l没有安装) :现在网上很难找到合适的版本(据说1.2是work的).用TtH还是比Latex2html简单一点. 0 U# ]: H# u, L$ i \' V
Postscript 解释器: CTeX-2.4.6-Full 已安装好了Ghostscript,在目录C:/CTeX/Ghostgum/下。 + F% M; J$ D& U9 [( `+ z
注册序列码如下。Name: Registered s/n: 195938022 5598 & u; F. M! Q) A. _9 w; T& ]: h
其余的安装参考:http://bbs.ctex.org/redirect.php?fid=7&tid=43334&goto=nextnewset
1 ]8 q1 T1 F$ G% ` Tex4ht在CTex中的配置,参考 http://xaero.mmiyy.cn/notes/latex/tex4ht.htm
5 r4 ]* v [- ~/ E( e 1. 把C:/CTeX/WinEdt/Bin/TeX/TtH.bat改名为TtH.bat.bak
3 P! S- q# d. K2 \ 2. 把C:/CTeX/.../htlatex.bat(具体路径在C:/CTex下面search一下,不同CTex版本不同)复制到C:/CTeX/WinEdt/Bin/TeX/下,改名为TtH.bat,则Accessories/HTML/TtH(Tex—>HTML)菜单变得可用。( F0 i; o3 @6 ~! u
Tex4ht中数学公式的转换
2 x8 W# x3 u F1 Q+ K. d- O3 q Tex4ht 先将数学公式转为dvi, 再利用外部软件, 如:ImageMagick, 转换为.png, .jpg or .gif文件。4 z( D; R- U: [* D7 `* U4 D
依据我的经验,尚需要以下步骤才能使Tex4Ht正确转换数学公式为png文件:
; b# w1 I6 }0 v8 Y( u 4. 安装ImageMagick 最新版本,Google搜索可以找到很多下载地址。 注意,为了避免在转换Tex时出现莫明其妙错误, Ctex以及ImageMagick安装目录中不要带有空格,中文等特殊字符。: n+ h" f6 A4 w# K" w& T( l& S
5. 测试ImageMagick是否安装成功,运行终端程序cmd,输入convert, 如果能正确找到文件就安装成功。
/ @8 z4 d2 s+ U0 c& y' s) ~ 6. 依然要修改 %Ctex%/texmf/tex4ht/base/win32/tex4ht.env 文件,找到:alternative instructions for old versions of convert 将该节中 Gconvert 前的 % 全部去掉。
; k: C" E, y/ z. w# c0 v; v7 R% d 至此 大功告成。 应该可能正常转换带数学符号的, 可以试试以下Tex文档:/documentclass{article}2 X! _2 \4 p4 p' w: D: B. |
/usepackage{CJK}
4 t. H7 J+ ^3 B- q /usepackage{tex4ht}# q3 K7 v3 \! D( H( k9 Z% j
/begin{document}; T* k2 N- V& ?- P9 U! E
/begin{CJK*}{GBK}{song}
+ ]+ }, p. F1 b$ P& e1 t 测试文档// test document//
: E& L3 {+ X1 P& w) ?4 L /begin{math}/frac{/pi}{/gamma}
: e+ z$ |3 I# [; U5 p! d ///frac{a+b-c}{d+e-k }
; n5 u) X% p5 ~8 j; o /end{math}
3 O/ L. v6 }; F+ z& O /end{CJK*}
+ i0 d9 `! L) h: F /end{document}
2 l) O6 X0 E; C/ z Beamer相关资料
7 d& G( f' j" i9 H7 h& l+ q& X Slides和Presentation的重要性就不必说了。 ' E2 w- V/ U' _ `
A Beamer Quickstart (推荐) :http://heather.cs.ucdavis.edu/~matloff/beamer.html " b/ n+ V# u" r" M# E9 r6 N
A practical guide to beamer: http://faq.ktug.or.kr/wiki/uploads/beamer_guide.pdf
8 W9 U+ m" M! u) v9 O2 | 黄正华老师的总结: http://bbs.ctex.org/viewthread.php?tid=27695&extra=&page=1
' Z) A8 f+ T/ r% u# G3 b Beamer的在线教程: http://www.math.umbc.edu/~rouben/beamer/quickstart.html 5 b" ?+ Z. h0 Y- f% z+ g
Beamer的安装:http://dsec.math.pku.edu.cn/~yuhj/wiki/TeXSlides.html#sec-1 4 z% j% W; u% p- q1 W# V
一个即刻上手的模板:http://www.bossh.net/forums/index.php?showtopic=1638
- O# b) p! f5 L) e- ?5 W) i 推荐一个好的Beamer模板库-非常简洁: http://www.math.sinica.edu.tw/www/tex/beamer_template.jsp " F) a" `: ^+ u* V
Beamer Tips: http://xueruini.myipcn.org/publish/TeX/Beamer.html
5 H: l' L. P8 x+ q- z# G" d9 a8 y 用 Beamer 做相册: http://linux.cs.nthu.edu.tw/~clark/nb/archives/2008-02-03T23_32_45.php8 b4 [; c9 C% B7 p* V; a. N
; f" A: Y8 P6 b, }' }0 c9 R+ }
# [' v) L" ?; F; Z" e3 T3 K$ g beamer的安装配置 1、下载beamer:http://sourceforge.net/projects/latex-beamer/ 5 M1 ~7 o2 I, M6 ~! y9 P9 @ v
下载pgf:http://sourceforge.net/projects/pgf/
! |, B- P9 d6 Z( T 下载xcolor:http://sourceforge.net/projects/xcolor/ D0 i& D E0 _* E/ Y' N
2、解压到各自文件夹beamer、pgf、xcolor
, F' X3 _( O9 j6 f 3、将beamer、pgf、xcolor复制到TeXHOME/ctex/localtextmf/tex/latex,并删除 TeXHOME/texmf/tex/latex/ 下的beamer、pgf、xcolor 1 G6 K1 e; A; j; y* m+ p5 a& H
4、进入TeXHOME/tex/localtextmf/tex/latex/xcolor,用“记事本”打开 xcolor.ins,启动cmd,定位到这个文件夹
' Y8 P- S7 U! T3 r- Z. U 5、运行命令: `latex xcolor.ins',`latex xcolor.dtx',`latex xcolor.dtx',`makeindex -s gind.ist xcolor.idx',`latex xcolor.dtx',`latex xcolor.dtx'
/ @7 [, Y9 b, @! _: p3 o6 L) b (这些命令在xcolor.ins文件里都写出来了)1 ]5 |/ v8 c4 F" v6 U
6、测试安装是否成功,运行命令:`latex xcolor1.tex', `latex xcolor1.tex'& I S' c, B% d# X$ F
7、然后运行 WinEdt 的 Accessories 菜单下 MikTex options 的 refresh now 即可。
3 a- k$ d% \! l, R9 N 注意事项: 当beamer做幻灯片时,需要使用 /usepackage[square, authoryear, comma]{natbib} 和 /citep{xxx} 做文章引用。因为用 natbib 和 citep 才能在beamer下很好的显示 square bracket。另外,做幻灯时,推荐用 /bibliographystyle{authordate1}。这样方便通过引用标记(作者+年份)看到该引文的分量。
& A* I& d+ T# ^7 [9 P t; Z9 Z6 p Bibtex的使用 5 ]# ~* d- ?0 z" S5 u+ S1 w3 p
Reviewer在读你的Paper时,第一件事是读标题,了解你的Niche,你的Research要解决的问题;第二件事就是查阅你的Bibliography,目的是: (1) 看看你有没有很合适的引用他的文章(Academic guys对自己的work的impact ratio是很在意的)。 (2) 也同时看看你引用的文章都来自于什么级别的刊物和会议,大概的年份分布(有没有反映最新的研究进展,从这里就能看出survey about related work做得够不够,治学严谨与否).Experts in this field 也会注意本领域的经典文章有没有引用. (3) 查看一下Paper quality如何.bibliography算是paper的小角落.处理不好就会给reviewers这篇paper文字工作不够细致的印象. 比如说, 作者名字缩写, 会议名的缩写, etc. 这方面别全依赖于工具,如reference manager或endnote. 它们的item也都是从IEEE, ACM 这样的站点下载的。1 B/ N; V6 E1 q+ @
Bibtex的作用是从.bib生成latex可直接识别的/bibitem的.bbl格式。这个格式转换的风格由BibTex Style (BST)file决定。常用的BST如下: # M+ ~3 R* Q. t
IEEEtranBST:http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/bibtex/ - E( \$ [8 t+ V2 K# U* ?; T
中文的文章的bst:http://bbs.ctex.org/viewthread.php?tid=335918 j4 f$ Z5 ^( E- |. i
为了正确的生成Reference List, makefile需要调用latex(或pdflatex)三遍。
: \/ c( ^% N6 j latex %texfilename%
6 H9 i% i8 ?" J" s% J% y% ]9 g bibtex %texfilename%
$ B c& w8 w9 w' C& I latex %texfilename%
5 s9 N$ D0 E y7 [/ d, |2 ~ latex %texfilename% J+ y& U8 p+ P
参考链接 http://bbs.ctex.org/viewthread.php?action=printable&tid=950: R$ g2 x" Z% z+ w8 n! r5 F# T/ I; _
在正文里面引用时,IEEE模板需要引用cite package。具体参考IEEEtranBST_howto # S/ m8 E8 {: d8 U% }
/ifCLASSOPTIONcompsoc
9 O- _. I$ ^0 T' C% c& D; Q % requires cite.sty v4.0 or later (November 2003)
* E# a+ T# S" B6 w' |+ P /usepackage[nocompress]{cite}9 _, P$ [/ M3 V8 A7 |: c/ v @
/else
8 K% l, E6 N' d' ` h( _# P /usepackage{cite}9 a7 U+ a# z0 N+ R
/fi H8 x3 A# e$ h$ `$ l7 |
正文里使用/cite{%label1%,%label2%,%label3%}命令。 . H8 {# ^6 } H$ O
新手注意:Reference list里面只会显示那些正文里面引用了的那些文章。如果正文没有/cite,别怪bibtex报错。另外,对图片、表格、公式的引用是/ref命令,别搞混了。 参考:http://latex.yo2.cn/articles/latex-bibtex-introduction.html6 f6 J* d! E+ W9 I$ G: O
Other Tips 细节决定成败! `! n7 e7 ~; Y+ s' C" H8 j5 E5 ~
怎么输入左单引号、左双引号、右单引号、有双引号? 8 g+ x% @! V$ h6 {
左单引号:`(键盘上1旁边的那个);左双引号:``;9 [. ~, R1 ~# M9 v
右单引号:'(键盘分号的右边那个);右双引号:''或"。9 W/ X# O* N& s$ v: N
在普通模式下,''和"是一样的;但在数学模式下,''是两个导数符号。
: I. J& e: o: h$ _ e, A4 ? 怎么输入“度数”之类的单位? 试试SIunits包。5 _" H' n7 l$ h; }/ P, z
我用了bib文件来保存citation,但所有title里面的单词都成了小写,怎么保持一些abbrevation的大写状态? 9 E; q$ ^$ a7 T
用括号把title中的abbreviation框起来,如下:
6 p( ?( D Y6 t {TOSSIM}: accurate and scalable simulation of entire TinyOS applications。怎么把"Chapter x"换成“第x章”,"Figure x"换成“图x”,"Theorem"换成“定理”, "Proof"换成“证明”……? : J4 p" G" |7 T. z, t- ` l0 b5 r
前两个建议用CCT或CJK的/CJKcaption{GB}命令来解决。
7 d4 A0 e3 [, N6 K9 \ 第三个用/newtheorem{theorem}{定理}。以后这么用:
8 s4 Y4 x: f! w( J4 ~ /begin{theorem}.../end{theorem}/ Q( P; n( `" r- B% F4 v
第四个用/renewcommand{/proofname}{证明}可以解决(需要amsmath包)。! q0 s: R3 d, Q0 a! ]
类似的问题可以参考CJK的GB.cap和amsmath的文档。
4 k- \' |3 n P$ w 我要写算法伪代码/C/C++/Java...代码,怎么办?
% Z y9 m; F) Y' A listings包不错,不妨一试。算法伪代码么,个人觉得algorithm2e不错。8 c+ ^5 r$ f, Q o, k
latex提供哪些定理环境? 1 J% d$ H4 n& x5 j" Q) O4 ?
很遗憾,没有。但是我们可以自己定义,而且amsthm包已经预定义了三种style。! x2 ]% D V8 L+ m7 d; d" n: `
下面是我自己常用的定义,大家作个参考吧。:)
j3 p& ]- \5 Z# B4 q /theoremstyle{plain}
9 ], U6 [2 Q3 g4 P6 A% m& L6 A /newtheorem{thm}{Theorem}9 w$ }4 R# c! y
/newtheorem{lem}[thm]{Lemma}
S, i3 B0 H1 p& ^9 H/ M /newtheorem{cor}[thm]{Corollary}
. v% w* h n2 G) ~# p; p* d /newtheorem{clm}[thm]{Claim}
" [" l( g+ h x7 i7 N, W) @4 X* Y /newtheorem{prop}{Proposition}$ G% V1 K4 V1 H/ ]2 ~4 x: t1 U
/newtheorem{fact}{Fact}
5 M; _, B D, ?7 K Q5 X0 H /theoremstyle{definition}7 S+ F- K) @* \: J+ `4 l
/newtheorem{defi}{Definition}& u. W( n- A8 {' L" A9 J" f J
/newtheorem{example}{Example} x( K! o6 X' v& m& n, z
/theoremstyle{remark}
9 A& p8 C! @. q8 K( }$ G0 U /newtheorem{remark}{Remark}% j4 C( H) Y; a- c0 N
/newtheorem{proviso}{Proviso}- p9 e' E9 C% Z. W( l" P
amsthm还定义了proof环境,最后会自动加一个QED符号。很方便吧?! C9 B/ v. L$ F
需要提醒大家:它和一些会议、杂志提供的文档类冲突。这些会议、杂志提供的文档类一般会提供类似的环境,大家要看看它们的文档。
; p, a! [! Z( m; q1 M4 g' q 怎么插入一张图片到latex中?
6 U! c/ f q4 e( {& B7 N E& ~ /usepackage{graphicx}
: a% |; {: j9 \4 M/ T9 F D5 V: v L( F /includegraphics{xxxx.yyy}1 s2 Y3 W! K1 j+ S; O8 z) s" _
但是这样还没有搞定。LaTeX在编译的时候必须知道图片的大小尺寸,称作bounding box。以下方法可以告诉LaTeX bounding box:
9 d. |* H" b0 C, O$ B 注意:Bounding Box的问题,编者的经验是用GSView的File->;PS to EPS和AcrobatRd的Document->Crop Pages完成比较好。这样不会损害矢量图特性,能被各IEEE conference & journal接受。: E1 e9 G* ^( N W& q- b7 |
以下几种情况要善于使用"~"的小空格
( _, p% x* s1 r( L 1. 中文与英文之间一般加入小空隙排出来才好看,要加上"~"。
) k$ W6 `( f9 @) ~ 2. 中文与行内公式之间也要加。7 {# G: x) ]+ i+ v) \9 D5 W
3. 如果"."不表示句子的结束,应加入"/空格",如"Mr. Wang"应输入为"Mr./空格Wang"。 因为当"."表示句号时,TeX会加入一段额外的空隙。
2 |, S" U. }; W 4. TeX遇到一个单词以大写字母结束时会自动认为这并不是句子的结束,故这种情况不必加入/空格。但如果确实是句子的结束,就需要在"."前加上"/@”,如“I study in SJTU/@.”。
+ J1 ]0 \1 Q8 X7 Z. L 5. 对Figure、Equation、Table的引用时,要加"~",比如
0 m* K+ g& `3 R. a9 z0 { /figurename~/ref{%label%}9 Q- f9 k0 I/ W& d
Tab.~/ref{%label%}4 Y( a% G* k* b; A
Eq.~/ref{%label%}
# _- w$ U7 b0 Z- l4 u$ `+ a5 a6 S) U 我的系统crash,论文稿件都丢了,怎么办? 9 g! d( A' k9 j6 P9 G" u
丢了的话就没什么特别的好办法了,去找IT guys做disk recovery吧。这很麻烦,所以还是建议预先使用CVS或SVN来做冗余备份和version control。这样boss也方便查看你的进度,一举多得。 " ^! [3 c$ [% L% A5 t
WinCVS的使用参考 http://203.68.102.46/online_book/content.php?chapter_sn=223
: e# l5 B9 i3 |6 X( J7 S2 ^1 ^ 如何配置WinEdit的界面Layout? 比如说,达到下面的简洁形式。 * a q( z0 n; b o6 g* I
Menu的Options->Apperances->Docking可以改变Layout的配置。基本属于BorderLayout。 / K5 }* y* K5 a5 ~1 o
要控制各类Viewer窗口的显示与否,对Menu点鼠标右键,就可以看到相关选项。
/ o8 J) i, U2 W* n' }* v+ h 如何压缩论文篇幅? 主要靠文字的精炼。或者把证明推导放到Appendix (4journal)。- |8 a9 _7 T E" V% K
适当缩小图片或者缩小图片与文字的间隔。用命令 0 O) B$ ? J# a3 v4 {
/begin{figure}[htb] 2 |8 ]! w k( s, S' r) y% Z
......
3 T% s" V9 O Q' Q3 ^3 O6 i /vspace{-0.3cm}
( R0 e% K/ c& ~# P) O8 k /end{figure}
1 m2 h1 G6 m7 h# t6 C 如何在pdf文档中生成书签?
# v4 I. @: G5 F. y' ^% M1 n 先
5 w) P. V! @* m( e) X /usepackage{lineno}
6 y6 w1 e. }1 B) n/ t7 x /usepackage{indentfirst} 7 X% Y/ P! H: s# j1 S
/usepackage{hyperref}
) Z! g/ A0 \, @- X& w% b- o /usepackage{natbib}
. y ?# ]3 d/ h; S1 Y, n8 r 再 + |2 {" C, _ W! m+ G
/section{} /subsectioin{}6 v* w& @, E3 X$ x" J6 I3 t$ p& V' P5 D
即可。
5 q, c- `3 X& |, D2 A b 如何生成hyper reference?
- \" M$ h8 s { p% I3 } /usepackage{hyperref}
- L! V" w7 D: N& u /hypersetup{ : u" o4 b5 t N; s' H8 E; k
unicode=false, % non-Latin characters in Acrobat’s bookmarks
+ _. L$ ]7 @6 w" }' j pdftoolbar=true, % show Acrobat toolbar?
2 g9 h/ G( A- ^8 Y& Z pdfmenubar=true, % show Acrobat menu? # E! a8 F' h5 s4 D: p
pdffitwindow=true, % page fit to window when opened
( @/ h2 {! L5 s; D( P3 e$ Z pdftitle={My title}, % title
3 W5 Q: Q! y& ]0 I6 L7 Y( Z pdfauthor={Author}, % author1 p2 h6 w5 S6 k4 u" t$ F0 h
pdfsubject={Subject}, % subject of the document
0 K: p. P3 N+ R% y% ^& o pdfcreator={Creator}, % creator of the document
2 _$ }: g( V( O2 E# | pdfproducer={Producer}, % producer of the document( u4 | K! f2 {+ R/ o: B
pdfkeywords={keywords}, % list of keywords ( s. _7 }. |/ i$ |
pdfnewwindow=true, % links in new window
9 N7 t5 J1 R7 E6 ~" N3 }/ O0 O colorlinks=true, % false: boxed links; true: colored links 3 K- @) [4 a! t( Z- E8 p* u" n
linkcolor=red, % color of internal links
5 v5 O" ]" c+ s8 g9 e citecolor=green, % color of links to bibliography
2 E/ U5 Q F! T& N filecolor=magenta, % color of file links $ M* r V& P" l l
urlcolor=cyan % color of external links . x* Q' S% W) Z Q4 B
} , N* G; E3 N/ h1 ^
/href{...url...}{...caption...}
& M, J5 Z& Q6 m1 n$ P: H6 H 具体如何在pdf文档里面加入hyperref, bookmark, thumbnail,参考http://www.mpch-mainz.mpg.de/~joeckel/pdflatex/
0 h* y" d a' g" Z: z3 |7 D' \ Latex里面有没有比较好看的手写字体? 5 Y i4 |# S3 V) X) u2 `) r$ @
我自己喜欢lucida casual。
+ v/ o: m k, B* j9 G# k: @; ]6 Z 下面是一个gallery: http://tug.org/store/lucida/complete.html
! u7 C5 ?( L! q5 L8 b 这是sample文档: http://tug.org/store/lucida/lucida-sample.pdf
3 ^' M+ Q4 W1 M5 J" i. I- r" s) H 这个下载地址: http://www.rzuser.uni-heidelberg.de/~t91/analysis-cd/software/miktex_2.0/ 8 |% l4 n5 n' P" s5 d: ?5 s: d5 b5 s
和http://www.ctan.org/tex-archive/fonts/psfonts/bh/lucida/
' X& w% m8 l2 i0 U5 c; _$ T 个人认为比较好看的适合正文的罗马字体有: Lucida Bright( The LaTeX Companion )、Bookman ( Effiective STL 和 The Pragmatic Programmer )、 Palatino( Computer Organization & Design )等等。
8 M+ L. [9 E; E% n5 a 我需要某个符号,我需要写某个样子的数学公式,怎么办? Latex 里面有一份文档,Higher Mathematics,很适合你。ctex的用户可以在CTeX/CTEX/doc下找到ch8.pdf,就是它。如果你想要的符号这里面没有,可以去查一查同一目录下的 symbol.pdf" N6 ~$ [, b5 `" S
Latex中并列子图的实现
. l }. r* O+ s) h 下面是个例子,详细说明请参考IEEEtran_HowTo。 : x0 ?3 | Z& W. i& ^# N
/usepackage{graphicx}6 E* t, f' o- Y# p- n _
/usepackage{subfigure}
! t7 Q7 k: c }# ^- p %跨越多列的subfigure8 r# g) M0 U1 d5 V$ C- I* K/ H
/begin{figure*}% ~: L; `/ t( A7 F4 L2 Q/ `% g
/centering /mbox{ + h! C( a1 S7 Y$ I; J% e$ Q. P$ h2 K
/renewcommand{/thesubfigure}{(a/arabic{subfigure})}
' i/ q+ f, q/ T0 m /subfigure[big]{/includegraphics[width=.30/textwidth]{yours.eps}}/quad# [2 H2 D9 q1 E( d( q
/subfigure[small]{/includegraphics[width=.20/textwidth]{yours.eps}} }- K g+ j$ M. f; R1 ]7 h
/end{figure*}
8 o) b6 E2 S+ Z3 t %/setcounter{subfigure}{0}
3 x; m& x5 P: |2 ^- k+ p4 I& s %单列的并列子图
/ Y8 ~# }) |6 S* \% @4 O /begin{figure}
$ T+ T$ x7 U$ W /centering /mbox{ . g1 v R, u7 i0 V
/renewcommand{/thesubfigure}{(b/arabic{subfigure})} # U2 N; z$ c" ]- f: H/ E
/subfigure[big]{/includegraphics[width=.30/textwidth]{yours.eps}}/quad( x" ~* W5 c \/ v
/subfigure[small]{/includegraphics[width=.20/textwidth]{yours.eps}}}6 c! c/ S1 y0 }2 y
/caption{Several figures}2 t4 S" I! {' _$ N' d! U9 j
/end{figure}
& L& O; }) c d M ^ Latex 里面如何输入长等号?/def/Eqlfill@{/arrowfill@/Relbar/Relbar/Relbar}: C+ f# G* S& v. F
/newcommand{/extendEql}[1][]{/ext@arrow 0099/Eqlfill@{#1}}
. ~, Y) B4 |6 n' ^) w /makeatother
3 v. O: y, B) h1 k/ t" q& | $$a /extendEql{/mbox{/textrm{def}}} b$$9 Z1 W# {9 B. h1 W8 A
Latex 里面如何调整列表环境的间隔?
) }+ m& b H) W, r 设置方法一:在列表环境里进行设置,这样每次使用列表时自己随时设置,比较随意些:0 ^/ [/ @; P0 r1 V. q2 }! p
/documentclass{article}
1 O1 U( W' U& K1 Z# U: u0 B /usepackage{times}8 g9 @6 O1 Y9 _# }' F/ ^! x2 R
/pagestyle{empty}- ^. q% J# f5 F' R' W
/setcounter{page}{6}
+ d/ X% q& [7 z; j /setlength/textwidth{159.0pt}
/ v, R& [7 i5 d( C) E /usepackage{pifont}8 Z( {! _, W/ ?0 y
/renewcommand/labelitemi{/ding{43}}
2 d: ^/ G& s8 K% i( w /begin{document}5 z* n% m' ^( z- F
/begin{itemize}/setlength{/itemsep}{-/itemsep} 6 i( E- i) P2 s1 \
/item Text of the first item in the list.
% p# I( }) ^$ O/ v /item Text of the first sentence in the second item of the list. And the second sentence.. F' X+ z# j$ i6 M6 O9 c" J% J
/end{itemize}
- V. b0 ^6 Y7 m& E; \8 o /begin{enumerate} /setlength{/itemsep}{0pt}
7 D" h5 D# O% ?4 n: A, Q+ d /item item of the list.
) y' M2 J9 g; i /item item of the list.
; z: M8 G `) o& F9 ?% w; a- N /item item of the list.& {$ h, l) j: X- G
/end{enumerate}/end{document} b2 e! {( g+ V4 ^% j) z3 L5 v
/ i/ B9 s* T, H Z5 B" ^1 I
设置方法二:方法一有一个缺陷就是你要随时设置比较麻烦,下面的方法较为简单,可以进行统一的设置。简单方便:/documentclass{article}
! I0 {# U* g- M7 v6 A% Q* I /usepackage{times}7 r$ w* e9 Z3 ~- g2 v
/pagestyle{empty}( @# w* D& L) Y) b
/setcounter{page}{6}
9 K" |: y8 l$ ]0 [- ` /setlength/textwidth{159.0pt}
z! R, P. [2 H9 g /usepackage{pifont} V% [6 S: w E& I
/renewcommand/labelitemi{/ding{43}}0 d6 r3 |: v7 Z- m7 w1 X
/usepackage{atbeginend} % 可选宏包, 能解决许多问题,
! j; S4 S, B- t: Q, L %比如itemize, enumerate环境/item之间的控制% q6 P; W# ^, w/ | B* X
%用法
' s2 m7 Y/ i* K# J /AfterBegin{itemize}{/addtolength{/itemsep}{-0.5/baselineskip}}
5 \( u+ a$ \; S4 _+ H& @5 m; W0 Q /AfterBegin{enumerate}{/addtolength{/itemsep}{-0.5/baselineskip}}/begin{document}$ M$ N' S$ B9 l& V
/begin{itemize} l! n. O; b2 r! v% p
/item item of the list.
% {) k; g* j3 |+ }* `, z /item item of the list. |6 S. f2 w. a' Q
/item item of the list.; h* J; _% p$ X0 [: ]
/end{itemize}
; M9 O" T) O! n# ]9 Z! i) V* t /begin{enumerate} H. r$ @% Y/ O1 W& M0 [2 I/ [
/item item of the list.
7 ?' M! Z7 e# V% w2 a+ [ /item item of the list.
* a6 `" A" @& Z /item item of the list.8 L4 n0 h2 M% P# H& \% y, D; e
/end{enumerate}
8 O9 }5 P, w3 z: }1 _5 F3 \ /end{document}$ P( s' F* @" \9 n8 T% p% |
Latex 里面如何打印如下常用符号?
$ ]* J5 p7 g, i 使用marvosym 宏包* M6 e- ?) F9 F
演示:
) ^4 C7 ]) `$ O) n 代码:
& d- r% P7 q" w. C; v7 o( l /documentclass[a4paper,twoside]{book}
" h* `( ^, @+ Q6 q | /usepackage{CJK}$ A' j2 C2 p5 N
/usepackage[body={398pt,550pt},footskip=30pt,%
" K" ?+ l, `8 T7 y4 ^ marginparwidth=60pt,marginparsep=10pt]{geometry}1 H1 U. `8 q5 C3 i
%/setlength/textwidth{180.0pt}
: G6 M6 ]9 Y) P; X! [ /usepackage{marvosym}/ Y- u: U: p8 d
/begin{CJK*}{GBK}{song}
/ a5 S% H7 `& C /begin{document}
% {' W- k! c+ j8 h+ u /noindent/Emailct~XXXXXXX有限公司~~xxxx~xxxx~xxxxxx~xxx-xxx~室//%
4 C: y3 A4 N5 Q" m; X- ]/ g /Telefon~/underline{0755-12345678}~~///Letter~/underline{xxx@xxxxxxxxx.com }~~//%0 B( V0 y5 B. ~! {* X& t R }
/Mobilefone~/underline{13812345678}~~///Pickup~/underline {http://www.xxxxxxxxx.com/}//%
* T' q+ }- S! a* D, g6 D 打勾: ${/surd}$//2 |, D4 j/ g" O1 m/ u3 v% L
打叉: ${/texttimes}$
# ?1 D1 Q A. W9 F7 ` W /paragraph{}
- [9 a: }* B) e0 L" T% H /clearpage
A" z4 a) M! G$ A U /end{CJK*}9 v( H% o- B$ J
/end{document}2 t0 P3 Q6 f9 w' Q4 C' N, l. x4 W
: z0 T4 ^# \! V3 h8 Z
zan