]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/achemso.layout
Bump layout format
[lyx.git] / lib / layouts / achemso.layout
index dd5004d0b556ab2b935a1d3721357b122d437eb7..e64078718db13e0f6443bec77f8598b9d8eb786d 100644 (file)
@@ -1,43 +1,44 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[achemso,caption.sty,courier.sty,cleveref.sty,float.sty,helvet.sty,mathptmx.sty,natbib.sty,natmove.sty,setspace.sty,xkeyval.sty]{article (ACS)}
-# achemso textclass definition file.
+#  \DeclareLaTeXClass[achemso,caption.sty,courier.sty,cleveref.sty,float.sty,helvet.sty,mathptmx.sty,mciteplus.sty,natbib.sty,natmove.sty,setspace.sty,xkeyval.sty]{American Chemical Society (ACS)}
+#  \DeclareCategory{Articles}
+# textclass definition file for achemso 3.7c
 # Author: Uwe Stöhr (uwestoehr@web.de)
 
-Format 33
+Format 42
 
-Columns                 1
-Sides                   1
-SecNumDepth             3
-TocDepth                3
-DefaultStyle            Standard
+Columns                        1
+Sides                  1
+SecNumDepth            3
+TocDepth               3
+DefaultStyle           Standard
 
-Provides float 1
+Provides float         1
 
 ClassOptions
-       FontSize                10|11|12
+       FontSize        10|11|12
 end
 
 
 # This is just to show how to declare the default font.
 # The defaults are exactly those shown here.
 DefaultFont
-       Family                  Roman
-       Series                  Medium
-       Shape                   Up
-       Size                    Normal
-       Color                   None
+       Family          Roman
+       Series          Medium
+       Shape           Up
+       Size            Normal
+       Color           None
 EndFont
 
 
 Style Standard
-       Margin                  Static
-       LatexType               Paragraph
-       LatexName               dummy
-       ParIndent               MM
-       ParSkip                 0.4
-       Align                   Block
-       AlignPossible           Block, Left, Right, Center
-       LabelType               No_Label
+       Margin          Static
+       LatexType       Paragraph
+       LatexName       dummy
+       ParIndent       MM
+       ParSkip         0.4
+       Align           Block
+       AlignPossible   Block, Left, Right, Center
+       LabelType       No_Label
 End
 
 
@@ -52,221 +53,244 @@ NoCounter chapter
 NoStyle Chapter*
 
 Style Title
-  Margin                Static
-  LatexType             Command
-  Category              FrontMatter
-  InTitle               1
-  InPreamble            1
-  LatexName             title
-  ParSkip               0.4
-  ItemSep               0
-  TopSep                0
-  BottomSep             1
-  ParSep                1
-  Align                 Center
-  LabelType             No_Label
-  Font
-    Family              Sans
-    Size                Largest
-  EndFont
-  HTMLTag               h1
-  HTMLTitle             true
-  OptionalArgs          1
-End  
+       Margin          Static
+       LatexType       Command
+       Category        FrontMatter
+       InPreamble      1
+       LatexName       title
+       ParSkip         0.4
+       ItemSep         0
+       TopSep          0
+       BottomSep       0.7
+       ParSep          1
+       Align           Center
+       LabelType       No_Label
+       Font
+         Family        Sans
+         Size          Largest
+         Series        Bold
+         EndFont
+       HTMLTag         h1
+       HTMLTitle       true
+       Argument 1
+         LabelString   "Short Title|S"
+         Tooltip       "Short title which will appear in the running header"
+       EndArgument
+End
 
 Style Author
-  LatexType             command
-  LatexName             author
-  InTitle               1
-  InPreamble            1
-  Align                 Center
-  Font
-    Family              Sans
-    Size                Large
-  EndFont
+       LatexType       command
+       LatexName       author
+       Category        FrontMatter
+       InPreamble      1
+       TopSep          0.7
+       Align           Center
+       Font
+         Family        Sans
+         Size          Large
+       EndFont
 End
 
 Style Email
-  CopyStyle             Author
-  LatexName             email
+       CopyStyle       Author
+       LatexName       email
+       TopSep          1
+       Font
+         Size          Normal
+       EndFont
 End
 
 Style Affiliation
-  CopyStyle             Author
-  LatexName             affiliation
-  OptionalArgs          1
+       CopyStyle       Email
+       LatexName       affiliation
+       Font
+         Shape         Italic
+       EndFont
+       Argument 1
+         LabelString   "Short name"
+         Tooltip       "Short name which appears in the footer of the title page"
+       EndArgument
 End
 
 Style Alt_Affiliation
-  CopyStyle             Author
-  LatexName             altaffiliation
+       CopyStyle       Affiliation
+       LatexName       altaffiliation
+       TopSep          0.7
 End
 
 Style Also_Affiliation
-  CopyStyle             Author
-  LatexName             alsoaffiliation
+       CopyStyle       Affiliation
+       LatexName       alsoaffiliation
+       TopSep          0.5
 End
 
 Style Fax
-  CopyStyle             Author
-  LatexName             fax
+       CopyStyle       Email
+       LatexName       fax
+       TopSep          0
+       LabelSep        xx
+       LabelType       Static
+       LabelString     "Fax:"
 End
 
 Style Phone
-  CopyStyle             Author
-  LatexName             phone
+       CopyStyle       Fax
+       LatexName       phone
+       LabelString     "Phone:"
+       TopSep          0.5
+End
+
+Style Abbreviations
+       CopyStyle       Fax
+       Margin          Dynamic
+       LatexName       abbreviations
+       TopSep          1
+       Align           Left
+       LabelString     "Abbreviations:"
+       LabelFont
+         Color         Blue
+       EndFont
+End
+
+Style Keywords
+       CopyStyle       Abbreviations
+       LatexName       keywords
+       LabelString     "Keywords:"
+       TopSep          0.3
 End
 
 Float
-       Type                    scheme
-       GuiName                 Scheme
-       Placement               tbp
-       Extension               los
-       NumberWithin            none
-       Style                   plain
-       ListName                "List of Schemes"
-       IsPredefined true
-       UsesFloatPkg true
+       Type            scheme
+       GuiName         Scheme
+       Placement       tbp
+       Extension       los
+       NumberWithin    none
+       Style           plain
+       ListName        "List of Schemes"
+       IsPredefined    true
+       UsesFloatPkg    true
 End
 
 InsetLayout scheme
-       LabelString             Scheme
+       LabelString     Scheme
        LabelFont
-         Color                 collapsable
-         Size                  Small
+         Color         collapsable
+         Size          Small
        EndFont
-       MultiPar                true
+       MultiPar        true
 End
 
 
 Float
-       Type                    chart
-       GuiName                 Chart
-       Placement               tbp
-       Extension               loc
-       NumberWithin            none
-       Style                   plain
-       ListName                "List of Charts"
-       IsPredefined true
-       UsesFloatPkg true
+       Type            chart
+       GuiName         Chart
+       Placement       tbp
+       Extension       loc
+       NumberWithin    none
+       Style           plain
+       ListName        "List of Charts"
+       IsPredefined    true
+       UsesFloatPkg    true
 End
 
 InsetLayout chart
-       LabelString             Chart
+       LabelString     Chart
        LabelFont
-         Color                 collapsable
-         Size                  Small
+         Color         collapsable
+         Size          Small
        EndFont
-       MultiPar                true
+       MultiPar        true
 End
 
 
 Float
-       Type                    graph
-       GuiName                 Graph
-       Placement               tbp
-       Extension               loh
-       NumberWithin            none
-       Style                   plain
-       ListName                "List of Graphs"
-       IsPredefined true
-       UsesFloatPkg true
+       Type            graph
+       GuiName         Graph
+       Placement       tbp
+       Extension       loh
+       NumberWithin    none
+       Style           plain
+       ListName        "List of Graphs"
+       IsPredefined    true
+       UsesFloatPkg    true
 End
 
 InsetLayout graph
-       LabelString             Graph
+       LabelString     Graph
        LabelFont
-         Color                 collapsable
-         Size                  Small
+         Color         collapsable
+         Size          Small
        EndFont
-       MultiPar                true
+       MultiPar        true
 End
 
-
-Style Abstract
-       Margin                  Static
-       LatexType               Environment
-       LatexName               abstract
-       Category                FrontMatter
-       InTitle                 1
-       NextNoIndent            1
-       LeftMargin              MMM
-       RightMargin             MMM
-       ParIndent               MM
-       ItemSep                 0
-       TopSep                  0.7
-       BottomSep               0.7
-       ParSep                  0
-       Align                   Block
-       AlignPossible           Block
-       LabelType               Centered_Top_Environment
-       LabelString             "Abstract"
-       LabelBottomSep          0.5
+# insert Abtract and Bibliography style
+Input stdstruct.inc
+
+Style Acknowledgement
+       CopyStyle       Abstract
+       LatexName       acknowledgement
+       Category        BackMatter
+       InTitle         0
+       BottomSep       0.7
+       LabelType       Top_Environment
+       LabelString     "Acknowledgement"
        Font
-         Size                  Small
+         Size          Normal
        EndFont
        LabelFont
-         Series                Bold
-         Size                  Large
+         Series        Bold
+         Size          Large
        EndFont
 End
 
+Style SupplementalInfo
+       CopyStyle       Acknowledgement
+       LatexName       suppinfo
+       LabelString     "Supporting Information Available"
+End
 
-InsetLayout Bibnote
-       LyxType                 custom
-       LatexType               command
-       LatexName               bibnote
-       LabelString             "bibnote"
-       Decoration              Classic
-       Font
-         Color                 foreground
-         Size                  Small
-         Family                Roman
-         Shape                 Up
-         Series                Medium
-         Misc                  No_Emph
-         Misc                  No_Noun
-         Misc                  No_Bar
-       EndFont
-       LabelFont
-         Size                  Small
-       EndFont
-       MultiPar                true
+Style TOC_entry
+       CopyStyle       Acknowledgement
+       LatexName       tocentry
+       ParSep          0.3
+       LabelString     "Graphical TOC Entry"
 End
 
 
-Style Bibliography
-       Margin                  First_Dynamic
-       LatexType               Bib_Environment
-       LatexName               thebibliography
-       NextNoIndent            1
-       LeftMargin              MM
-       ParSkip                 0.4
-       ItemSep                 0
-       TopSep                  0.7
-       BottomSep               0.7
-       ParSep                  0.5
-       Align                   Block
-       AlignPossible           Block, Left
-       LabelType               Bibliography
-       LabelString             "References"
-       LabelBottomSep          1.2
+InsetLayout Flex:Bibnote
+       LyxType         custom
+       LatexType       command
+       LatexName       bibnote
+       LabelString     "bibnote"
+       Decoration      Classic
+       Font
+         Color         foreground
+         Size          Small
+         Family        Roman
+         Shape         Up
+         Series        Medium
+         Misc          No_Emph
+         Misc          No_Noun
+         Misc          No_Bar
+       EndFont
        LabelFont
-         Series                Bold
-         Size                  Larger
+         Size          Small
        EndFont
+       MultiPar        true
 End
 
 
-InsetLayout Chemistry
-       CopyStyle               Bibnote
-       LatexName               ce
-       LabelString             "chemistry"
+InsetLayout Flex:Chemistry
+       CopyStyle       Flex:Bibnote
+       LatexName       ce
+       LabelString     "chemistry"
        Preamble
          \usepackage[version=3]{mhchem}
        EndPreamble
        LabelFont
-         Color                 blue
+         Color         blue
        EndFont
-       MultiPar                false
+       MultiPar        false
 End
+