]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/ijmpc.layout
Add NeedMBoxProtect [inset]layout option
[lyx.git] / lib / layouts / ijmpc.layout
index aa85dbf84d747e27c6e1f6e415c6b875cad125fa..bd3941576a3c1c9bca4efea40d968044f6026b7b 100644 (file)
@@ -12,7 +12,7 @@
 # Author: Uwe Stöhr (uwestoehr@web.de)
 
 
-Format 40
+Format 70
 
 Sides          1
 Columns                1
@@ -21,6 +21,7 @@ TocDepth      3
 DefaultStyle   Standard
 
 Style Standard
+  Category      MainText
   Margin       Static
   LatexType    Paragraph
   LatexName    dummy
@@ -67,6 +68,12 @@ Style MarkBoth
   Category     FrontMatter
   InTitle      1
   Align                Center
+  Argument 1
+    Mandatory  1
+    AutoInsert 1
+    LabelString        "Author Names"
+    Tooltip    "Author names that will appear in the header line"
+  EndArgument
   Font
     Size       Small
   EndFont
@@ -121,10 +128,6 @@ Style Author
   LatexType    Command
   Category     FrontMatter
   InTitle      1
-  Argument 1
-       LabelString   "Author Option"
-       Tooltip       "Optional argument for author"
-  EndArgument
   LatexName    author
   LabelSep     xxx
   ParSkip      0.4
@@ -182,6 +185,7 @@ InsetLayout Flex:Received
     Color      green
     Size       Small
   EndFont
+       ResetsFont true
 End
 
 InsetLayout Flex:Revised
@@ -199,6 +203,7 @@ InsetLayout Flex:Revised
     Color      green
     Size       Small
   EndFont
+       ResetsFont true
 End
 
 Style Abstract
@@ -229,6 +234,7 @@ InsetLayout Flex:Keywords
     Color      green
     Size       Small
   EndFont
+       ResetsFont true
 End
 
 Style Classification_Codes
@@ -253,6 +259,7 @@ InsetLayout Flex:TableCaption
     Color      green
     Size       Small
   EndFont
+       ResetsFont true
 End
 
 InsetLayout Flex:Refcite
@@ -270,6 +277,7 @@ InsetLayout Flex:Refcite
     Color      green
     Size       Small
   EndFont
+       ResetsFont true
 End
 
 Style ItemList
@@ -277,7 +285,18 @@ Style ItemList
   Margin       Static
   LatexType    Item_Environment
   LatexName    itemlist
+  Argument listpreamble:1
+    LabelString    "List preamble"
+    MenuString     "List Preamble"
+    Tooltip        "LaTeX code to be inserted before the first item"
+    PassThru       1
+    Font
+      Family typewriter
+      Color latex
+    EndFont
+  EndArgument
   NextNoIndent 1
+  ToggleIndent Never
   LeftMargin   MMN
   LabelSep     xx
   ItemSep      0.2
@@ -298,8 +317,19 @@ Style RomanList
   LatexType    Item_Environment
   LatexName    romanlist
   Argument 1
-       LabelString   "RomanList Option"
-       Tooltip       "Optional argument for RomanList"
+    LabelString        "Numbering Scheme"
+    Tooltip    "Use the largest item number in your list, e.g. '(iv)' for 4 Roman numbered items"
+    PassThru   1
+  EndArgument
+  Argument listpreamble:1
+    LabelString    "List preamble"
+    MenuString     "List Preamble"
+    Tooltip        "LaTeX code to be inserted before the first item"
+    PassThru       1
+    Font
+      Family typewriter
+      Color latex
+    EndFont
   EndArgument
   NextNoIndent 1
   LeftMargin   MMN
@@ -322,7 +352,7 @@ End
 Style Proof
   LatexType    Environment
   LatexName    proof
-  Category     Theorem
+  Category     Reasoning
   Margin       First_Dynamic
   TopSep       0.6
   BottomSep    0.6
@@ -421,7 +451,7 @@ Style Appendix
   Margin       First_Dynamic
   Align        Block
   NextNoIndent 1
-  LabelType    Counter
+  LabelType    Static
   LabelCounter appendix
   LabelString  "Appendix \Alph{appendix}."
   LabelSep     M
@@ -441,6 +471,7 @@ Style Bibliography
   LatexName    thebibliography
   Category     BackMatter
   NextNoIndent 1
+  ToggleIndent Never
   LeftMargin   MM
   ParSkip      0.4
   ItemSep      0
@@ -456,4 +487,16 @@ 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