]> 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 70aa206238df6795325ec955ff63aa000d11f510..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,19 +43,23 @@ Style Standard
 End
 
 
+Input stdcounters.inc
+Input stdfloats.inc
 Input stdlists.inc
 Input stdsections.inc
 Input stdstarsections.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
@@ -66,6 +70,7 @@ Style Title
        Font
          Size                  Largest
        EndFont
+       HTMLTitle             true
 End
 
 
@@ -121,9 +126,10 @@ End
 Style Author
        Margin                  Static
        LatexType               Command
-       InTitle                 1
        LatexName               author
-       LabelSep                 xxx
+       Category                FrontMatter
+       InTitle                 1
+       LabelSep                xxx
        ParSkip                 0.4
        TopSep                  1.3
        BottomSep               0.7
@@ -140,22 +146,24 @@ Style Address
        Margin                  Static
        LatexType               Command
        LatexName               address
+       Category                FrontMatter
        InTitle                 1
        ParSkip                 0.4
        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                   Center
-       LabelType               No_Label
+       Font
+         Shape                 Up
+       EndFont
 End
 
 
@@ -163,6 +171,7 @@ Style Abstract
        Margin                  Static
        LatexType               Environment
        LatexName               abstract
+       Category                FrontMatter
        InTitle                 1
        NextNoIndent            1
        LeftMargin              MMM
@@ -191,6 +200,7 @@ Style Keywords
        Margin                  Dynamic
        LatexType               Command
        LatexName               "noindent{\it Keywords\/}: "
+       Category                FrontMatter
        InTitle                 1
        ParSkip                 0.4
        BottomSep               0.5
@@ -230,6 +240,7 @@ Style Acknowledgments
        Margin                  Dynamic
        LatexType               Command
        LatexName               ack{}
+       Category                BackMatter
        NeedProtect             1
        NextNoIndent            1
        KeepEmpty               1
@@ -251,6 +262,7 @@ Style "Bibliography (plain)"
        Margin                  First_Dynamic
        LatexType               Bib_Environment
        LatexName               thebibliography
+       Category                BackMatter
        NextNoIndent            1
        LeftMargin              MM
        ParSkip                 0.4
@@ -273,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
-