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