]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/iopart.layout
iopart.layout: rename a tooltip, no change in functionality
[lyx.git] / lib / layouts / iopart.layout
index bada76b46486eae7fb65986f029b86411b20cf3a..dd914dbd2bb5ab000ca40b4d38d843923f9e4abd 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 9
+Format 41
 
 Columns                 1
 Sides                   1
@@ -43,19 +44,26 @@ 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
-       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
@@ -66,6 +74,7 @@ Style Title
        Font
          Size                  Largest
        EndFont
+       HTMLTitle               true
 End
 
 
@@ -113,7 +122,7 @@ End
 
 Style Letter
        CopyStyle               Title
-       OptionalArgs            0
+       ResetArgs               1
        LatexName               letter
 End
 
@@ -121,9 +130,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 +150,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 +175,7 @@ Style Abstract
        Margin                  Static
        LatexType               Environment
        LatexName               abstract
+       Category                FrontMatter
        InTitle                 1
        NextNoIndent            1
        LeftMargin              MMM
@@ -191,6 +204,7 @@ Style Keywords
        Margin                  Dynamic
        LatexType               Command
        LatexName               "noindent{\it Keywords\/}: "
+       Category                FrontMatter
        InTitle                 1
        ParSkip                 0.4
        BottomSep               0.5
@@ -230,6 +244,7 @@ Style Acknowledgments
        Margin                  Dynamic
        LatexType               Command
        LatexName               ack{}
+       Category                BackMatter
        NeedProtect             1
        NextNoIndent            1
        KeepEmpty               1
@@ -241,8 +256,8 @@ Style Acknowledgments
        LabelType               Static
        LabelString             "Acknowledgments"
        Font
-         Series              Bold
-         Size                Normal
+         Series                Bold
+         Size                  Normal
        EndFont
 End
 
@@ -251,6 +266,7 @@ Style "Bibliography (plain)"
        Margin                  First_Dynamic
        LatexType               Bib_Environment
        LatexName               thebibliography
+       Category                BackMatter
        NextNoIndent            1
        LeftMargin              MM
        ParSkip                 0.4
@@ -273,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
-