Latex使用经验及常用问题总结.doc_第1页
Latex使用经验及常用问题总结.doc_第2页
Latex使用经验及常用问题总结.doc_第3页
Latex使用经验及常用问题总结.doc_第4页
Latex使用经验及常用问题总结.doc_第5页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Latex 排版 论文 Quick Start准备工作:1. 安装WinEdit2. 安装MikTex,最好是直接下载80M的安装包3. 安装JabRef 2.3.14. 安装gnuplot5. 安装 GSView和GSGhost6. 下载论文的模板:注意,至少有两个文件,并不是指下载.tex文件。下面以elsart journal 模板为例:a. elsart.cls: 指定elsart的格式b. template-num.tex: 给出了title,author,abstract,introduction等各section的空白,只需要填空即可。7. 用winEdit打开template-num.tex进行编辑。8. 编译9. dvi-pdf以下是一些小技巧:首先建一个工作目录:gossip-dlb-tex最后,这个文件中应该有如下的文件。首先要注意不要忘记在.tex文件首加入对应的package.documentclasselsartusepackageifpdfusepackagegraphicx,amssymb,linenousepackagealgorithmusepackagealgorithmicusepackagemultirowusepackagesubfigure如果需要编辑公式,可以安装一个MathType,将配置设置成“输出为Latex格式”。然后copy-paste到winEdit中即可。注意:考过去是 格式,如果需要将公式放在文本里,需要用$:即$, 如果将公式独立:defformulaAadvancemathindent-20ptbeginequationlabeleq:1formulaAendequation如果需要在公式中加入空格,用 注意:所有的公式都是斜体,但是一般不要用$来讲文本斜体,而应该用emph,因为如果你的文本中有特殊字符就会被公式化:如single, EMPTY。编辑算法:beginalgorithmcaptionThe Skeleton of Gossip-based DLB Design algorithm labelalg-g-dlbbeginalgorithmic 1 footnotesizeIFthe current time is in a emphgossip cycle STATE Receive the emphgossip messages ( emphaggregation message and emphstate-updating message ) from the current node $g_i$s neighbors. STATE Compute the new aggregation values. IFload level change of the node $dc_t$ STATE Encapsulate a emphstate-updating message. IF$ dc_i overline dc+d_pmin i/(2c_j)$ STATE Compute $hops_distance_o$ , according to Formula refeq:5. ENDIF STATE Send emphstate-updating message to its neighbors. ENDIF FOReach emphstate-updating message transmitted from the current node $g_i$s neighbors IFemphstate-updating messages $dc_j overline dc+ d_pmin i/(2c_j )$ STATE Put emphstate-updating message to $oNList$. ENDIF STATE emphstate-updating messages $hops_count$+. IF$hops_count$ $ overline dc + d_pmin i /(2c_i )$ STATE Search its emphuNList for emphunderloaded nodes. STATE Sample some global nodes and search its stored emphuNList. STATE Perform emphRank-based Autonomous Scheduler in terms of $underloaded nodes$ selected. ENDIFENDIFendalgorithmicendalgorithm编辑表格:begintablecaptionRelative Coefficients centeringscriptsizebegintabular|l|l|hline multicolumn1|c|textbfMetric& multicolumn1|c|textbfValue or Scale hline Bootstrap for aggregation & 10 cycles hline Bootstrap for status gossip & 5 cycles hline $f_0$ (rank criterion) & $0.6sim0.8$ hline Capacity of emphcandidate_list & 3 hline Sampling Times & 20 hlineendtabularlabeltab:RelativeCoefficientsendtable加入图片:beginfigurecentering%includegraphicswidth=12cm, height=4cmscenario_uoNlist.epsincludegraphicsscale=0.8Node-Selection-Perf.epscaptionNode Selection Preferencelabelfig:nsPreendfigurebeginfigurehtcenteringsubfigureIntialization Stateincludegraphicsscale=0.33snapshots/3Dstates_epoch0.epssubfigureAfter 1st $epoch$includegraphicsscale=0.33snapshots/3Dstates_epoch1.epssubfigureAfter 2nd $epoch$includegraphicsscale=0.33snapshots/3Dstates_epoch2.epssubfigureAfter 3rd $epoch$includegraphicsscale=0.33snapshots/3Dstates_epoch3.epssubfigureAfter 6th $epoch$includegraphicsscale=0.33snapshots/3Dstates_epoch6.epssubfigureAfter 9th $epoch$includegraphicsscale=0.33snapshots/3Dstates_epoch9.epssubfigureAfter 12th $epoch$includegraphicsscale=0.33snapshots/3Dstates_epoch12.epssubfigureAfter 15th $epoch$includegraphicsscale=0.33snapshots/3Dstates_epoch15.epssubfigureAfter 18th $epoch$includegraphicsscale=0.33snapshots/3Dstates_epoch18.epscaption$RAS$ Dynamic Load Balancing Effect Snapshots ($n=500$)labelfig:5endfigure图片如何制作呢? 首先,必须是.eps格式的图像,因为这种图像是矢量图,不会失真。一般的方法,如果是数据图,用gnuplot, 非常优秀的软件,都是例子。 如果是自己用Visio画的图,首先生成wmf格式的图片。然后,下载wmf2eps软件(注意:安装好wmf2eps以后要配置一下,按照安装包里面help配置打印机即可)。然后,生成eps图片。生成的eps可以下载GSView看它。Bibliography的排版:用到的软件有JabRef 2.3.1以及在citeulike网站注册。用JabRef2.3.1或者自己创建一个后缀是.bib的文件,放在工作目录下。如果要加入一个title为An adaptive clustering approach to dynamic load balancing的论文的reference.首先在google中搜索,找到它对应的网址URL,如/xpls/abs_all.jsp?arnumber=1300515然后,login “CiteULike”网站:/选择post articlepost article from web page. 然后,将URL拷贝到空白后点击Post it!然后,在Home page点击My CiteULike Library.找到你加入的那个paper的item,点击进去就能看到对应的bibTex。然后,将bibTex复制下来。接下

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论