]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/acmsiggraph.layout
New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing...
[lyx.git] / lib / layouts / acmsiggraph.layout
index a63ae8ab2bea5f355791dd901d7b71683968b295..b0cd9efa6d0865e3cc81121dbedb98308c793c99 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,comment.sty,lineno.sty]{ACM SIGGRAPH (older than 0.91, obsolete)}
+#  \DeclareCategory{Obsolete}
 # ACM SIGGRAPH acmsiggraph textclass definition file.
 # Author : Uwe Stöhr
 #
 # ACM style files can be obtained at
 # http://www.acm.org/sigs/pubs/proceed/template.html
 
-Format 30
+Format 99
 
-Columns                 1
-Sides                   1
+Columns                        1
+Sides                  1
 SecNumDepth            3
 TocDepth               3
-DefaultStyle            Standard
+DefaultStyle   Standard
 
 ClassOptions
   FontSize             9|10|11|12
@@ -32,14 +33,15 @@ EndFont
 
 
 Style Standard
-  Margin               Static
-  LatexType            Paragraph
-  LatexName            dummy
+  Category             MainText
+  Margin               Static
+  LatexType            Paragraph
+  LatexName            dummy
   ParIndent            MM
-  ParSkip              0.4
-  Align                Block
-  AlignPossible        Block, Left, Right, Center
-  LabelType            No_Label
+  ParSkip              0.4
+  Align                        Block
+  AlignPossible Block, Left, Right, Center
+  LabelType            No_Label
 End
 
 
@@ -51,55 +53,143 @@ 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
+         Color                 textlabel2
          Series                Bold
        EndFont
 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
+       DocBookTag      title
+       DocBookTagType  paragraph
+       DocBookInInfo   maybe
+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                 textlabel2
        EndFont
 End
 
@@ -119,7 +209,7 @@ Style Abstract
        ParSep                  0
        Align                   Block
        AlignPossible           Block
-       LabelType               Centered_Top_Environment
+       LabelType               Centered
        LabelString             "Abstract"
        LabelBottomSep          0.5
        Font
@@ -135,10 +225,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 +238,77 @@ 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                 textlabel2
+         Size                  Small
+       EndFont
+       Argument 1
+               Mandatory       1
+               LabelString     "CR-number"
+               Tooltip         "Number of the category"
+               PassThru        1
+       EndArgument
+       Argument 2
+               Mandatory       1
+               LabelString     "Subcategory"
+               Tooltip         "Subcategory"
+               PassThru        1
+       EndArgument
+       Argument 3
+               Mandatory       1
+               LabelString     "Third-level"
+               Tooltip         "Third-level of the category"
+               PassThru        1
+       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                 textlabel1
+       EndFont
+End
+
+
 Style Acknowledgments
        CopyStyle               Abstract
        LatexName               acks
        Category                BackMatter
        InTitle                 0
        LabelBottomsep          0
-       LabelType               Top_Environment
+       LabelType               Above
        LabelString             "Acknowledgments"
+       DocBookTag            para
+       DocBookWrapperTag     acknowledgements
+       DocBookSection        true
 End