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