X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2FIEEEtran.layout;h=5273126f8946b94726ff17c9f9cb051894a39a6f;hb=39d569661a3f4411d4501f9a8db9c7360ef5d568;hp=816874eacf158ccca50512f8f3b92cbc56a1daa8;hpb=27de1486ca34aaad446adb798d71a77d6f6304da;p=lyx.git diff --git a/lib/layouts/IEEEtran.layout b/lib/layouts/IEEEtran.layout index 816874eacf..5273126f89 100644 --- a/lib/layouts/IEEEtran.layout +++ b/lib/layouts/IEEEtran.layout @@ -1,262 +1,315 @@ #% Do not delete he line below; configure depends on this # \DeclareLaTeXClass{article (IEEEtran)} -# Based on Article textclass definition file. +# Author : Allan Rae # -# Author : Allan Rae +# revised for IEEEtran version 1.7a +# Author: Uwe Stöhr (uwestoehr@web.de) # -# IEEEtran is the class used for submitting to any of the IEEE Transactions. -# The on-screen display in LyX is set to reflect the appearance of two column -# text. The section counters appear correctly in the output but are -# in arabic numerals in LyX -- this requires some additional code in LyX -# to get right (maybe LyX-1.0.1). -# -# IEEEtran.cls can be obtained from the www.ieee.org website -- look for -# the author information area. There is a LaTeX 2.09 IEEEtran.sty available -# also but LyX doesn't support 2.09 stuff so don't get that one. -# -# Input general definitions +# IEEtran textclass definition file. + + +Format 35 -Columns 1 -Sides 1 -MaxCounter Counter_Section -SecNumDepth 3 -TocDepth 3 +Sides 1 +SecNumDepth 3 +TocDepth 3 +DefaultStyle Standard ClassOptions - FontSize 9|10|11|12 -End + FontSize 9|10|11|12 +end + +# This is just to show how to declare the default font. +# The defaults are exactly those shown here. DefaultFont - Family Roman - Series Medium - Shape Up - Size Normal - Color None + Family Roman + Series Medium + Shape Up + Size Normal + Color None EndFont -# Standard style definition + Style Standard - Margin Static - LatexType Paragraph - LatexName dummy - ParIndent MM - ParSkip 0.4 - Align Block - AlignPossible Block, Left, Right, Center - LabelType No_Label + Margin Static + LatexType Paragraph + LatexName dummy + ParIndent MM + ParSkip 0.4 + Align Block + AlignPossible Block, Left, Right, Center + LabelType No_Label End -## -## stdlists -## -Input stdlists.inc +Counter theorem +End -## -## stdsections and stdstarsections -## +Input stdcounters.inc +Input stdfloats.inc +Input stdlists.inc Input stdsections.inc Input stdstarsections.inc +Input stdlayouts.inc +Input lyxmacros.inc + +ProvidesModule theorems-std +Input theorems.inc -NoStyle Part -NoStyle Part* -NoStyle Chapter -NoStyle Chapter* -NoStyle Subparagraph -NoStyle Subparagraph* +NoStyle Chapter +NoCounter chapter +NoStyle Chapter* -Style Section - Align Center - AlignPossible Block, Center, Left +Style Title + Margin Static + LatexType Command + LatexName title + Category FrontMatter + InTitle 1 + OptionalArgs 0 + ParSkip 0.4 + ItemSep 0 + TopSep 0 + BottomSep 1 + ParSep 1 + Align Center + LabelType No_Label Font - Shape Smallcaps - Size Normal + Size Largest EndFont End -Style Subsection +InsetLayout Flex:IEEE_membership + LyxType custom + LatexType command + LatexName IEEEmembership + LabelString "IEEE membership" Font - Shape Italic - Size Normal + Shape Italic + Size Large + Misc No_Emph + Misc No_Noun + Misc No_Bar + EndFont + LabelFont + Color green + Size Small EndFont End -Style Subsubsection + +InsetLayout Flex:Lowercase + CopyStyle Flex:IEEE_membership + LatexType command + LatexName MakeLowercase + LabelString "lowercase" Font - Shape Up - Size Normal + Size Normal EndFont End -Style Section* - Align Center - AlignPossible Block, Center, Left +Style Author + Margin Static + LatexType Command + Category FrontMatter + InTitle 1 + OptionalArgs 1 + LatexName author + LabelSep xxx + ParSkip 0.4 + TopSep 1.3 + BottomSep 0.7 + ParSep 0.7 + Align Center + LabelType No_Label Font - Shape Smallcaps - Size Normal + Size Large EndFont End -Style Subsection* +Style Special_Paper_Notice + CopyStyle Title + LatexName IEEEspecialpapernotice + InTitle 1 Font - Shape Italic - Size Normal + Shape Italic + Size Large EndFont End -Style Subsubsection* + +Style After_Title_Text + CopyStyle Special_Paper_Notice + LatexName IEEEaftertitletext Font - Shape Up - Size Normal + Shape Up + Size Normal EndFont End -## -## stdstruct -## -Input stdstruct.inc -Style Abstract - Margin First_Dynamic - LeftMargin "" - RightMargin "" -# ParIndent MM - LabelSep M - LabelType Static - LabelString "Abstract---" -# LabelBottomSep 0.0 - - # standard font definition - Font - Series Bold - Size Small +Style Page_headings + LaTeXType Command + LaTeXName markboth + Category FrontMatter + InTitle 1 + Align Center + Font + Size Small EndFont + Preamble + % protect \markboth against an old bug reintroduced in babel >= 3.8g + \let\oldforeign@language\foreign@language + \DeclareRobustCommand{\foreign@language}[1]{% + \lowercase{\oldforeign@language{#1}}} + EndPreamble +End - # label font definition - LabelFont - Shape Italic - Series Medium - Size Small + +Style MarkBoth + ObsoletedBy Page_headings +End + + +Style Publication_ID + CopyStyle Special_Paper_Notice + LatexName IEEEpubid + Font + Shape Up + Size Small EndFont -End +End -Style Keywords - Margin Dynamic - LatexType Environment - InTitle 0 - LatexName keywords - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Left - AlignPossible Block, Left, Right, Center - LabelType Static - LabelString "Keywords---" - # label font definition - TextFont - Shape Up - Size Small + +Style Abstract + Margin First_Dynamic + LatexType Environment + LatexName abstract + Category FrontMatter + TopSep 0.7 + BottomSep 0.7 + ParSkip 0.4 + LabelType Static + LabelString "Abstract---" + Font + Series Bold + Size small EndFont LabelFont - Shape Italic - Size Small + Shape Italic + Series Bold + Size Small EndFont End -# Bibliography style definition -Style Bibliography - # label font definition + +Style Keywords + CopyStyle Abstract + LatexName IEEEkeywords + LabelString "Index Terms---" +End + + +Style Appendices + Margin Dynamic + LatexType Command + LatexName appendices + Category BackMatter + KeepEmpty 1 + ParSkip 0.4 + Align Block + LabelSep xx + LabelType Static + LabelString "Appendices" LabelFont - Shape Smallcaps - Series Medium - Size Normal + Series Bold + Color Green EndFont End Style Appendix - Margin Static - LatexType Command - InTitle 0 - LatexName appendix - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Block - AlignPossible Block, Left, Right, Center - LabelType Static - LabelString "Appendix" - # label font definition - TextFont - Shape Up - Size Normal - EndFont + CopyStyle Appendices + LatexName appendix + LabelString "Appendix" + OptionalArgs 1 +End + + +Style Bibliography + Margin First_Dynamic + LatexType Bib_Environment + LatexName thebibliography + Category BackMatter + NextNoIndent 1 + LeftMargin MM + ParSkip 0.4 + ItemSep 0 + TopSep 0.7 + BottomSep 0.7 + ParSep 0.5 + Align Block + AlignPossible Block, Left + LabelType Bibliography + LabelString "References" + LabelBottomSep 1.2 LabelFont - Shape Smallcaps - Size Normal + Series Bold + Size Larger EndFont End -Style Appendices - Margin Static - LatexType Command - InTitle 0 - LatexName appendices - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Center - AlignPossible Block, Left, Right, Center - LabelType Static - LabelString "Appendices" - # label font definition + +Style Biography + LaTeXType Environment + LaTeXName IEEEbiography + Category BackMatter + OptionalArgs 1 + Align Block TextFont - Shape Up - Size Small - EndFont - LabelFont - Shape Smallcaps - Size Normal + Size Small EndFont End -## -## stdlayouts -## -Input stdlayouts.inc -Style Caption - LabelFont - Series Medium - EndFont +Style Biography_without_photo + CopyStyle Biography + LaTeXName IEEEbiographynophoto + OptionalArgs 0 End -Style Footernote - Margin Static - LatexType Command - InTitle 0 - LatexName footernote - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Center - AlignPossible Block, Left, Right, Center - LabelType Static - LabelString "Footernote" - # label font definition - TextFont - Shape Up - Size Small +Style BiographyNoPhoto + ObsoletedBy Biography_without_photo +End + + +Style Proof + Category Theorem + Margin First_Dynamic + LatexType Environment + LatexName IEEEproof + NextNoIndent 1 + OptionalArgs 1 + LabelSep xx + ParIndent MMM + ParSkip 0.4 + ItemSep 0.2 + TopSep 0.7 + BottomSep 0.7 + ParSep 0.3 + Align Block + AlignPossible Block, Left + LabelType Static + LabelString "Proof." + EndLabelType Filled_Box + Font + Shape Up + Size Normal EndFont LabelFont - Shape Italic - Size Small + Shape Italic EndFont End -## -## Others -## -Input lyxmacros.inc -Input obsolete.inc