10
TABLEII
ASIMPLEEXAMPLETABLE
FirstNext1.0
2.0
allofthesub gures(a),(b),etc.,withinthemaincaption.\hfilisusedasasub gureseparatortoachieveequalspacingaroundthegraphics.Morecompleximplementationsarepossible.Notethatthetotalwidthofallthesub guresonalinemustbelessthanthetextwidthorelseanunwantedlinebreakwilloccur.Multiplelinesofsub gurescanbeusedwithina gureifneeded.Seethesub g.stydocumentationas
wellastheUsingImportedGraphicsinLATdetails.
EX2εguide[19]
formoreAxelSommerfeldt’smodernandactivelymaintainedsub-caption.stypackage[23]cannotberecommendedatthistimebecauseitdoesnotprovideanoptiontopreventtheunderlyingcaption.styfromtakingcontrolofmaincaptionformattingawayfromIEEEtran.B.Algorithms
IEEEpublicationsusethe gureenvironmenttocontainalgorithmsthatarenottobeapartofthemaintext ow.PeterWilliams’andRogerioBrito’salgorithmic.stypackage[24]orSzászJános’algorithmicx.stypackage[25](thelatterisdesignedtobemorecustomizablethantheformer)maybeofhelpinproducingalgorithm-likestructures(althoughauthors
areofcoursefreetousewhateverLATmostcomfortablewithinthisregard).EXcommandstheyare
However,donotusethe oatingalgorithmenvironmentofalgorithm.sty(alsobyWilliamsandBrito)oralgorithm2e.sty(byChristopheFiorio)astheonly oatingstructuresIEEEusesare guresandtables.Furthermore,IEEEtranwillnotbeincontrolofthe(non-IEEE)captionstyleproducedbythealgorithm.styoralgorithm2e.sty oatenvironments.C.Tables
Tablesarehandledinasimilarfashion,butwithafewnotabledifferences.Forexample,thecode
\begin{table}[!t]
\renewcommand{\arraystretch}{1.3}\caption{ASimpleExampleTable}\label{table_example}\centering
\begin{tabular}{c||c}\hline
\bfseriesFirst&\bfseriesNext\\\hline\hline1.0&2.0\\\hline
\end{tabular}\end{table}
resultsinTableII.NotethatIEEEplacestablecaptionsbeforethetables.Withinthetableenvironment,thedefaulttextsizeisfootnotesizewhichiswhatIEEEtypicallyusesfortables.Whenusingthetabularenvironmenttoconstructtables,itisusuallyagoodideatoincreasethevalueof\arraystretchaboveunityto“openup”thetablerowsatad.Also,IEEEoften
JOURNALOFLATEXCLASSFILES,VOL.11,NO.4,DECEMBER2012
TABLEIII
THESKEWINGANGLES(β)FORMu(H)+X2
ANDMu(H)+HXa
H(Mu)+F2
H(Mu)+Cl2
β(H)80.983.2β(Mu)
86.7
87.7
afortheabstractionreaction,Mu+HX→b
MuH+X.
1degree=π/180radians.
usestableswith“opensides,”(withoutverticallinesalongeachside)althoughthe“closedside”form(e.g.,TableI)ismorecommonlyusedforthetableswithinthisdocument.
Unfortunately,thestandardLATEX2εtabularenvironment
hasanumberofshortcomings.Twonotableproblemsare(1)thecornerswherelinesmeetareimproperlyformed;and(2)itisnotvery exibleintermsofusercontrol.Forthesereasons,authorsareurgedtolookintosomeoftheotherpackagesformakingtables.Agoodonethatprovidesrevised“drop-inreplacements”forboththetabularandarrayenvironmentsisFrankMittelbach’sandDavidCarlisle’sarraypackage[26].Evenmorepowerful(andcomplex)isthetabularandarrayenvironmentsprovidedbythemdwtab.stypackagewhichispartofMarkWooding’sMDWTools[15].
Asanalternative,IEEEtranofferstheIEEEeqnarrayboxcommandwhichcanalsobeusedtoproducetables10ofhighquality.SeeAppendixFformoredetails.
1)FootnotesWithinTables:Footnotesnormallycannotbeplaceddirectlywithinsomecommandsandenvironmentssuchas\parbox,tabular,etc.,becausetheybecome“trapped”inside.Onewayaroundthisistosplittheplacethefootnotemarker(\footnotemark)islocated(withinthetable)fromwherethefootnotetextitselfisdeclared(outsideofthetableusing\footnotetext).
Anotherapproachistousethefootnote.stypackage(whichispartofMarkWooding’sMDWTools[15])whichallowsenvironmentstobecon guredsoasnottotrapfootnotes:
\usepackage{footnote}
\makesavenoteenv{tabular}
Notethatisprobablynotagoodideatousefootnotesin oatingstructures(liketable)becausethepositionofeachcanmoverelativetooneanother.Toputthefootnoteattheendofatableinsteadofatthebottomofthepage,justenclosetabular,etc.,insideaminipage(nofootnotepackageneeded).Averygoodapproachforhandlingfootnoteswithintables(includingthosethat oat)istouseDonaldArseneau’sthreeparttablepackage[27]whichwasusedtogenerateTableIII(thecodeofwhichisanexampleinthethreeparttable.sty le).
D.DoubleColumnFloats
LATEX’sfigure*andtable*environmentsproduce g-uresandtablesthatspanbothcolumns.Thiscapabilityissometimesneededforstructuresthataretoowideforasinglecolumn.
10Table
Iwasmadeusingthiscommand.
(注:此处不能直接将 txt 文件的后缀直 接改成.bib,运行会报错) 在\end{document}语句之前加入 \bibliographystyle{IEEEtran} \bibliography{IEEEabrv,reference}...
最后,IEEEtran_HOWTO (in IEEEtrans template)也有很不错的 latex 用法介绍。 http://www.ieee.org/web/publications/authors/transjnl/index.html CTex 下载:http...
最后,IEEEtran_HOWTO (in IEEEtrans template)也有很不错的 latex 用法介绍。http://w ww.ieee.org/web/publications/authors/transjnl/index.html CTex 下载: ...
** %% %% File list of work: IEEEtran.cls, IEEEtran_HOWTO.pdf, bare_adv.tex, %% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex, %% ...
19页 免费喜欢此文档的还喜欢 IEEEtran_bst_HOWTO会议模... 10页 免费 FSE2001 12页 5财富值 Process migration and tr... 暂无评价 15页 免费...
19页 免费喜欢此文档的还喜欢 IEEEtran_bst_HOWTO会议模... 10页 免费 FSE2001 12页 5财富值 Process migration and tr... 暂无评价 15页 免费...
热门文档