]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/ijmpd.layout
Add layout tag that determines if/when a paragraph can be indented.
[lyx.git] / lib / layouts / ijmpd.layout
index 758b36c0ed0dc0778bf0f39e1973458510664993..f7c5c814538d8066fa5be9577b984367b486b1fc 100644 (file)
@@ -1,5 +1,6 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[ws-ijmpd,amsmath.sty,amssymb.sty,rotating.sty]{article (IJMPD)}
+#  \DeclareLaTeXClass[ws-ijmpd,amsmath.sty,amssymb.sty,rotating.sty]{Int. Journal of Modern Physics D}
+#  \DeclareCategory{Articles}
 #
 # Textclass definition file for ws-ijmpd.cls
 # For publications in the International Journal of Modern Physics D
@@ -16,7 +17,7 @@
 # Author: Uwe Stöhr (uwestoehr@web.de)
 
 
-Format 36
+Format 49
 
 Sides          1
 Columns                1
@@ -25,6 +26,7 @@ TocDepth      3
 DefaultStyle   Standard
 
 Style Standard
+  Category      MainText
   Margin       Static
   LatexType    Paragraph
   LatexName    dummy
@@ -71,6 +73,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
@@ -107,7 +115,7 @@ Style Title
   LatexName    title
   Category     FrontMatter
   InTitle      1
-  OptionalArgs 0
+  ResetArgs     1
   ParSkip      0.4
   ItemSep      0
   TopSep       0
@@ -125,7 +133,6 @@ Style Author
   LatexType    Command
   Category     FrontMatter
   InTitle      1
-  OptionalArgs 1
   LatexName    author
   LabelSep     xxx
   ParSkip      0.4
@@ -168,6 +175,7 @@ InsetLayout Flex:Received
     Color      green
     Size       Small
   EndFont
+       ResetsFont true
 End
 
 InsetLayout Flex:Revised
@@ -185,6 +193,7 @@ InsetLayout Flex:Revised
     Color      green
     Size       Small
   EndFont
+       ResetsFont true
 End
 
 InsetLayout Flex:Comby
@@ -202,6 +211,7 @@ InsetLayout Flex:Comby
     Color      green
     Size       Small
   EndFont
+       ResetsFont true
 End
 
 Style Abstract
@@ -252,6 +262,7 @@ InsetLayout Flex:TableCaption
     Color      green
     Size       Small
   EndFont
+       ResetsFont true
 End
 
 InsetLayout Flex:Refcite
@@ -269,6 +280,7 @@ InsetLayout Flex:Refcite
     Color      green
     Size       Small
   EndFont
+       ResetsFont true
 End
 
 Style ItemList
@@ -277,6 +289,7 @@ Style ItemList
   LatexType    Item_Environment
   LatexName    itemlist
   NextNoIndent 1
+  ToggleIndent Never
   LeftMargin   MMN
   LabelSep     xx
   ItemSep      0.2
@@ -296,7 +309,10 @@ Style RomanList
   Margin       Static
   LatexType    Item_Environment
   LatexName    romanlist
-  OptionalArgs 1
+  Argument 1
+    LabelString        "Numbering Scheme"
+    Tooltip    "Use the largest item number in your list, e.g. '(iv)' for 4 Roman numbered items"
+  EndArgument
   NextNoIndent 1
   LeftMargin   MMN
   LabelSep     xx
@@ -318,7 +334,7 @@ End
 Style Proof
   LatexType    Environment
   LatexName    proof
-  Category     Theorem
+  Category     Reasoning
   Margin       First_Dynamic
   TopSep       0.6
   BottomSep    0.6
@@ -339,7 +355,7 @@ Counter theorem
   Within       section
 End
 Style Theorem
-  OptionalArgs 0
+  ResetArgs      1
   LabelString  "Theorem \thetheorem."
   Font
    Shape       Up
@@ -427,7 +443,7 @@ Style Appendix
   Margin       First_Dynamic
   Align        Block
   NextNoIndent 1
-  LabelType    Counter
+  LabelType    Static
   LabelCounter appendix
   LabelString  "Appendix \Alph{appendix}."
   LabelSep     M
@@ -447,6 +463,7 @@ Style Bibliography
   LatexName    thebibliography
   Category     BackMatter
   NextNoIndent 1
+  ToggleIndent Never
   LeftMargin   MM
   ParSkip      0.4
   ItemSep      0