]> 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 51fa85ea02a40c5d0ddcebb15f4f2279f3957ebc..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 5
+Format 34
 
 Input stdclass.inc
 Input numarticle.inc
 
 NoStyle Chapter
+NoCounter chapter
 NoStyle Chapter*
 NoStyle Part
+NoCounter part
 NoStyle Verse
 
 Sides                   1
@@ -93,6 +95,7 @@ Style Section
        Font
          Size                Normal
        EndFont
+       TocLevel 1
 End
 
 Style Section*
@@ -108,6 +111,7 @@ Style Subsection
          Shape               Italic
          Size                Normal
        EndFont
+       TocLevel 2
 End
 
 Style Subsubsection
@@ -120,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
@@ -135,7 +140,7 @@ Style Definition
        Align                 Block
        LabelType             Counter
        LabelCounter          definition
-       LabelString           "Definition @Section@.\arabic{definition}."
+       LabelString           "Definition \thedefinition."
        LabelSep              M
        NextNoIndent          1
        LabelFont
@@ -143,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
@@ -206,7 +206,7 @@ Style Theorem
        NextNoIndent          1
        LabelType             Counter
        LabelCounter          theorem
-       LabelString           "Theorem @Section@.\arabic{theorem}."
+       LabelString           "Theorem \thetheorem."
        LabelSep              M
        LabelFont
          Series              Bold
@@ -230,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
@@ -327,8 +320,7 @@ Style Appendices_Section
        EndFont
 End
 
-Counter
-       Name                  appendix
+Counter appendix
        Within                section
 End
 Style Appendix
@@ -359,3 +351,5 @@ Style Bibliography
          Size                Normal
        EndFont
 End
+
+Input theorems-refprefix.inc