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