文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 经管营销 > 金融/投资 > IEEEtran_HOWTO
侵权投诉

IEEEtran_HOWTO

8

TABLEI

MATHSPACINGSUSEDBYLATE

XSizeWidth

Cmd.UsedforExamplesmall

1/6em\,symbolsabmedium2/9em\:binaryoperatorsa+blarge5/18em\;relationaloperators

a=bnegativesmall

1/6em

\!

misc.uses

ab

amsmathpackage[14].Amsmathisacomprehensiveworkwhichcontainsmanyhelpfultoolsbesidesenhancedmultilinealignmentenvironments.So,allauthorsshouldgiveseriousconsiderationtoitsuse—regardlessofwhattheyusetogen-eratealignedequations.Onethingtobeawareofisthat,upon

loading,amsmathwillcon gureLATEXtodisallowpagebreaks

withinmultilineequations(evenwithinnon-amsmathde nedenvironments).Thephilosophyhereisthatauthorshouldmanuallyinsertbreakswheredesiredsoastoensurethatbreaksoccuronlyatacceptablepoints.TorestoreIEEEtran’sabilitytoautomaticallybreakwithinmultilineequations,loadamsmathlike:

\usepackage[cmex10]{amsmath}\interdisplaylinepenalty=2500

Itisstronglyrecommendedthattheamsmathoptioncmex10beused.Withoutthisoption,currentversionsofamsmathmayemployfontsforsomeofthesmallersizes(suchascanoccurwithmathinfootnotes)thatareavailableonlyinbitmapform(formostTEXsystems).Thus,thecmex10optionwillensurethatitispossible(i.e.,necessary,butnotsuf cient)toproduceadocumentthatusesonlyType1fonts—asrequiredforIEEEXplorecompliance.

Anotherextremelypowerfulsetofalignmenttools,oneofwhichisatotallyrewritteneqnarrayenvironment,isprovidedbymathenv.stywhichispartofMarkWooding’sMDWTools[15].

Finally,IEEEtranprovidesafullyintegratedcustomIEEEe-qnarrayfamilyofcommands(seeAppendixF)thatarede-signedtohavealmostuniversalapplicabilityformanydifferenttypesofalignmentsituations.

Nevertheless,itisinstructivetoshowasimpleexampleusingthestandardeqnarrayinordertoexplainsomeof

the nepointsofmathspacingunderLATTableI,TEX.Asshownin

EXnormallydrawsfromfourdifferentspacingswhentypesettingmathematics.Inordertoproduceprecise(andcorrect)mathematicalalignments,itiscrucialtounderstandhowtocontrolsuchspacing.Consideramultilineequation

Z=x1+x2+x3+x4+x5+x6

+a+b(1)+a+b(2)+a+b(3)+a+b

(4)

(intypicalIEEEstyle)whichwasproducedby

\setlength{\arraycolsep}{0.0em}\begin{eqnarray}

Z&{}={}&x_1+x_2+x_3+x_4+x_5+x_6\nonumber\\

JOURNALOFLATEXCLASSFILES,VOL.11,NO.4,DECEMBER2012

&&+a+b\\&&+{}a+b\\&&{}+a+b\\&&{+}\:a+b\end{eqnarray}

\setlength{\arraycolsep}{5pt}

Linesonethroughfourshowsomepossiblewaysthe+a+blinecouldbeimplemented.6OnlynumberfouristhecorrectwayformostIEEEpurposes.InTbeinhibitedEX’smathmode,spacingaroundoperatorscanbyenclosingthemwithinbraces(e.g.,{=})orforcedbysurroundingthemwith“emptyords”(e.g.,{}={}).Itisimportanttounderstandthattheemptyordsdonothavewidththemselves.However,theirpresencecausesTwere“nexttoEXtoplacespacearoundtheoperatorsasiftheysomething.”Withthisinmind,the rststepintheexampleistoset\arraycolseptozerotopreventeqnarrayfromputtingintheunwanted,arti cial,inter-columnspacing.Placingemptyordsaroundtheequalsignthenforcesthecorrectnaturalspacing.Alternatively,\arraycolsepcouldhavebeensetto0.14emandtheemptyordsaroundtheequalsigneliminated.7Itisimportanttoremembertorestore\arraycolseptoitsdefaultvalueof5ptaftertheeqnarrayiscompleteasotherenvironments(suchasarray)dependonit.(Alternatively,thestructurecouldhavebeenenclosedinagroupofbracestokeepthechangelocal—whichhastheaddedadvantageofnotrequiringthattheuserrememberwhatthecorrectdefaultvalueis.)

The rstlineisincorrectbecauseaisbeingindicatedasapositivequantityratherthansomethingthatmustbeaddedtothepreviousline.(i.e.,the+isbeingtreatedasaunary,ratherthanabinary,operator.)Inlinetwo,addinganemptyordtotherightsideoftheplussigndoesnothing,excepttodemonstratethatemptyordshavezerowidth.Addinganemptyordtotheleftsideoftheplussign(linethree)doesengagebinaryspacing,butcausesanunwanted8rightshiftoftheline.Finally,manuallyaddingamediumspacetotherightsideonlyoftheplussigninlinefourdoesthetrick.Thesuppressionofautomaticspacingaroundtheplussign({+})isunneededinthiscase,butmayberequiredinotheralignmentenvironmentsthat“expand”suchoperatorsbydefault.

Anotherwayaroundthespacingproblemistouseonlytwoalignmentcolumns(asisdonebyamsmath.sty’s\align).e.g.,inthepreviousexample,“Z=”wouldbecontainedinthe rstcolumn.

A.CasesStructures

Incidentally,thenumcases(orsubnumcases)environ-mentsinDonaldArseneau’scases.stypackage[16]shouldbeusedwhen“cases”structuresinwhicheachbranchcanbereferencedwithadifferentequation(orsubequation)numberareneeded:

|x|=

x,forx≥0(5a)

x,forx<0(5b)

6In

thisexample,theequationnumberingsystemis(ab)usedtoidentify

lines.

7Thisassumesthat1eminthetextfonthasthesamewidthas1eminthemathfont.Forthestandardfonts,thisisindeedthecase.

8IEEEnormallywantsallofthelinesleftaligned,buttherearecaseswhensuchanindentionmaybedesirable.

上一页第8页

你可能喜欢

热门文档

相关文档

  • IEEETran学习笔记

    (注:此处不能直接将 txt 文件的后缀直 接改成.bib,运行会报错) 在\end{document}语句之前加入 \bibliographystyle{IEEEtran} \bibliography{IEEEabrv,reference}...

  • latex 使用文档

    最后,IEEEtran_HOWTO (in IEEEtrans template)也有很不错的 latex 用法介绍。 http://www.ieee.org/web/publications/authors/transjnl/index.html CTex 下载:http...

  • Latex相关资源汇总

    最后,IEEEtran_HOWTO (in IEEEtrans template)也有很不错的 latex 用法介绍。http://w ww.ieee.org/web/publications/authors/transjnl/index.html CTex 下载: ...

  • IEEE 会议论文 latex 版

    ** %% %% File list of work: IEEEtran.cls, IEEEtran_HOWTO.pdf, bare_adv.tex, %% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex, %% ...

  • A Bibliography of the Proceedings Volumes of the IE...

    19页 免费喜欢此文档的还喜欢 IEEEtran_bst_HOWTO会议模... 10页 免费 FSE2001 12页 5财富值 Process migration and tr... 暂无评价 15页 免费...

  • A Bibliography of the Proceedings Volumes of the IE...

    19页 免费喜欢此文档的还喜欢 IEEEtran_bst_HOWTO会议模... 10页 免费 FSE2001 12页 5财富值 Process migration and tr... 暂无评价 15页 免费...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email