X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2FIEEEtran.layout;h=8a6aaa20484578780703aca1998957ed88f8644e;hb=edaf28fdd6a64ce277a1c5f39d99a6568485887f;hp=0ce9fc6f0e6289d3ac0562cb0319ccb197ce2b53;hpb=4202d90c7ed7830d073371eae277338351edbe8e;p=lyx.git diff --git a/lib/layouts/IEEEtran.layout b/lib/layouts/IEEEtran.layout index 0ce9fc6f0e..8a6aaa2048 100644 --- a/lib/layouts/IEEEtran.layout +++ b/lib/layouts/IEEEtran.layout @@ -9,7 +9,7 @@ # IEEtran textclass definition file. -Format 41 +Format 100 Sides 1 SecNumDepth 3 @@ -33,6 +33,7 @@ EndFont Style Standard + Category MainText Margin Static LatexType Paragraph LatexName dummy @@ -41,9 +42,11 @@ Style Standard Align Block AlignPossible Block, Left, Right, Center LabelType No_Label + DocBookTag para End Counter theorem + GuiName Theorem End Input stdcounters.inc @@ -79,12 +82,16 @@ Style Title Font Size Largest EndFont + DocBookTag title + DocBookTagType paragraph + DocBookInInfo maybe End InsetLayout Flex:IEEE_membership LyxType custom LatexType command + ForcePlain 1 LatexName IEEEmembership LabelString "IEEE membership" Font @@ -95,9 +102,10 @@ InsetLayout Flex:IEEE_membership Misc No_Bar EndFont LabelFont - Color green + Color textlabel2 Size Small EndFont + ResetsFont true End @@ -120,6 +128,7 @@ Style Author Argument 1 LabelString "Short Author|S" Tooltip "A short version of the author name" + InsertCotext 1 EndArgument LatexName author LabelSep xxx @@ -132,6 +141,67 @@ Style Author Font Size Large EndFont + DocBookTag personname + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperTagType inline + DocBookInInfo always +End + + +InsetLayout Flex:Author_Name + LyxType custom + LatexType command + Decoration Classic + ForcePlain 1 + LaTeXName IEEEauthorblockN + LabelString "Author name" + Font + Size Large + EndFont + LabelFont + Color textlabel1 + Size Small + EndFont + ResetsFont true +End + + +InsetLayout Flex:Author_Affiliation + CopyStyle Flex:Author_Name + LaTeXName IEEEauthorblockA + LabelString "Author affiliation" + Font + Size Normal + EndFont + LabelFont + Color textlabel1 + Size Small + EndFont +End + + +InsetLayout Flex:Author_Mark + LyxType custom + LatexType command + ForcePlain 1 + LatexName IEEEauthorrefmark + LabelString "Author mark" + Font + Color foreground + Size Small + Family Roman + Shape Up + Series Medium + Misc No_Emph + Misc No_Noun + Misc No_Bar + EndFont + LabelFont + Color latex + Size Small + EndFont + ResetsFont true End @@ -143,6 +213,7 @@ Style Special_Paper_Notice Shape Italic Size Large EndFont + DocBookTag subtitle End @@ -153,6 +224,10 @@ Style After_Title_Text Shape Up Size Normal EndFont + DocBookTag para + DocBookWrapperTag dedication + DocBookWrapperAttr role='IEEEaftertitletext' + DocBookInInfo always End @@ -162,6 +237,12 @@ Style Page_headings Category FrontMatter InTitle 1 Align Center + Argument 1 + Mandatory 1 + AutoInsert 1 + LabelString "Left Side" + Tooltip "Left side of the header line" + EndArgument Font Size Small EndFont @@ -171,6 +252,8 @@ Style Page_headings \DeclareRobustCommand{\foreign@language}[1]{% \lowercase{\oldforeign@language{#1}}} EndPreamble + DocBookTag titleabbrev + DocBookInInfo maybe End @@ -186,6 +269,8 @@ Style Publication_ID Shape Up Size Small EndFont + DocBookTag releaseinfo + DocBookInInfo always End @@ -208,6 +293,11 @@ Style Abstract Series Bold Size Small EndFont + DocBookAbstract true + DocBookInInfo always + DocBookWrapperTag abstract + DocBookWrapperMergeWithPrevious true + DocBookTag para End @@ -215,6 +305,29 @@ Style Keywords CopyStyle Abstract LatexName IEEEkeywords LabelString "Index Terms---" + DocBookTag keyword + DocBookTagType paragraph + DocBookWrapperTag keywordset + DocBookInInfo always + DocBookAbstract false +End + + +InsetLayout Flex:Paragraph_Start + LyxType custom + LatexType command + LaTeXName IEEEPARstart + LabelString "Paragraph Start" + Argument 1 + Mandatory 1 + AutoInsert 1 + LabelString "First Char" + Tooltip "First character of first word" + EndArgument + Font + Size Small + EndFont + ResetsFont true End @@ -231,10 +344,20 @@ Style Appendices LabelString "Appendices" LabelFont Series Bold - Color Green + Color textlabel2 EndFont End + +Style Peer_Review_Title + CopyStyle Appendices + LatexName IEEEpeerreviewmaketitle + Category FrontMatter + TopSep 1 + LabelString "PeerReviewTitle" +End + + Style Appendix CopyStyle Appendices LatexName appendix @@ -242,6 +365,7 @@ Style Appendix Argument 1 LabelString "Short Title" Tooltip "Short title for the appendix" + InsertCotext 1 EndArgument End @@ -252,6 +376,7 @@ Style Bibliography LatexName thebibliography Category BackMatter NextNoIndent 1 + ToggleIndent Never LeftMargin MM ParSkip 0.4 ItemSep 0 @@ -267,6 +392,18 @@ Style Bibliography Series Bold Size Larger EndFont + TocLevel 1 + IsTocCaption 0 + Argument listpreamble:1 + LabelString "Bib preamble" + MenuString "Bibliography Preamble" + Tooltip "LaTeX code to be inserted before the first bibliography item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument End @@ -278,6 +415,12 @@ Style Biography LabelString "Photo" Tooltip "Optional photo for biography" EndArgument + Argument 2 + Mandatory 1 + AutoInsert 1 + LabelString "Name" + Tooltip "Name of the author" + EndArgument Align Block TextFont Size Small @@ -289,6 +432,12 @@ Style Biography_without_photo CopyStyle Biography LaTeXName IEEEbiographynophoto ResetArgs 1 + Argument 1 + Mandatory 1 + AutoInsert 1 + LabelString "Name" + Tooltip "Name of the author" + EndArgument End Style BiographyNoPhoto @@ -297,7 +446,7 @@ End Style Proof - Category Theorem + Category Reasoning Margin First_Dynamic LatexType Environment LatexName IEEEproof @@ -325,4 +474,6 @@ Style Proof LabelFont Shape Italic EndFont + DocBookTag para + DocBookAttr role='proof' End