]> git.lyx.org Git - features.git/blobdiff - lib/layouts/iopart.layout
Bump layout format
[features.git] / lib / layouts / iopart.layout
index 9705914238bcd27a589adec87cb1a93442549167..6014470d13079aa1ebeeb1a7bf6848b1ee16e044 100644 (file)
@@ -1,9 +1,10 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[iopart]{article (IOP)}
+#  \DeclareLaTeXClass[iopart,amsmath.sty,amssymb.sty,iopams.sty,setstack.sty]{Institute of Physics (IOP)}
+#  \DeclareCategory{Articles}
 # IOP article textclass definition file.
 # Author: Uwe Stöhr (uwestoehr@web.de)
 
-Format 7
+Format 42
 
 Columns                 1
 Sides                   1
@@ -43,21 +44,26 @@ 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
-       InTitle                 1
-       OptionalArgs            1
        LatexName               title
+       Category                FrontMatter
+       InTitle                 1
+       Argument 1
+         LabelString           "Short Title|S"
+         Tooltip               "Short title that will appear in header line"
+       EndArgument
        ParSkip                 0.4
        ItemSep                 0
        TopSep                  0
@@ -68,6 +74,7 @@ Style Title
        Font
          Size                  Largest
        EndFont
+       HTMLTitle               true
 End
 
 
@@ -115,25 +122,26 @@ End
 
 Style Letter
        CopyStyle               Title
-       OptionalArgs            0
+       ResetArgs               1
        LatexName               letter
 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 +150,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 +175,7 @@ Style Abstract
        Margin                  Static
        LatexType               Environment
        LatexName               abstract
+       Category                FrontMatter
        InTitle                 1
        NextNoIndent            1
        LeftMargin              MMM
@@ -177,7 +186,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 +204,7 @@ Style Keywords
        Margin                  Dynamic
        LatexType               Command
        LatexName               "noindent{\it Keywords\/}: "
+       Category                FrontMatter
        InTitle                 1
        ParSkip                 0.4
        BottomSep               0.5
@@ -233,6 +244,7 @@ Style Acknowledgments
        Margin                  Dynamic
        LatexType               Command
        LatexName               ack{}
+       Category                BackMatter
        NeedProtect             1
        NextNoIndent            1
        KeepEmpty               1
@@ -244,8 +256,8 @@ Style Acknowledgments
        LabelType               Static
        LabelString             "Acknowledgments"
        Font
-         Series              Bold
-         Size                Normal
+         Series                Bold
+         Size                  Normal
        EndFont
 End
 
@@ -254,6 +266,7 @@ Style "Bibliography (plain)"
        Margin                  First_Dynamic
        LatexType               Bib_Environment
        LatexName               thebibliography
+       Category                BackMatter
        NextNoIndent            1
        LeftMargin              MM
        ParSkip                 0.4
@@ -276,12 +289,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
-