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