]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/ijmpd.layout
Better TOC output for XHTML, per Rob and Pavel.
[lyx.git] / lib / layouts / ijmpd.layout
index 92620660ad2bf1d5396cd2a68a59f93894ddedd7..bb2175ece2a0937915b110bf2d18234c61d90d62 100644 (file)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[ws-ijmpd]{article (ijmpd)}
+#  \DeclareLaTeXClass[ws-ijmpd,amsmath.sty,amssymb.sty,rotating.sty]{article (IJMPD)}
 #
 # Textclass definition file for ws-ijmpd.cls
 # For publications in the International Journal of Modern Physics D
@@ -9,49 +9,47 @@
 #
 # Version 1  2002-09-24  -  First version from scratch.
 # Version 2  2003-03-03  -  Updated for LyX 1.3.0.
+# Version 3  2006-04-09  -  Updated for LyX 1.4.0; all environments defined by
+#                           ijmpd are now supported by LyX.
 
+Format 34
 
-Format 2
 Input stdclass.inc
 Input numarticle.inc
 
 NoStyle Chapter
+NoCounter chapter
 NoStyle Chapter*
 NoStyle Part
+NoCounter part
 NoStyle Verse
 
+Sides                   1
+Columns                 1
 SecNumDepth             3
-TocDepth                0
-ProvidesAmsmath         0
-ProvidesNatbib          0
-ProvidesUrl             0
-
+TocDepth                3
+DefaultStyle            Standard
 
 ClassOptions
        FontSize              ""
        PageStyle             ""
 End
 
-
 Style Title
        Align                 Center
-       AlignPossible         Center
-       Font
+       TextFont
          Size                Large
        EndFont
 End
 
-
 Style Author
        Align                 Center
-       AlignPossible         Center
-       Font
+       TextFont
          Series              Medium
          Size                Normal
        EndFont
 End
 
-
 Style Address
        LatexType             Command
        InTitle               1
@@ -59,118 +57,299 @@ Style Address
        ParSkip               0.4
        BottomSep             0.4
        Align                 Center
-       AlignPossible         Center
        LabelType             No_Label
-       Font
+       TextFont
          Series              Medium
          Shape               Italic
          Size                Normal
        EndFont
 End
 
-
 Style Abstract
        LatexType             Environment
+       ParIndent             ""
        Align                 Block
-       AlignPossible         Block
        LabelType             No_Label
-       Font
+       TextFont
          Size                Small
        EndFont
 End
 
+Style Keywords
+       CopyStyle             Abstract
+       LatexType             Command
+       LatexName             keywords
+       Margin                Dynamic
+       LabelType             Static
+       LabelString           "Keywords:"
+       LabelSep              M
+       LabelFont
+         Series              Medium
+         Shape               Italic
+         Size                Small
+       EndFont
+End
 
 Style Section
        Align                 Block
-       AlignPossible         Block
        Font
          Size                Normal
        EndFont
+       TocLevel 1
 End
 
-
 Style Section*
        Align                 Block
-       AlignPossible         Block
        Font
          Size                Normal
        EndFont
 End
 
-
 Style Subsection
        Align                 Block
-       AlignPossible         Block
-       Font
+       TextFont
          Shape               Italic
          Size                Normal
        EndFont
+       TocLevel 2
 End
 
-
 Style Subsubsection
        Align                 Block
-       AlignPossible         Block
-       Font
+       LabelFont
+         Series              Medium
+       EndFont
+       TextFont
          Series              Medium
          Shape               Italic
          Size                Normal
        EndFont
+       TocLevel 3
 End
 
+Counter definition
+       Within                section
+End
+
+Style Definition
+       LatexType             Environment
+       LatexName             definition
+       Margin                First_Dynamic
+       TopSep                0.6
+       BottomSep             0.6
+       Align                 Block
+       LabelType             Counter
+       LabelCounter          definition
+       LabelString           "Definition \thedefinition."
+       LabelSep              M
+       NextNoIndent          1
+       LabelFont
+         Series              Bold
+       EndFont
+End
+
+Counter step
+End
+Style Step
+        CopyStyle             Definition
+       LatexName             step
+       LabelCounter          step
+       LabelString           "Step \thestep."
+       LabelFont
+         Series              Bold
+       EndFont
+End
+
+Counter example
+       Within                section
+End
+Style Example
+        CopyStyle             Definition
+       LatexName             example
+       LabelCounter          example
+       LabelString           "Example \theexample."
+End
+
+Counter remark
+       Within                section
+End
+Style Remark
+        CopyStyle             Definition
+       LatexName             remark
+       LabelCounter          remark
+       LabelString           "Remark \theremark."
+End
+
+Counter notation
+       Within                section
+End
+Style Notation
+        CopyStyle             Definition
+       LatexName             notation
+       LabelCounter          notation
+       LabelString           "Notation \thenotation."
+       LabelFont
+         Series              Medium
+       EndFont
+End
 
+Counter theorem
+       Within                section
+End
 Style Theorem
        LatexType             Environment
        LatexName             theorem
        Margin                First_Dynamic
+       TopSep                0.6
+       BottomSep             0.6
        Align                 Block
-       AlignPossible         Block
-       LabelType             Static
-       LabelString           "Theorem:"
+       NextNoIndent          1
+       LabelType             Counter
+       LabelCounter          theorem
+       LabelString           "Theorem \thetheorem."
        LabelSep              M
        LabelFont
          Series              Bold
-         Size                Normal
+         Shape               Up
        EndFont
 End
 
-
 Style Proof
        LatexType             Environment
        LatexName             proof
        Margin                First_Dynamic
+       TopSep                0.6
+       BottomSep             0.6
        Align                 Block
-       AlignPossible         Block
        LabelType             Static
-       LabelString           "Proof:"
+       LabelString           "Proof."
        LabelSep              M
        LabelFont
          Series              Bold
-         Size                Normal
        EndFont
+       EndLabelType          Box
 End
 
-
-Style Bibliography
-       Align                 Block
-       AlignPossible         Block
-       LabelFont
-         Size                Normal
+Counter corollary
+       Within                section
+End
+Style Corollary
+        CopyStyle             Theorem
+       LatexName             corollary
+       LabelCounter          corollary
+       LabelString           "Corollary \thecorollary."
+       TextFont
+         Shape               Italic
        EndFont
 End
 
+Counter lemma
+       Within                section
+End
+Style Lemma
+        CopyStyle             Corollary
+       LatexName             lemma
+       LabelCounter          lemma
+       LabelString           "Lemma \thelemma."
+End
 
-Style Appendix
+Counter proposition
+       Within                section
+End
+Style Proposition
+        CopyStyle             Corollary
+       LatexName             proposition
+       LabelCounter          proposition
+       LabelString           "Proposition \theproposition."
+End
+
+Counter prop
+       Within                section
+End
+Style Prop
+        CopyStyle             Notation
+       LatexName             prop
+       LabelCounter          prop
+       LabelString           "Prop \theprop."
+End
+
+Counter question
+       Within                section
+End
+Style Question
+        CopyStyle             Notation
+       LatexName             question
+       LabelCounter          question
+       LabelString           "Question \thequestion."
+End
+
+Counter claim
+       Within                section
+End
+Style Claim
+        CopyStyle             Notation
+       LatexName             claim
+       LabelCounter          claim
+       LabelString           "Claim \theclaim."
+End
+
+Counter conjecture
+       Within                section
+End
+Style Conjecture
+        CopyStyle             Notation
+       LatexName             conjecture
+       LabelCounter          conjecture
+       LabelString           "Conjecture \theconjecture."
+End
+
+Style Appendices_Section
        Margin                Static
        LatexType             Command
        LatexName             appendix
        KeepEmpty             1
+       TopSep                0.6
+       BottomSep             0
        Align                 Block
-       AlignPossible         Block
        LabelType             Centered_Top_Environment
-       LabelString           "Appendix"
+       LabelString           "--- Appendices ---"
        Font
          Series              Bold
          Size                Normal
+         Color               Blue
+       EndFont
+End
+
+Counter appendix
+       Within                section
+End
+Style Appendix
+       LatexType             Command
+       LatexName             section
+       TopSep                0.6
+       BottomSep             0.6
+       Margin                First_Dynamic
+       Align                 Block
+       NextNoIndent          1
+       LabelType             Counter
+       LabelCounter          appendix
+       LabelString           "Appendix \Alph{appendix}."
+       LabelSep              M
+       LabelFont
+         Series              Bold
+         Shape               Up
+         Size                Normal
+       EndFont
+       TextFont
+         Series              Bold
        EndFont
 End
+
+Style Bibliography
+       Align                 Block
+       LabelFont
+         Size                Normal
+       EndFont
+End
+
+Input theorems-refprefix.inc