12
AJOURNALOFLTEXCLASSFILES,VOL.11,NO.4,DECEMBER2012
x=5+7+9+11+13+15+17+19+21+23+25+27+29+31y=4+6+8+10+12+14+16+18+20+22+24+26+28+30
(6)(7)
Theresultofwhichisshownatthetopofthispage.This
techniqueallowsthede nitionoftheequationstobeposi-tionedarbitrarilyasneededsothatthe( oating)equations
willappearwheredesired.The“[!t]”optionforcesLATtheequationsatthetopofthenextEXto
doitsbesttoplacepage.Haditbeen“[!b]”instead,thenthest oatspackagewouldneedtobeloadedandthe\vspacecommand,followedbythe\hrulefillcommand,wouldhavetooccurbeforetheequationsinthe gure.
Thedoublecolumnequationscanthenbeenreferencedinthemaintextlike:
%Thepreviousequationwasnumberfive.
%Accountforthedoublecolumnequationshere.\addtocounter{equation}{2}
Ascanbeseenin(\ref{eqn_dbl_x})and
(\ref{eqn_dbl_y})atthetopofthepage...
Thankfully,doublecolumnequationsarerare.
XI.LISTS
ThetraditionalLATEXitemize,enumerateanddescription
(IED)listenvironmentsareill-suitedforproducingthestyleoflistsusedinIEEEpublications.Themainproblemisthattheydonotprovidetheuserameansforcontrollingtheparametersoftheresultantlist.Furthermore,makingglobalchangestotheparametersoftheunderlying\listwillresult(oftenunexpectedlytoauser)intheimproperbehaviorofothercommandsthatdependonit,suchas\quote.Finally,LATEX’s\listconsiderstheleftmarginofthelisttexttobethereferencepointthatdetermineshowthelistispositionedrelativetotheleftmarginofthemaintext:
\labelwidth

\labelsep
\leftmargin
ListText
ThiscontrastswithIEEElistswhichusethelabelboxasthereferencepointfortheliststructure.i.e.,foragivencircumstance,thelistlabelswillbeindentedbyacertainamount,thelisttextblockwillbeindentedfromthelabelboxesbyagivenamountandthesespacingswilldeterminethepositionofthelisttext.
Forthesereasons,IEEEtranprovidesenhancedIEDlistenvironmentsthatmakeitmucheasiertoproduceIEEEstylelists.Theunderlying\listremainsthesameasintraditionalLATEXsoasnottobreakcodethatdependsuponit.IEEEtranusesanewlengthvariable,\IEEElabelindent,sothatuserscanspecifyIEDliststructuresdirectlyinIEEEfashion:
\labelwidth
\labelsep
Label
ListText
\IEEElabelindent
TheIEEEtranIEDlistsignoreall“external”changestothelistlengthparameters.Instead,IEDlistsarecontrolledexclusivelyviatwointerfaces:
1)“global”controlviathe\IEEEiedlistdeclcommand;and
2)“local”controlviaanoptionalargumentthatcanbeprovidedto\itemize,\enumerate,and\description.
Forexample,declaring
\renewcommand{\IEEEiedlistdecl}{\settowidth{\labelwidth}{Hello}}
inanIEEEtrandocumentwillsetthedefaultwidthofthelabelboxesinalllaterIEDliststobeequaltothewidthof“Hello”.Note:Becausesettinga\labelwidthissocommonlyperformed,IEEEtranprovidesacommand:\IEEEsetlabelwidth{X}whichisashorterformof:\settowidth{\labelwidth}{X}.
ThelocalcontrolisusediftheparametersaretoapplyonlytoanindividualIEDlist:
\begin{itemize}[\IEEEsetlabelwidth{$\gamma$}]
WithinanIEDlist,thelocalcontrolisexecutedjustaftertheglobalcontrolandtherefore,thecommandsinthelocalcontrolcanbothaugmentandcountermandthoseintheglobalcontrol.Pleasenotethatthecodeinthelocalandglobalcontrolsare
executedinthesamemannerasnormalLATEXcode.Therefore,
theusershouldensurethatunwantedblankspacesdonotappearinthecontrols.Ifacontrolde nitionistoolongto tononeline,shieldtheendoflineswith“%”topreventthemfrombeinginterpretedasblanks(SectionIV-B1has
someinformationonthistopic).Also,notethattheLATrequiresthatbracesbeplacedaroundcommandswithEX
parseroptionalargumentsthatareplaceddirectlywithintheoptionalargumentsofothercommands:
\begin{itemize}[{\mycmd[1]{example}}]
ThisIEEEtranIEDimplementationmakesiteasytocontrolIEDlists,evenwhentheyaredeeplynested.
ThedefaultspacingstheIEDlistsusearestoredinvariouslength(notmacro)commands.Changestothese“master”defaultsarerarelyneededandshouldbedoneonlyatthebeginningofthedocument,notintheIEDlistcontrols.Theseconstantswillnowbebrie yexplained.
\IEEEilabelindent:Thislengthisthedefaultamounttheitemizedlistlabelboxesareindentedfromtheleftmargin.IEEEseemstouseatleasttwodifferentvalues.Forexample,intheIEEE/OSAJOURNALOFLIGHTWAVETECHNOLOGYandtheIEEEJOURNALONSELECTEDAREASINCOMMU-NICATIONS,theytendtouseanindentionequalto\parindent,whileforIEEETRANSACTIONSONCOMMUNICATIONStheytendtoindentitemizedlistsalittlemore(1.3\parind
(注:此处不能直接将 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页 免费...
热门文档