]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/ijmpd.layout
acmsiggraph.layout: revert c1e0b243 partly
[lyx.git] / lib / layouts / ijmpd.layout
index c4eacd0cb4655568db0ae8de4f488311078e8cd1..12f5878c8a89c3bfb52fb18c1adbe37e0ba010c7 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 35
+Format 59
 
 Sides          1
 Columns                1
@@ -25,6 +26,7 @@ TocDepth      3
 DefaultStyle   Standard
 
 Style Standard
+  Category      MainText
   Margin       Static
   LatexType    Paragraph
   LatexName    dummy
@@ -44,6 +46,18 @@ Input stdlayouts.inc
 Input lyxmacros.inc
 
 ProvidesModule theorems-std
+Input theorems-without-preamble.inc
+NoStyle Fact
+NoStyle Note
+NoStyle Problem
+NoStyle Solution
+NoStyle Prob
+NoStyle Sol
+NoStyle Exercise
+NoStyle Example
+NoStyle Definition
+NoStyle Case
+NoStyle Property
 
 NoStyle Chapter
 NoCounter chapter
@@ -59,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
@@ -95,7 +115,7 @@ Style Title
   LatexName    title
   Category     FrontMatter
   InTitle      1
-  OptionalArgs 0
+  ResetArgs     1
   ParSkip      0.4
   ItemSep      0
   TopSep       0
@@ -113,7 +133,6 @@ Style Author
   LatexType    Command
   Category     FrontMatter
   InTitle      1
-  OptionalArgs 1
   LatexName    author
   LabelSep     xxx
   ParSkip      0.4
@@ -156,6 +175,7 @@ InsetLayout Flex:Received
     Color      green
     Size       Small
   EndFont
+       ResetsFont true
 End
 
 InsetLayout Flex:Revised
@@ -173,6 +193,7 @@ InsetLayout Flex:Revised
     Color      green
     Size       Small
   EndFont
+       ResetsFont true
 End
 
 InsetLayout Flex:Comby
@@ -190,6 +211,7 @@ InsetLayout Flex:Comby
     Color      green
     Size       Small
   EndFont
+       ResetsFont true
 End
 
 Style Abstract
@@ -240,6 +262,7 @@ InsetLayout Flex:TableCaption
     Color      green
     Size       Small
   EndFont
+       ResetsFont true
 End
 
 InsetLayout Flex:Refcite
@@ -257,6 +280,7 @@ InsetLayout Flex:Refcite
     Color      green
     Size       Small
   EndFont
+       ResetsFont true
 End
 
 Style ItemList
@@ -265,6 +289,7 @@ Style ItemList
   LatexType    Item_Environment
   LatexName    itemlist
   NextNoIndent 1
+  ToggleIndent Never
   LeftMargin   MMN
   LabelSep     xx
   ItemSep      0.2
@@ -274,7 +299,6 @@ Style ItemList
   Align                Block
   AlignPossible        Block, Left
   LabelType    Itemize
-  LabelString  "*"
   HTMLTag      ul
   HTMLItem     li
   HTMLLabel    NONE
@@ -285,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
@@ -304,129 +331,105 @@ Style RomanList
   RefPrefix    enu
 End
 
-Counter remark
-  Within       section
-End
-Style Remark
-  LatexName    remark
-  Category     Theorem
-  LabelCounter remark
-  LabelString  "Remark \theremark."
+Style Proof
   LatexType    Environment
+  LatexName    proof
+  Category     Reasoning
   Margin       First_Dynamic
   TopSep       0.6
   BottomSep    0.6
-  Align                Block
-  LabelType    Counter
+  Align        Block
+  LabelType    Static
+  LabelString  "Proof:"
   LabelSep     M
-  NextNoIndent 1
   LabelFont
    Series      Bold
   EndFont
+  LabelFont
+   Series      Bold
+  EndFont
+  EndLabelType Box
 End
 
 Counter theorem
   Within       section
 End
 Style Theorem
-  LatexType    Environment
-  LatexName    theorem
-  Category     Theorem
-  Margin       First_Dynamic
-  TopSep       0.6
-  BottomSep    0.6
-  Align                Block
-  NextNoIndent 1
-  LabelType    Counter
-  LabelCounter theorem
+  ResetArgs      1
   LabelString  "Theorem \thetheorem."
-  LabelSep     M
+  Font
+   Shape       Up
+  EndFont
   LabelFont
    Series      Bold
   EndFont
 End
 
-Style Proof
-  LatexType    Environment
-  LatexName    proof
-  Category     Theorem
-  Margin       First_Dynamic
-  TopSep       0.6
-  BottomSep    0.6
-  Align        Block
-  LabelType    Static
-  LabelString  "Proof:"
-  LabelSep     M
-  LabelFont
-   Series      Bold
-  EndFont
+Counter remark
+  Within       section
+End
+Style Remark
+  LabelString  "Remark \theremark."
   LabelFont
    Series      Bold
+   Shape       Up
   EndFont
-  EndLabelType Box
 End
 
 Counter corollary
+  Within       section
 End
 Style Corollary
-  CopyStyle    Theorem
-  LatexName    corollary
-  LabelCounter corollary
   LabelString  "Corollary \thecorollary."
 End
 
 Counter lemma
+  Within       section
 End
 Style Lemma
-  CopyStyle    Theorem
-  LatexName    lemma
-  LabelCounter lemma
   LabelString  "Lemma \thelemma."
 End
 
 Counter proposition
+  Within       section
 End
 Style Proposition
-  CopyStyle    Theorem
-  LatexName    proposition
-  LabelCounter proposition
   LabelString  "Proposition \theproposition."
 End
 
-Counter prop
-End
-Style Prop
-  CopyStyle    Theorem
-  LatexName    prop
-  LabelCounter prop
-  LabelString  "Prop \theprop."
-End
-
 Counter question
+  Within       section
 End
 Style Question
-  CopyStyle    Theorem
-  LatexName    question
-  LabelCounter question
   LabelString  "Question \thequestion."
+  LabelFont
+   Shape       Up
+  EndFont
 End
 
 Counter claim
+  Within       section
 End
 Style Claim
-  CopyStyle    Theorem
-  LatexName    claim
   LabelCounter claim
   LabelString  "Claim \theclaim."
+  LabelFont
+   Shape       Up
+  EndFont
 End
 
 Counter conjecture
+  Within       section
 End
 Style Conjecture
-  CopyStyle    Theorem
-  LatexName    conjecture
-  LabelCounter conjecture
   LabelString  "Conjecture \theconjecture."
+  LabelFont
+   Shape       Up
+  EndFont
+End
+
+Counter prop
+  Within       section
 End
 
 Counter appendix
@@ -440,7 +443,7 @@ Style Appendix
   Margin       First_Dynamic
   Align        Block
   NextNoIndent 1
-  LabelType    Counter
+  LabelType    Static
   LabelCounter appendix
   LabelString  "Appendix \Alph{appendix}."
   LabelSep     M
@@ -460,6 +463,7 @@ Style Bibliography
   LatexName    thebibliography
   Category     BackMatter
   NextNoIndent 1
+  ToggleIndent Never
   LeftMargin   MM
   ParSkip      0.4
   ItemSep      0