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