X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2FIEEEtran.layout;h=cf3c5488c3cee37e695d84f5515feb5171b8c673;hb=051c5f27284f00c20e95c5732bcfb04632c7cb18;hp=9c61ef26bff612bb9d8c87e41b5801033f8beea3;hpb=534efc5139911098f5a417fce1d28813a0a1ec93;p=lyx.git diff --git a/lib/layouts/IEEEtran.layout b/lib/layouts/IEEEtran.layout index 9c61ef26bf..cf3c5488c3 100644 --- a/lib/layouts/IEEEtran.layout +++ b/lib/layouts/IEEEtran.layout @@ -9,7 +9,7 @@ # IEEtran textclass definition file. -Format 43 +Format 99 Sides 1 SecNumDepth 3 @@ -33,7 +33,7 @@ EndFont Style Standard - Category MainText + Category MainText Margin Static LatexType Paragraph LatexName dummy @@ -42,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 @@ -80,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 @@ -96,9 +102,10 @@ InsetLayout Flex:IEEE_membership Misc No_Bar EndFont LabelFont - Color green + Color textlabel2 Size Small EndFont + ResetsFont true End @@ -121,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 @@ -133,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 @@ -144,6 +213,7 @@ Style Special_Paper_Notice Shape Italic Size Large EndFont + DocBookTag subtitle End @@ -154,6 +224,10 @@ Style After_Title_Text Shape Up Size Normal EndFont + DocBookTag para + DocBookWrapperTag dedication + DocBookWrapperAttr role='IEEEaftertitletext' + DocBookInInfo always End @@ -165,6 +239,7 @@ Style Page_headings Align Center Argument 1 Mandatory 1 + AutoInsert 1 LabelString "Left Side" Tooltip "Left side of the header line" EndArgument @@ -177,6 +252,8 @@ Style Page_headings \DeclareRobustCommand{\foreign@language}[1]{% \lowercase{\oldforeign@language{#1}}} EndPreamble + DocBookTag titleabbrev + DocBookInInfo maybe End @@ -192,6 +269,8 @@ Style Publication_ID Shape Up Size Small EndFont + DocBookTag releaseinfo + DocBookInInfo always End @@ -214,6 +293,11 @@ Style Abstract Series Bold Size Small EndFont + DocBookAbstract true + DocBookInInfo always + DocBookWrapperTag abstract + DocBookWrapperMergeWithPrevious true + DocBookTag para End @@ -221,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 @@ -237,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 @@ -248,6 +365,7 @@ Style Appendix Argument 1 LabelString "Short Title" Tooltip "Short title for the appendix" + InsertCotext 1 EndArgument End @@ -258,6 +376,7 @@ Style Bibliography LatexName thebibliography Category BackMatter NextNoIndent 1 + ToggleIndent Never LeftMargin MM ParSkip 0.4 ItemSep 0 @@ -273,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 @@ -286,6 +417,7 @@ Style Biography EndArgument Argument 2 Mandatory 1 + AutoInsert 1 LabelString "Name" Tooltip "Name of the author" EndArgument @@ -302,6 +434,7 @@ Style Biography_without_photo ResetArgs 1 Argument 1 Mandatory 1 + AutoInsert 1 LabelString "Name" Tooltip "Name of the author" EndArgument @@ -313,7 +446,7 @@ End Style Proof - Category Theorem + Category Reasoning Margin First_Dynamic LatexType Environment LatexName IEEEproof @@ -341,4 +474,6 @@ Style Proof LabelFont Shape Italic EndFont + DocBookTag para + DocBookAttr role='proof' End