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