]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/acmsiggraph.layout
lyx2lyx: Update the emergency value
[lyx.git] / lib / layouts / acmsiggraph.layout
index 7c05e8f568dba8261220d3e09e67b961211da849..0de41d5ebd65f083e868ac33585dcca343a69aaa 100644 (file)
@@ -1,5 +1,6 @@
 #% Do not delete he line below; configure depends on this
-#  \DeclareLaTeXClass[acmsiggraph,lineno.sty]{article (ACM SIGGRAPH)}
+#  \DeclareLaTeXClass[acmsiggraph,lineno.sty]{ACM SIGGRAPH}
+#  \DeclareCategory{Articles}
 # ACM SIGGRAPH acmsiggraph textclass definition file.
 # Author : Uwe Stöhr
 #
@@ -10,7 +11,7 @@
 # ACM style files can be obtained at
 # http://www.acm.org/sigs/pubs/proceed/template.html
 
-Format 29
+Format 49
 
 Columns                 1
 Sides                   1
@@ -32,6 +33,7 @@ EndFont
 
 
 Style Standard
+  Category              MainText
   Margin               Static
   LatexType            Paragraph
   LatexName            dummy
@@ -51,25 +53,28 @@ 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 Teaser
+Style "TOG online ID"
        Margin                  Dynamic
        LatexType               Command
-       LatexName               teaser
+       LatexName               TOGonlineid
        Category                FrontMatter
-       InTitle                 1
+       InPreamble              1
        ParSkip                 0.4
        BottomSep               0.5
        Align                   Left
        LabelSep                xx
        LabelType               Static
-       LabelString             "Teaser image:"
+       LabelString             "Online ID:"
        LabelFont
          Color                 Green
          Series                Bold
@@ -77,29 +82,111 @@ Style Teaser
 End
 
 
+Style "TOG volume"
+       CopyStyle               "TOG online ID"
+       LatexName               TOGvolume
+       LabelString             "Volume number:"
+End
+
+
+Style "TOG number"
+       CopyStyle               "TOG online ID"
+       LatexName               TOGnumber
+       LabelString             "Article number:"
+End
+
+
+Style "TOG article DOI"
+       CopyStyle               "TOG online ID"
+       LatexName               TOGarticleDOI
+       LabelString             "Article DOI:"
+End
+
+
+Style "TOG project URL"
+       CopyStyle               "TOG online ID"
+       LatexName               TOGprojectURL
+       KeepEmpty               1
+       LabelString             "Project URL:"
+End
+
+
+Style "TOG video URL"
+       CopyStyle               "TOG project URL"
+       LatexName               TOGvideoURL
+       LabelString             "Video URL:"
+End
+
+
+Style "TOG data URL"
+       CopyStyle               "TOG project URL"
+       LatexName               TOGdataURL
+       LabelString             "Data URL:"
+End
+
+
+Style "TOG code URL"
+       CopyStyle               "TOG project URL"
+       LatexName               TOGcodeURL
+       LabelString             "Code URL:"
+End
+
+
 Input stdtitle.inc
 Input stdstruct.inc
+NoStyle                        Date
 
 
-InsetLayout CRcat
-       LyxType                 custom
-       LatexType               command
-       LatexName               CRcat
-       Decoration              classic
-       LabelString             "CR category"
+# modify the Title definition from stdtitle.inc
+Style Title
+       InTitle                 0
+       InPreamble              1
        Font
-         Color                 foreground
-         Size                  Small
-         Family                Roman
-         Shape                 Up
-         Series                Medium
-         Misc                  No_Emph
-         Misc                  No_Noun
-         Misc                  No_Bar
+         Family                Sans
        EndFont
+End
+
+
+# modify the Author definition from stdtitle.inc
+Style Author
+       InTitle                 0
+       InPreamble              1
+End
+
+
+Style "PDF author"
+       CopyStyle               "TOG project URL"
+       LatexName               pdfauthor
+       LabelString             "PDF author:"
+End
+
+Style Keywords
+       CopyStyle               "TOG project URL"
+       LatexName               keywords
+       LabelType               Static
+       LabelString             "Keywords:"
        LabelFont
-         Color                 green
-         Size                  Small
+         Series                Bold
+         Size                  Normal
+       EndFont
+End
+
+
+Style Teaser
+       Margin                  Dynamic
+       LatexType               Command
+       LatexName               teaser
+       Category                FrontMatter
+       ParSkip                 0.4
+       BottomSep               0.5
+       Align                   Left
+       LabelSep                xx
+       LabelType               Static
+       LabelString             "Teaser image:"
+       LabelFont
+         Series                Bold
+         Size                  Normal
+         Color                 Green
        EndFont
 End
 
@@ -119,7 +206,7 @@ Style Abstract
        ParSep                  0
        Align                   Block
        AlignPossible           Block
-       LabelType               Centered_Top_Environment
+       LabelType               Centered
        LabelString             "Abstract"
        LabelBottomSep          0.5
        Font
@@ -135,10 +222,12 @@ End
 Style "CR categories"
        CopyStyle               Abstract
        LatexName               CRcatlist
-       Category                FrontMatter
-       LeftMargin              M
-       LabelType               Top_Environment
-       LabelString             "Computing Review Categories"
+       Margin                  Dynamic
+       ParbreakIsNewline       1
+       LeftMargin              ""
+       LabelSep                xx
+       LabelType               Static
+       LabelString             "CR Categories:"
        LabelFont
          Series                Bold
          Size                  Normal
@@ -146,13 +235,71 @@ Style "CR categories"
 End
 
 
+InsetLayout "Flex:CRcat"
+       LyxType                 custom
+       LatexType               command
+       LatexName               CRcat
+       Decoration              classic
+       LabelString             "CR category"
+       Font
+         Color                 foreground
+         Size                  Small
+         Family                Roman
+         Shape                 Up
+         Series                Medium
+         Misc                  No_Emph
+         Misc                  No_Noun
+         Misc                  No_Bar
+       EndFont
+       LabelFont
+         Color                 green
+         Size                  Small
+       EndFont
+       Argument 1
+          Mandatory            1
+          LabelString          "CR-number"
+          Tooltip              "Number of the category"
+        EndArgument
+        Argument 2
+          Mandatory            1
+          LabelString          "Subcategory"
+          Tooltip              "Subcategory"
+        EndArgument
+        Argument 3
+          Mandatory            1
+          LabelString          "Third-level"
+          Tooltip              "Third-level of the category"
+        EndArgument
+End
+
+
+InsetLayout "Flex:ShortCite"
+       CopyStyle               "Flex:CRcat"
+       ResetArgs               1
+       LatexName               shortcite
+       Decoration              Conglomerate
+       LabelString             "Short cite"
+End
+
+
+InsetLayout "Flex:Thanks"
+       CopyStyle               "Flex:ShortCite"
+       LatexName               thanks
+       Decoration              Classic
+       LabelString             "E-mail"
+       LabelFont
+         Color                 blue
+       EndFont
+End
+
+
 Style Acknowledgments
        CopyStyle               Abstract
        LatexName               acks
        Category                BackMatter
        InTitle                 0
        LabelBottomsep          0
-       LabelType               Top_Environment
+       LabelType               Above
        LabelString             "Acknowledgments"
 End