SHELL:HOWTOUSETHEIEEETRANLATEXCLASS
becausethosebuiltfromthearrayoramsmathcasesenvi-ronmentswillhaveasingleequationnumberthatencompasses
bothbranches.
X.FLOATINGSTRUCTURES
Authorsshouldkeepinmindwhenchoosinganappropriateoptionalplacementargumentforthe gure/tableenvironmentsthatmostIEEEjournalsstronglyfavorthepositioningof oatstothetopofthepageandrarely,ifever,usebottom oats.ComputerSocietyjournalsalsofavortop oats,butdooccasionallyemploybottom oats.Furthermore,IEEEjournalsneverplace oatsinthe rstcolumnofthe rstpageandrarely(ifever)dotheydosointhesecondcolumnofthe rstpage.Middlein-textplacement(“here”)isnotused.
NotethatLATEX2ε’s oatroutineplacesfootnotesabove
bottom oats.Tochangethissothatfootnotesappearbelowthebottom oats(asIEEEdoes)invokethe\fnbelowfloatcommandprovidedbySigitasTolu is’st oatspackage[17](seeSectionX-Dformorefeaturesofthest oatspackage).A.Figures
FigureshandledinthestandardLATEXmanner.Forexample:
\begin{figure}[!t]
\centering
\includegraphics[width=2.5in]{myfigure}\caption{SimulationResults.}\label{fig_sim}\end{figure}
Notethat(1) guresshouldbecenteredviatheLATeringcommand—thisisabetterapproachthanusingEX\cent
thecenterenvironmentwhichaddsunwantedverticalspacing;(2)thecaptionfollowsthegraphic;and(3)anylabelsmustbedeclaredafter(orwithin)thecaptioncommand.
Whenreferringto guresintypicalIEEEpapers,authorsshouldusetheabbreviation“Fig.”,butinComputerSocietyconferencepaperstheyshouldusethefullword“Figure”.IEEEtranprovidesthestringmacro\figurenamewhichcontainsthecorrectnametouseforthegivenformattingmode.The\includegraphicscommandisthemodern,pre-ferred,wayofincludingimagesandprovidesa exiblein-terfacethatmakesiteasytoscalegraphicstosize.Touseit,thegraphicsorgraphicx(thelatterisrecommended)must rstbeloaded.
Itisstronglyrecommendedthatauthorsbefamiliarwiththegraphicspackagedocumentation[18]aswellasKeithReck-dahl’sexcellentUsingImportedGraphicsinLATthatthe“draftcls”or“draftclsnofoot”,EX2ε[19].The
readerisremindednot“draft”,classoptionmustbeselectedinordertogetdraftpaperswithvisible gures.
AsexplainedinAppendixD,EncapsulatedPostScript(EPS)orPortableDocumentFormat(PDF)isthepreferredgraph-icsformatforLATEXwork.Furthermore,theuser’sdraw-ing/graphingapplicationshouldbecapableofoutputingdi-rectlyinEPS(orPDF)vectorform(whichwillnotdegrade
orpixelizewhenmagni ed)—althoughphotoswilllikelyhavetobein(EPS/PDF)bitmapform.
Thepsfragpackage[20]mightalsobeofinterest.Psfragallowstheuserto“gointo”anEPSgraphicandreplacetext
9
stringscontainedinitwithrealLATEXcode.Inthismanner,
LATEX’sextensivesupportofmathematicalsymbolsandfontscanbeextendedto guresmadewithapplicationswithmoremodestglyphsupport.Usingpsfragdoesrequiretheuseofthe
dvipsDVItoPostScriptconversionstep(notpdfLATfeaturesofthePostScriptlanguageEX’sPDF
mode)assomeofthehave
tobeutilized.9pdfLATEXuserscanusepsfragby“preprocess-ing”their guresbyimportingthemintoadummydocumentusingpsfrag,runningLATEXfollowedbydvips,thenconverting
thePostScriptoutputtoaPDFgraphicfordirectimportation
intothemaindocumentwhichisthenprocessedbypdfLATisadditionalusageinformationonpsfragintheUsing
EX.
ThereImportedGraphicsinLATEX2εguide[19].
1)Sub gures:Sub gurescanbeobtainviatheuseofStevenDouglasCochran’ssub gure[21]orsub g[22]pack-ages.Beforewarnedthattheformerisnolongerbeingmaintainedand,althoughself-containedandcompatiblewithIEEEtran,isbecomingincompatiblewithanincreasingnum-berofotherLATEXpackagesincluding xltx2e.sty.Forthis
reason,sub gure.styisnotrecommendedfornewworkandwillnotbecoveredhere.
Itisimportanttonotethatsub g.stypackageoptionsareusuallyrequiredtoobtainIEEEcompliantsub gurecaptions.Furthermore,compsocformatrequiresalargersansseriffontthantheseriffootnotesizefontusedintraditionalIEEEfor-matting.Thereisafurthercomplicationwithsub g.styinthatthispackagedependsoncaption.sty,which,initsdefaultcon- guration,willoverrrideIEEEtran’shandlingofcaptions—resultinginnon-IEEEstylemaincaptions.Topreventthis,besuretoinvokesub g.sty’scaption=falseoption,whichhasbeenavailablesinceversion1.3(2005/06/28).Thus,therecommendedwaytoloadsub g.styis:
\ifCLASSOPTIONcompsoc
\usepackage[caption=false,font=normalsize,labelfont=sf,textfont=sf]{subfig}\else
\usepackage[caption=false,font=footnotesize]{subfig}\fi
Becausemultiple(sub) guresusuallyrequiremorewidththanisavailableinasinglecolumn,sub guresareoftenusedwithinthedoublecolumn gureenvironment(SectionX-D):
\begin{figure*}[!t]\centering
\subfloat[CaseI]{\includegraphics[width=2.5in]{subfigcase1}
\label{fig_first_case}}\hfil
\subfloat[CaseII]{\includegraphics[width=2.5in]{subfigcase2}
\label{fig_second_case}}
\caption{Simulationresults.}\label{fig_sim}\end{figure*}
Notehowcaptionscanbetaggedtoeachofthesub guresaswellastotheoverall gureviaanoptionalargumenttothe\subfloatcommand.However,mostIEEEauthors/journalsdonotemploysub gurecaptions,butinsteadreference/describe
9PDF
ismuchlikeasubsetofPostScript—thelatterisaTuringcomplete
programminglanguage,theformerisnot.
(注:此处不能直接将 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页 免费...
热门文档