]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/iopart.layout
Fix several layout related problems revealed by -dbg tclass.
[lyx.git] / lib / layouts / iopart.layout
index fa0dc88617c68d984d2c220689035ac426b3dca3..afd8172874456eb7ab9950b1a8aa637c397ab1aa 100644 (file)
@@ -1,9 +1,9 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[iopart]{article (IOP)}
+#  \DeclareLaTeXClass[iopart,amsmath.sty,amssymb.sty,iopams.sty,setstack.sty]{article (IOP)}
 # IOP article textclass definition file.
 # Author: Uwe Stöhr (uwestoehr@web.de)
 
-Format 8
+Format 31
 
 Columns                 1
 Sides                   1
@@ -43,21 +43,23 @@ Style Standard
 End
 
 
+Input stdcounters.inc
+Input stdfloats.inc
 Input stdlists.inc
 Input stdsections.inc
 Input stdstarsections.inc
-Input stdinsets.inc
-
 
 NoStyle Chapter
+NoCounter chapter
 NoStyle Chapter*
 
 Style Title
        Margin                  Static
        LatexType               Command
+       LatexName               title
+       Category                FrontMatter
        InTitle                 1
        OptionalArgs            1
-       LatexName               title
        ParSkip                 0.4
        ItemSep                 0
        TopSep                  0
@@ -68,6 +70,7 @@ Style Title
        Font
          Size                  Largest
        EndFont
+       HTMLTitle             true
 End
 
 
@@ -121,19 +124,20 @@ End
 
 
 Style Author
-       Margin                Static
-       LatexType             Command
-       InTitle               1
-       LatexName             author
-       LabelSep              xxx
-       ParSkip               0.4
-       TopSep                1.3
-       BottomSep             0.7
-       ParSep                0.7
-       Align                 Center
-       LabelType             No_Label
+       Margin                  Static
+       LatexType               Command
+       LatexName               author
+       Category                FrontMatter
+       InTitle                 1
+       LabelSep                xxx
+       ParSkip                 0.4
+       TopSep                  1.3
+       BottomSep               0.7
+       ParSep                  0.7
+       Align                   Center
+       LabelType               No_Label
        Font
-         Size                Large
+         Size                  Large
        EndFont
 End
 
@@ -142,24 +146,24 @@ Style Address
        Margin                  Static
        LatexType               Command
        LatexName               address
+       Category                FrontMatter
        InTitle                 1
        ParSkip                 0.4
-       Align                   Left
-       AlignPossible           Block, Left, Right, Center
+       Align                   Center
        LabelType               No_Label
+       Font
+         Shape                 Italic
+       EndFont
 End
 
 
 Style Email
-       Margin                  Static
-       LatexType               Command
+       CopyStyle               Address
        LatexName               ead
-       InTitle                 1
-       ParSkip                 0.4
        BottomSep               0.5
-       Align                   Left
-       AlignPossible           Block, Left, Right, Center
-       LabelType               No_Label
+       Font
+         Shape                 Up
+       EndFont
 End
 
 
@@ -167,6 +171,7 @@ Style Abstract
        Margin                  Static
        LatexType               Environment
        LatexName               abstract
+       Category                FrontMatter
        InTitle                 1
        NextNoIndent            1
        LeftMargin              MMM
@@ -177,7 +182,8 @@ Style Abstract
        BottomSep               0.7
        ParSep                  0
        Align                   Block
-       LabelType               Centered_Top_Environment
+       AlignPossible           Block, Left, Center, Right
+       LabelType               Top_Environment
        LabelString             "Abstract"
        LabelBottomSep          0.5
        Font
@@ -194,6 +200,7 @@ Style Keywords
        Margin                  Dynamic
        LatexType               Command
        LatexName               "noindent{\it Keywords\/}: "
+       Category                FrontMatter
        InTitle                 1
        ParSkip                 0.4
        BottomSep               0.5
@@ -233,6 +240,7 @@ Style Acknowledgments
        Margin                  Dynamic
        LatexType               Command
        LatexName               ack{}
+       Category                BackMatter
        NeedProtect             1
        NextNoIndent            1
        KeepEmpty               1
@@ -254,6 +262,7 @@ Style "Bibliography (plain)"
        Margin                  First_Dynamic
        LatexType               Bib_Environment
        LatexName               thebibliography
+       Category                BackMatter
        NextNoIndent            1
        LeftMargin              MM
        ParSkip                 0.4
@@ -276,12 +285,10 @@ End
 Style "Bibliography heading"
        CopyStyle               Section
        LatexName               section*{References}
+       Category                BackMatter
        KeepEmpty               1
        LabelType               Static
        LabelString             "References"
 End
 
 
-Input stdfloats.inc
-Input stdcounters.inc
-