SHELL:HOWTOUSETHEIEEETRANLATEXCLASS
willbeassumedateachendofthecolsspeci cationif
nocolumnglueisspeci edthere.Thisresultsinacenteredstructurelike\eqnarray(the1000ptminus1000ptglueoneachside“compresses”asneededfromeachsideofthemaintextcolumntocenterthatwhichisbetween).Also,\IEEEeqnarrayautomaticallyaddsahiddencolumnforequationnumberstotherightofthelastspeci edcolumn.Currently,thereisnosupportforequationnumbersontheleftside.13B.De ningColumnTypes
Newcolumntypesarede nedwiththe
\IEEEeqnarraydefcol{col_id}{predef}{postdef}
command.Thecol_idargumentcontainsthenameofthecolumnspeci erwhichshouldconsistonlyofoneormoreletters.Agivencolumnspeci er,eventheprede nedones,canberede nedatwillwithoutwarningorerror.14Thepredefargumentcontainsthecommandsthatwillbeinsertedbeforeeachcellinthecolumn.Thepostdefargumentcontainsthecommandsthatwillbeinsertedaftereachcellinthecolumn.Forexample,
\IEEEeqnarraydefcol{g}{\hfil$\clubsuit$}{$\diamondsuit$\hfil}
Willde nea“g”textcolumnwhichwillplaceclubanddiamondsuitsymbolsoneithersideofacell’scontentsandcentertherespectivestructurewithinthecell.e.g.,
Hello
Using\hfiltocontrolcellalignmentallowstheusertooverridethecolumnalignmentonacell-by-cellbasisbyplacingthein nitelymorestretchable\hfillononeorbothsidesofacell’scontents.\hfillcanevenbeplacedbetweenitemsinacelltoforcethemapartandagainstthe“cellwalls.”TheIEEEeqnarrayprede nedcolumnsaredesignedtoallowuseroverridesvia\hfillwheneverpossible(evenforthemathmodecells).
PleasenotethatTofcommands.EXwillnotallowunmatchedbraceswithintheargumentsIfbracesareneeded,suchasfortheargumentofacommand,theywillhavetobeprovidedwithinthecellsthemselves.Forexample,
\IEEEeqnarraydefcol{myp}{\parbox[c]{0.5in}}{}\begin{IEEEeqnarraybox}{{myp}c}{first\\second}&\alpha\\&\beta%
\end{IEEEeqnarraybox}
de nesacolumntypenamed“myp”thatwillplacetextwithina0.5inchwideparboxwhichiscenteredonthecell’sbaseline.Notethatbecausethecolumntypenameconsistsofmorethanoneletter,ithastobeenclosedwithinanextrasetofbracesinthecolumnspeci cationsorelseitwouldbeinterpretedasthreeadjacentcolumns“m”,“y”and“p”.Also,thecontentsofthecellmustbeenclosedwithinbracessothat(1)the\parboxcommandseestheentirecontentsasitsargument;and(2)thenewlinewithintheparboxwillnotbeinterpretedasbeing
13This
isnottosaythatitsimpossiblewiththeexistingcapability,just
ugly.
14Thusallowingnewprede nedcolumntypestobeaddedwithoutbreakingexistingcode.
19
theendofthealignmentrow.Beawarethatitcanhappenthatacolumnisgivenanemptycell,suchasinthesecondrowintheexample,orwhenenteringblankseparatorrows.Whenthishappens,a\relaxwillappearinthecolumnwhichwillbeacquiredasthecommand’sargument.Therefore,commandsincolumnde nitionsthatacquireargumentsfromthecellsshouldnotchokeiffed\relax.
Forreference,thede nitionsoftheprede nedcolumntypesareshownhere:
%math
\IEEEeqnarraydefcol{l}{$\IEEEeqnarraymathstyle}{$\hfil}
\IEEEeqnarraydefcol{c}{\hfil$\IEEEeqnarraymathstyle}{$\hfil}\IEEEeqnarraydefcol{r}{\hfil$\IEEEeqnarraymathstyle}{$}
\IEEEeqnarraydefcol{L}{$\IEEEeqnarraymathstyle{}}{{}$\hfil}\IEEEeqnarraydefcol{C}{\hfil$\IEEEeqnarraymathstyle{}}{{}$\hfil}
\IEEEeqnarraydefcol{R}{\hfil$\IEEEeqnarraymathstyle{}}{{}$}%text
\IEEEeqnarraydefcol{s}{\IEEEeqnarraytextstyle}{\hfil}
\IEEEeqnarraydefcol{t}{\hfil\IEEEeqnarraytextstyle}{\hfil}\IEEEeqnarraydefcol{u}{\hfil\IEEEeqnarraytextstyle}{}%verticalrules
\IEEEeqnarraydefcol{v}{}{\vrulewidth\arrayrulewidth}
\IEEEeqnarraydefcol{vv}{\vrulewidth\arrayrulewidth\hfil}{\hfil\vrulewidth\arrayrulewidth}
\IEEEeqnarraydefcol{V}{}{\vrulewidth\arrayrulewidth\hskip\doublerulesep\vrulewidth\arrayrulewidth}
\IEEEeqnarraydefcol{VV}{\vrulewidth\arrayrulewidth\hskip\doublerulesep\vrulewidth\arrayrulewidth\hfil}%
{\hfil\vrulewidth\arrayrulewidth\hskip\doublerulesep\vrulewidth\arrayrulewidth}%horizontalrules
\IEEEeqnarraydefcol{h}{}{\leaders\hruleheight\arrayrulewidth\hfil}
\IEEEeqnarraydefcol{H}{}{\leaders\vbox{\hrulewidth\arrayrulewidth\vskip\doublerulesep\hrulewidth\arrayrulewidth}\hfil}%plain
\IEEEeqnarraydefcol{x}{}{}\IEEEeqnarraydefcol{X}{$}{$}
Notetheinclusionofthecommands\IEEEeqnarraymathstyleand\IEEEeqnarraytextstyleinthemathandtextcolumns,respectively.Thesecommandsallowtheusertocontrolthestyleofallofthemathandtextcolumns.However,becausethechangesapplytoallthecolumns,theuserwillhavetode nenewcolumntypesifdifferentstylesareneededinthesamealignment(ordifferentstylescanbemanuallyspeci edineachcell).Thedefaultde nitionsforthesecommandsare
\newcommand{\IEEEeqnarraymathstyle}{\displaystyle}\newcommand{\IEEEeqnarraytextstyle}{\relax}
whichallowsthetextcolumnstobeinwhateverstylewasineffectwhenthealignmentwasstartedandthedefaultmathstylewillbeindisplaystyle,butcanbeeasilychangedasneeded.e.g.,
\begin{IEEEeqnarray}[\renewcommand{\IEEEeqnarraymathstyle}{\scriptstyle}]{rCl}
willresultinscriptstylemathcolumns.
ThecolumnsrelatingtoverticalandhorizontallineswillbediscussedinAppendixF-Kastheyaretypicallyusedonlywhenproducingtables.
The“x”and“X”columnsarebasicemptytextandmathmodecolumnswithoutanyformattingorstylecontrols.C.De ningGlueTypes
Newcolumnseparationgluetypesarede nedwiththe
(注:此处不能直接将 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页 免费...
热门文档