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