]> 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 faf7d03fc9c44ae0dca678b83a1410013982915b..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
 # Version 3  2006-04-09  -  Updated for LyX 1.4.0; all environments defined by
 #                           ijmpd are now supported by LyX.
 
-Format 4
+Format 34
 
 Input stdclass.inc
 Input numarticle.inc
 
 NoStyle Chapter
+NoCounter chapter
 NoStyle Chapter*
 NoStyle Part
+NoCounter part
 NoStyle Verse
 
 Sides                   1
@@ -35,7 +37,6 @@ End
 
 Style Title
        Align                 Center
-       AlignPossible         Center
        TextFont
          Size                Large
        EndFont
@@ -43,7 +44,6 @@ End
 
 Style Author
        Align                 Center
-       AlignPossible         Center
        TextFont
          Series              Medium
          Size                Normal
@@ -57,7 +57,6 @@ Style Address
        ParSkip               0.4
        BottomSep             0.4
        Align                 Center
-       AlignPossible         Center
        LabelType             No_Label
        TextFont
          Series              Medium
@@ -70,7 +69,6 @@ Style Abstract
        LatexType             Environment
        ParIndent             ""
        Align                 Block
-       AlignPossible         Block
        LabelType             No_Label
        TextFont
          Size                Small
@@ -94,15 +92,14 @@ End
 
 Style Section
        Align                 Block
-       AlignPossible         Block
        Font
          Size                Normal
        EndFont
+       TocLevel 1
 End
 
 Style Section*
        Align                 Block
-       AlignPossible         Block
        Font
          Size                Normal
        EndFont
@@ -110,16 +107,15 @@ End
 
 Style Subsection
        Align                 Block
-       AlignPossible         Block
        TextFont
          Shape               Italic
          Size                Normal
        EndFont
+       TocLevel 2
 End
 
 Style Subsubsection
        Align                 Block
-       AlignPossible         Block
        LabelFont
          Series              Medium
        EndFont
@@ -128,12 +124,13 @@ Style Subsubsection
          Shape               Italic
          Size                Normal
        EndFont
+       TocLevel 3
 End
 
-Counter
-       Name                  definition
+Counter definition
        Within                section
 End
+
 Style Definition
        LatexType             Environment
        LatexName             definition
@@ -141,10 +138,9 @@ Style Definition
        TopSep                0.6
        BottomSep             0.6
        Align                 Block
-       AlignPossible         Block
        LabelType             Counter
        LabelCounter          definition
-       LabelString           "Definition @Section@.\arabic{definition}."
+       LabelString           "Definition \thedefinition."
        LabelSep              M
        NextNoIndent          1
        LabelFont
@@ -152,57 +148,52 @@ Style Definition
        EndFont
 End
 
-Counter
-       Name                  step
+Counter step
 End
 Style Step
         CopyStyle             Definition
        LatexName             step
        LabelCounter          step
-       LabelString           "Step \arabic{step}."
+       LabelString           "Step \thestep."
        LabelFont
          Series              Bold
        EndFont
 End
 
-Counter
-       Name                  example
+Counter example
        Within                section
 End
 Style Example
         CopyStyle             Definition
        LatexName             example
        LabelCounter          example
-       LabelString           "Example @Section@.\arabic{example}."
+       LabelString           "Example \theexample."
 End
 
-Counter
-       Name                  remark
+Counter remark
        Within                section
 End
 Style Remark
         CopyStyle             Definition
        LatexName             remark
        LabelCounter          remark
-       LabelString           "Remark @Section@.\arabic{remark}."
+       LabelString           "Remark \theremark."
 End
 
-Counter
-       Name                  notation
+Counter notation
        Within                section
 End
 Style Notation
         CopyStyle             Definition
        LatexName             notation
        LabelCounter          notation
-       LabelString           "Notation @Section@.\arabic{notation}."
+       LabelString           "Notation \thenotation."
        LabelFont
          Series              Medium
        EndFont
 End
 
-Counter
-       Name                  theorem
+Counter theorem
        Within                section
 End
 Style Theorem
@@ -212,11 +203,10 @@ Style Theorem
        TopSep                0.6
        BottomSep             0.6
        Align                 Block
-       AlignPossible         Block
        NextNoIndent          1
        LabelType             Counter
        LabelCounter          theorem
-       LabelString           "Theorem @Section@.\arabic{theorem}."
+       LabelString           "Theorem \thetheorem."
        LabelSep              M
        LabelFont
          Series              Bold
@@ -231,7 +221,6 @@ Style Proof
        TopSep                0.6
        BottomSep             0.6
        Align                 Block
-       AlignPossible         Block
        LabelType             Static
        LabelString           "Proof."
        LabelSep              M
@@ -241,84 +230,77 @@ Style Proof
        EndLabelType          Box
 End
 
-Counter
-       Name                  corollary
+Counter corollary
        Within                section
 End
 Style Corollary
         CopyStyle             Theorem
        LatexName             corollary
        LabelCounter          corollary
-       LabelString           "Corollary @Section@.\arabic{corollary}."
+       LabelString           "Corollary \thecorollary."
        TextFont
          Shape               Italic
        EndFont
 End
 
-Counter
-       Name                  lemma
+Counter lemma
        Within                section
 End
 Style Lemma
         CopyStyle             Corollary
        LatexName             lemma
        LabelCounter          lemma
-       LabelString           "Lemma @Section@.\arabic{lemma}."
+       LabelString           "Lemma \thelemma."
 End
 
-Counter
-       Name                  proposition
+Counter proposition
        Within                section
 End
 Style Proposition
         CopyStyle             Corollary
        LatexName             proposition
        LabelCounter          proposition
-       LabelString           "Proposition @Section@.\arabic{proposition}."
+       LabelString           "Proposition \theproposition."
 End
 
-Counter
-       Name                  prop
+Counter prop
        Within                section
 End
 Style Prop
         CopyStyle             Notation
        LatexName             prop
        LabelCounter          prop
-       LabelString           "Prop @Section@.\arabic{prop}."
+       LabelString           "Prop \theprop."
 End
 
-Counter
-       Name                  question
+Counter question
        Within                section
 End
 Style Question
         CopyStyle             Notation
        LatexName             question
        LabelCounter          question
-       LabelString           "Question @Section@.\arabic{question}."
+       LabelString           "Question \thequestion."
 End
 
-Counter
-       Name                  claim
+Counter claim
        Within                section
 End
 Style Claim
         CopyStyle             Notation
        LatexName             claim
        LabelCounter          claim
-       LabelString           "Claim @Section@.\arabic{claim}."
+       LabelString           "Claim \theclaim."
 End
 
-Counter
-       Name                  conjecture
+Counter conjecture
        Within                section
 End
 Style Conjecture
         CopyStyle             Notation
        LatexName             conjecture
        LabelCounter          conjecture
-       LabelString           "Conjecture @Section@.\arabic{conjecture}."
+       LabelString           "Conjecture \theconjecture."
 End
 
 Style Appendices_Section
@@ -329,7 +311,6 @@ Style Appendices_Section
        TopSep                0.6
        BottomSep             0
        Align                 Block
-       AlignPossible         Block
        LabelType             Centered_Top_Environment
        LabelString           "--- Appendices ---"
        Font
@@ -339,8 +320,7 @@ Style Appendices_Section
        EndFont
 End
 
-Counter
-       Name                  appendix
+Counter appendix
        Within                section
 End
 Style Appendix
@@ -350,7 +330,6 @@ Style Appendix
        BottomSep             0.6
        Margin                First_Dynamic
        Align                 Block
-       AlignPossible         Block
        NextNoIndent          1
        LabelType             Counter
        LabelCounter          appendix
@@ -368,8 +347,9 @@ End
 
 Style Bibliography
        Align                 Block
-       AlignPossible         Block
        LabelFont
          Size                Normal
        EndFont
 End
+
+Input theorems-refprefix.inc