]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/sigplanconf.layout
Honor trailing spaces in LabelString and friends
[lyx.git] / lib / layouts / sigplanconf.layout
index 5f2445438f4aea84cf41526a6820c9307c25c8da..06449436d5a566f71ed451e26aafabb208da0163 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 (Obsolete)}
+#  \DeclareCategory{Obsolete}
 # ACM SIGPLAN sigplanconf textclass definition file.
 # Author : Uwe Stöhr
 #
@@ -7,19 +8,22 @@
 # downloaded from
 # http://www.sigplan.org/authorInformation.htm
 #
+# NOTE: As from Spring 2017, the class will not be usable to submit
+# a publication to ACM, it is OBSOLETE. Use acmart.cls instead.
+#
 # This layout is according to
 # http://www.sigplan.org/sigplanconf-guide.pdf
 #
 # ACM style files can be obtained at
 # http://www.acm.org/sigs/pubs/proceed/template.html
 
-Format 10
+Format 64
 
-Columns                 1
-Sides                   1
+Columns                        1
+Sides                  1
 SecNumDepth            3
 TocDepth               3
-DefaultStyle            Standard
+DefaultStyle           Standard
 
 ClassOptions
   FontSize             9|10|11
@@ -35,6 +39,7 @@ EndFont
 
 
 Style Standard
+  Category              MainText
   Margin               Static
   LatexType            Paragraph
   LatexName            dummy
@@ -54,135 +59,174 @@ 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*
 
 
 Style Conference
-       Margin                  Dynamic
-       LatexType               Command
-       LatexName               conferenceinfo
-       Category                FrontMatter
-       InTitle                 1
-       ParSkip                 0.4
-       BottomSep               0.5
-       Align                   Left
-       LabelSep                xx
-       LabelType               Static
-       LabelString             "Conference:"
+       Margin          Dynamic
+       LatexType       Command
+       LatexName       conferenceinfo
+       Category        FrontMatter
+       InTitle         1
+       ParSkip         0.4
+       BottomSep       0.5
+       Align           Left
+       Argument 1
+         Mandatory     1
+         AutoInsert    1
+         LabelString   "Name"
+         Tooltip       "Name of the conference"
+       EndArgument
+       LabelSep        xx
+       LabelType       Static
+       LabelString     "Conference:"
        LabelFont
-         Color                 Green
-         Series                Bold
+         Color         Green
+         Series        Bold
        EndFont
 End
 
 
 Style CopyrightYear
-       CopyStyle               Conference
-       LatexName               CopyrightYear
-       LabelString             "Copyright year:"
+       CopyStyle       Conference
+       ResetArgs       1
+       LatexName       CopyrightYear
+       LabelString     "Copyright year:"
 End
 
 
 Style Copyrightdata
-       CopyStyle               Conference
-       LatexName               copyrightdata
-       LabelString             "Copyright data:"
+       CopyStyle       CopyrightYear
+       LatexName       copyrightdata
+       LabelString     "Copyright data:"
 End
 
 
-Input stdtitle.inc
-Input stdstruct.inc
+Style TitleBanner
+       CopyStyle       CopyrightYear
+       LatexName       titlebanner
+       LabelString     "Title banner:"
+End
 
 
-Style Title
-       CopyStyle               Title
-       AlignPossible           None
+Style PreprintFooter
+       CopyStyle       CopyrightYear
+       LatexName       preprintfooter
+       LabelString     "Preprint footer:"
 End
 
 
+Style DOI
+       CopyStyle       CopyrightYear
+       LatexName       doi
+       LabelString     "Digital Object Identifier:"
+End
+
+
+Input stdtitle.inc
+Input stdstruct.inc
+
+
 Style Subtitle
-       CopyStyle               Title
-       LatexName               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
-       LatexName               authorinfo
-       Category                FrontMatter
-       InTitle                 1
-       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
+       Argument 1
+         Mandatory     1
+         LabelString   "Name"
+         Tooltip       "Name of the author"
+         Font
+           Size        Large
+         EndFont
+       EndArgument
+       Argument 2
+         Mandatory     1
+         LabelString   "Affiliation"
+         Tooltip       "Affiliation and/or address of the author"
+       EndArgument
+       LabelType       No_Label
        Font
-         Size                  Large
+         Family        Sans
+         Size          Normal
        EndFont
 End
 
 
 Style Terms
-       CopyStyle               Conference
-       LatexName               terms
-       LabelString             "Terms:"
+       CopyStyle       CopyrightYear
+       LatexName       terms
+       InTitle         0
+       LabelString     "Terms:"
 End
 
 
 Style Keywords
-       CopyStyle               Conference
-       LatexName               terms
-       LabelString             "Keywords:"
+       CopyStyle       Terms
+       LatexName       keywords
+       LabelString     "Keywords:"
 End
 
 
 Style Abstract
-       Margin                  Static
-       LatexType               Environment
-       LatexName               abstract
-       Category                FrontMatter
-       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
+       Margin          Static
+       LatexType       Environment
+       LatexName       abstract
+       Category        FrontMatter
+       NextNoIndent    1
+       LeftMargin      MMM
+       RightMargin     MMM
+       ParIndent       MM
+       ItemSep         0
+       TopSep          0.7
+       BottomSep       0.7
+       ParSep          0
+       Align           Block
+       AlignPossible   Block
+       LabelType       Centered
+       LabelString     "Abstract"
+       LabelBottomSep  0.5
        Font
-         Size                  Small
+         Size          Small
        EndFont
        LabelFont
-         Series                Bold
-         Size                  Large
+         Series        Bold
+         Size          Large
        EndFont
 End
 
 
 Style Acknowledgments
-       CopyStyle               Abstract
-       LatexName               acks
-       Category                BackMatter
-       InTitle                 0
-       LabelBottomsep          0
-       LabelType               Top_Environment
-       LabelString             "Acknowledgments"
+       CopyStyle       Abstract
+       LatexType       Command
+       LatexName       acks
+       Category        BackMatter
+       LabelBottomsep  0
+       LabelType       Above
+       LabelString     "Acknowledgments"
 End