4
\headheightand\headsepispreserved.Forexample,the
headercanbeshiftedupwards0.2inusing:
\addtolength{\headsep}{0.2in}
\addtolength{\topmargin}{-0.2in}
Likewise,\footskip,whichhasadefaultvalueof0.4in,caneasilybechangedtoalterthepositionofthefooterwithinthebottommargin.
Whenusing\CLASSINPUTbaselinestretch,IEEEtranwillautomatically“digitize”\textheightsothatanintegernumberoflineswill tonapage(asisdoneinthedraftmodes).DigitizationisnotdonewhenthetoporbottommarginsaresetviaCLASSINPUTs.UsersarecautionedthatusingCLASSINPUTcontrolscanresultindocumentsthatarenotcompliantwiththeIEEE’sstandards.Theintendedapplicationsinclude:(1)conferencesorsocietiesthathaveunusualformattingrequirements;(2)producingcopieswithnonstandardmarginssuchaswhenbindingforpersonaluse;and(3)non-IEEErelatedwork.B.CLASSOPTIONs
CLASSOPTIONsareprimarilyTEX\ifconditionalsthatareautomaticallysetbasedonwhichIEEEtranoptionsarebeingused.Thus,forexample,aconstructsuchas
\ifCLASSOPTIONconference
\typeout{inconferencemode}\else
\typeout{notinconferencemode}\fi
canbeusedtoprovideforconditionalcodeexecution.Pleasenotethat,asmentionedinSectionII-B,thedraftanddraft-clsnofootoptionsimplydraftcls.So,mostuserswillwanttotest\ifCLASSOPTIONdraftclsfordetectingthedraftmodes.
Forthedocument’spointsizeoptions,\CLASSOPTIONptisde nedasamacrothatexpandstothenumericalpartoftheselectedpointvalue(e.g.,9,10,11or12).Forthepapersizeoptions,\CLASSOPTIONpaperwillbeamacrothatcontainsthepaperspeci cation(e.g.,letter,a4).Tousetheseasconditionalswillrequireastringmacrocomparison:
\newcommand{\myninestring}{9}\ifx\CLASSOPTIONpt\myninestring\typeout{documentis9pt}\fi
UsersshouldtreattheCLASSOPTIONsasbeing“read-only”andnotattempttomanuallyaltertheirvaluesbecauseIEEE-tranusestheminternallyas agstodeterminewhichoptionshavebeenselected—changingthese agswilllikelyresultinimproperformatting.C.CLASSINFOs
TheavailableCLASSINFOsincludethe\ifCLASSINFOpdfconditionalwhichworksmuchlikeHeikoOberdiek’sif-pdf.stypackage[11]toindicateifPDFoutput(frompdfLATineffect:
EX)
is\ifCLASSINFOpdf
\typeout{PDFmode}\fi
JOURNALOFLATEXCLASSFILES,VOL.11,NO.4,DECEMBER2012
IEEEtran.clsalsoprovidesthelengths\CLASSINFOnormalsizebaselineskip,whichisthe\baselineskipofthenormalsizefont,and\CLASSINFOnormalsizeunitybaselineskip,whichisthe\baselineskipofthenormalsizefontunderunity\baselinestetch.
Finally,therearethestringmacros(thesearenotcondition-alsorlengths)\CLASSINFOpaperwidthand\CLASSINFOpaperheightwhichcontainthepaperdimensionsintheirnativespeci cationsincludingunits(e.g.,8.5in,22mm,etc.).AswithCLASSOPTIONs,usersshouldnotattempttoaltertheCLASSINFOs.
IV.THETITLEPAGE
Thepartsofthedocumentuniquetothetitleareaarecreated
usingthestandardLATcommandiscalled,theEXcommand\maketitle.Beforethis
authormustdeclaredallofthetextobjectswhicharetoappearinthetitlearea.A.PaperTitle
Thepapertitleisdeclaredlike:
\title{AHeuristicCoconut-basedAlgorithm}
inthestandardLATEXmanner.Linebreaks(\\)maybeused
toequalizethelengthofthetitlelines.Donotusemathorotherspecialsymbolsinthetitle.
B.AuthorNames
Thenameandassociatedinformationisdeclaredwiththe\authorcommand.\authorbehavesslightlydifferentlydependingonthedocumentmode.
1)NamesinJournal/TechnoteMode:Atypical\authorcommandforajournalortechnotepaperlookssomethinglikethis:
\author{Michael Shell, \IEEEmembership{Member, IEEE,}John Doe, \IEEEmembership{Fellow, OSA,}and Jane Doe, \IEEEmembership{Life Fellow, IEEE}%
\thanks{ManuscriptreceivedJanuary20,2002;revisedJanuary30,2002.ThisworkwassupportedbytheIEEE.}%
\thanks{M.ShelliswiththeGeorgiaInstituteofTechnology.}}
The\IEEEmembershipcommandisusedtoproducetheitalicfontthatindicatestheauthors’IEEEmembershipstatus.The\thankscommandproducesthe“ rstfootnotes.”Be-causetheLATEX\thankswasnotdesignedtocontainmultipleparagraphs4
,authorswillhavetouseaseparate\thanksforeachparagraph.However,ifneeded,regularlinebreaks(\\)canbeusedwithin\thanks.Inordertogetproperlinebreaksandspacing,itisimportanttocorrectlyuseandcontrolthespaceswithin\author.Usenonbreakingspaces( )toensurethatname/membershippairsremaintogether.Aminor,buteasy,mistaketomakeistoforgettopreventunwantedspacesfromgettingbetweencommandswhichusedelimited({})arguments.Notethetwo%whichservetopreventthecodelinebreakonlinesendingina}frombecominganunwantedspace.Suchaspacewouldnotbeignoredasan
4Although
IEEEtran.clsdoessupportit,thestandardclassesdonot.
(注:此处不能直接将 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页 免费...
热门文档