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