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