]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/IEEEtran.layout
Update layouts
[lyx.git] / lib / layouts / IEEEtran.layout
index 9917b91130a020160aaceb17c284cfa43587eac8..a0de71000c10c600470583fc8003021b50c53d91 100644 (file)
@@ -9,9 +9,9 @@
 # IEEtran textclass definition file.
 
 
-Format 41
+Format 59
 
-Sides  1
+Sides          1
 SecNumDepth    3
 TocDepth       3
 DefaultStyle   Standard
@@ -33,13 +33,14 @@ EndFont
 
 
 Style Standard
+  Category     MainText
   Margin       Static
   LatexType    Paragraph
   LatexName    dummy
   ParIndent    MM
   ParSkip      0.4
   Align                Block
-  AlignPossible Block, Left, Right, Center
+  AlignPossible        Block, Left, Right, Center
   LabelType    No_Label
 End
 
@@ -85,6 +86,7 @@ End
 InsetLayout Flex:IEEE_membership
   LyxType      custom
   LatexType    command
+  ForcePlain   1
   LatexName    IEEEmembership
   LabelString  "IEEE membership"
   Font
@@ -98,6 +100,7 @@ InsetLayout Flex:IEEE_membership
     Color      green
     Size       Small
   EndFont
+       ResetsFont true
 End
 
 
@@ -120,6 +123,7 @@ Style Author
   Argument 1
     LabelString        "Short Author|S"
     Tooltip    "A short version of the author name"
+    InsertCotext 1
   EndArgument
   LatexName    author
   LabelSep     xxx
@@ -135,6 +139,62 @@ Style Author
 End
 
 
+InsetLayout Flex:Author_Name
+  LyxType      custom
+  LatexType    command
+  Decoration   Classic
+  ForcePlain   1
+  LaTeXName    IEEEauthorblockN
+  LabelString  "Author name"
+  Font
+    Size       Large
+  EndFont
+  LabelFont
+    Color      blue
+    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      blue
+    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
+
+
 Style Special_Paper_Notice
   CopyStyle    Title
   LatexName    IEEEspecialpapernotice
@@ -162,6 +222,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
@@ -218,6 +284,24 @@ Style Keywords
 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
+
+
 Style Appendices
   Margin       Dynamic
   LatexType    Command
@@ -235,14 +319,25 @@ Style Appendices
   EndFont
 End
 
+
+Style Peer_Review_Title
+  CopyStyle    Appendices
+  LatexName    IEEEpeerreviewmaketitle
+  Category     FrontMatter
+  TopSep       1
+  LabelString  "PeerReviewTitle"
+End
+
+
 Style Appendix
   CopyStyle    Appendices
   LatexName    appendix
   LabelString  "Appendix"
   Argument 1
-    LabelString        "Appendix Title"
-    Tooltip    "Optional title of the appendix"
- EndArgument
+    LabelString        "Short Title"
+    Tooltip    "Short title for the appendix"
+    InsertCotext 1
+  EndArgument
 End
 
 
@@ -252,6 +347,7 @@ Style Bibliography
   LatexName    thebibliography
   Category     BackMatter
   NextNoIndent 1
+  ToggleIndent Never
   LeftMargin   MM
   ParSkip      0.4
   ItemSep      0
@@ -275,8 +371,14 @@ Style Biography
   LaTeXName    IEEEbiography
   Category     BackMatter
   Argument 1
-    LabelString        "Biography Photo"
-    Tooltip    "Insert a photo to your 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
@@ -289,6 +391,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 +405,7 @@ End
 
 
 Style Proof
-  Category     Theorem
+  Category     Reasoning
   Margin       First_Dynamic
   LatexType    Environment
   LatexName    IEEEproof
@@ -314,10 +422,10 @@ Style Proof
   BottomSep    0.7
   ParSep       0.3
   Align                Block
-  AlignPossible Block, Left
-  LabelType    Static
-  LabelString  "Proof."
-  EndLabelType Filled_Box
+  AlignPossible        Block, Left
+  LabelType    Static
+  LabelString  "Proof."
+  EndLabelType Filled_Box
   Font
     Shape      Up
     Size       Normal