]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/sigplanconf.layout
use LatexParam where appropriate
[lyx.git] / lib / layouts / sigplanconf.layout
index 69fd6d3c13ee16e340c84079d592bcc661d6ed49..e093fc643ac1f08e84277f3f0723fea7bd15db1a 100644 (file)
@@ -1,5 +1,6 @@
 #% Do not delete he line below; configure depends on this
-#  \DeclareLaTeXClass[sigplanconf]{article (ACM SIGPLAN)}
+#  \DeclareLaTeXClass[sigplanconf,natbib.sty]{ACM SIGPLAN}
+#  \DeclareCategory{Articles}
 # ACM SIGPLAN sigplanconf textclass definition file.
 # Author : Uwe Stöhr
 #
@@ -13,7 +14,7 @@
 # ACM style files can be obtained at
 # http://www.acm.org/sigs/pubs/proceed/template.html
 
-Format 10
+Format 41
 
 Columns                 1
 Sides                   1
@@ -46,16 +47,21 @@ Style Standard
 End
 
 
+Input stdcounters.inc
+Input stdfloats.inc
 Input stdlists.inc
 Input stdsections.inc
 Input stdstarsections.inc
 
 # don't use the following styles
 NoStyle                        Part
+NoCounter                      part
 NoStyle                        Part*
 NoStyle                        Chapter
+NoCounter                      chapter
 NoStyle                        Chapter*
 NoStyle                        Subparagraph
+NoCounter                      subparagraph
 NoStyle                        Subparagraph*
 
 
@@ -63,6 +69,7 @@ Style Conference
        Margin                  Dynamic
        LatexType               Command
        LatexName               conferenceinfo
+       Category                FrontMatter
        InTitle                 1
        ParSkip                 0.4
        BottomSep               0.5
@@ -97,7 +104,7 @@ Input stdstruct.inc
 
 Style Title
        CopyStyle               Title
-       AlignPossible           None
+       AlignPossible           Block
 End
 
 
@@ -105,27 +112,27 @@ Style Subtitle
        CopyStyle               Title
        LatexName               subtitle
        Font
-         Size                Larger
+         Size                  Larger
        EndFont
 End
 
 
 # overwrite the Author definition from stdtitle.inc
 Style Author
-       Margin                Static
-       LatexType             Command
-       InTitle               1
-       LatexName             authorinfo
-       LabelSep              xxx
-       ParSkip               0.4
-       TopSep                1.3
-       BottomSep             0.7
-       ParSep                0.7
-       Align                 Center
-       AlignPossible         None
-       LabelType             No_Label
+       Margin                  Static
+       LatexType               Command
+       LatexName               authorinfo
+       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
 
@@ -133,13 +140,14 @@ End
 Style Terms
        CopyStyle               Conference
        LatexName               terms
+       InTitle                 0
        LabelString             "Terms:"
 End
 
 
 Style Keywords
-       CopyStyle               Conference
-       LatexName               terms
+       CopyStyle               Terms
+       LatexName               keywords
        LabelString             "Keywords:"
 End
 
@@ -148,6 +156,7 @@ Style Abstract
        Margin                  Static
        LatexType               Environment
        LatexName               abstract
+       Category                FrontMatter
        NextNoIndent            1
        LeftMargin              MMM
        RightMargin             MMM
@@ -174,14 +183,10 @@ End
 Style Acknowledgments
        CopyStyle               Abstract
        LatexName               acks
+       Category                BackMatter
        InTitle                 0
        LabelBottomsep          0
        LabelType               Top_Environment
        LabelString             "Acknowledgments"
 End
 
-
-Input stdlayouts.inc
-Input stdfloats.inc
-Input stdcounters.inc
-