]> git.lyx.org Git - features.git/commitdiff
Layouts for ACMS SIGS styles, contributed by Gioele Barabucci.
authorRichard Heck <rgheck@lyx.org>
Thu, 23 May 2013 14:22:52 +0000 (10:22 -0400)
committerRichard Heck <rgheck@lyx.org>
Thu, 23 May 2013 19:11:19 +0000 (15:11 -0400)
lib/CREDITS
lib/Makefile.am
lib/generate_contributions.py
lib/layouts/acm-sigs-alt.layout [new file with mode: 0644]
lib/layouts/acm-sigs.inc [new file with mode: 0644]
lib/layouts/acm-sigs.layout [new file with mode: 0644]
lib/templates/ACM-SIGS.lyx [new file with mode: 0644]

index 6bf49637cb87d3c727ac5ed8a72e620d98578d10..6a0444dace1a19877b5d70ffbd8f84dfd122f772 100644 (file)
@@ -25,6 +25,9 @@
 @bPatrick Atamaniuk
 @iE-mail: atamaniuk () frobs ! net
    fix-cm module
 @bPatrick Atamaniuk
 @iE-mail: atamaniuk () frobs ! net
    fix-cm module
+@bGioele Barabucci
+@iE-mail: gioele () svario ! it
+   ACM-SIGS layouts
 @bÖzgür Uğraş Baran
 @iE-mail: ugras.baran () gmail ! com
    New commandparams structure, Nomenclature inset
 @bÖzgür Uğraş Baran
 @iE-mail: ugras.baran () gmail ! com
    New commandparams structure, Nomenclature inset
index cf147d55bba22ae9c0f550f559b93e85428448eb..500660a83dd4889e8af01499890c4742cea820c9 100644 (file)
@@ -1832,6 +1832,9 @@ dist_layouts_DATA =\
        layouts/aapaper.layout \
        layouts/aastex.layout \
        layouts/achemso.layout \
        layouts/aapaper.layout \
        layouts/aastex.layout \
        layouts/achemso.layout \
+       layouts/acm-sigs.layout \
+       layouts/acm-sigs-alt.layout \
+       layouts/acmsig.inc \
        layouts/acmsiggraph.layout \
        layouts/AEA.layout \
        layouts/agutex.layout \
        layouts/acmsiggraph.layout \
        layouts/AEA.layout \
        layouts/agutex.layout \
index f1f69e4eb44838827debbeb918c94eafbe5a8787..6efe84ef5816b54f965289261c7386239619cf54 100755 (executable)
@@ -13,12 +13,13 @@ This script both stores and manipulates the raw data needed to
 create CREDITS, credits.inc and blanket-permission.inc
 
 Usage:
 create CREDITS, credits.inc and blanket-permission.inc
 
 Usage:
+
 $ python generate_contributions.py \
   CREDITS \
   credits.inc \
   blanket-permission.inc
 
 $ python generate_contributions.py \
   CREDITS \
   credits.inc \
   blanket-permission.inc
 
-where the arguments are the names of the generated files.
+where the arguments are the pathnames of the generated files.
 '''
 
 import codecs, sys, textwrap
 '''
 
 import codecs, sys, textwrap
@@ -91,7 +92,16 @@ def error(message):
 
 
 def usage(prog_name):
 
 
 def usage(prog_name):
-     return "Usage: %s <CREDITS> <credits.inc> <blanket-permission.inc>" % prog_name
+     return '''
+Usage:
+
+$ python generate_contributions.py \\
+  CREDITS \\
+  credits.inc \\
+  blanket-permission.inc
+
+where the arguments are the pathnames of the generated files.
+'''
 
 
 def collate_incomplete(contributers):
 
 
 def collate_incomplete(contributers):
@@ -377,6 +387,14 @@ contributers = [
                  "28 January 2011",
                  u"fix-cm module"),
 
                  "28 January 2011",
                  u"fix-cm module"),
 
+     contributer(u"Gioele Barabucci",
+                 "gioele () svario ! it",
+                 "GPL",
+                 "Contribution license",
+                 "m=136933235620262",
+                 "23 May 2013",
+                 u"ACM-SIGS layouts"),
+
      contributer(u"Özgür Uğraş Baran",
                  "ugras.baran () gmail ! com",
                  "GPL",
      contributer(u"Özgür Uğraş Baran",
                  "ugras.baran () gmail ! com",
                  "GPL",
diff --git a/lib/layouts/acm-sigs-alt.layout b/lib/layouts/acm-sigs-alt.layout
new file mode 100644 (file)
index 0000000..4245664
--- /dev/null
@@ -0,0 +1,10 @@
+#% Do not delete the line below; configure depends on this
+#  \DeclareLaTeXClass[sig-alternate]{article (ACM SIGS 'alternate' style)}
+#
+# LyX layout for ACM SIGS tighter "Alternate" style
+#
+# Author: Gioele Barabucci
+
+Format 47
+Input acm-sigs.inc
+
diff --git a/lib/layouts/acm-sigs.inc b/lib/layouts/acm-sigs.inc
new file mode 100644 (file)
index 0000000..aeeaeb4
--- /dev/null
@@ -0,0 +1,55 @@
+# Common style for ACM SIGS layouts 
+#
+# Author: Gioele Barabucci
+
+Format 47
+Input stdclass.inc
+
+Columns 2
+
+Style Subtitle
+       Category       FrontMatter
+       Margin         Static
+
+       LatexType      Command
+        InTitle        1
+       LatexName      subtitle
+
+       ParSkip        0.4
+        ItemSep        0
+        TopSep         0
+        BottomSep      1
+        ParSep         1
+        Align          Center
+        LabelType      No_Label
+        Font
+               Size   Large
+               Shape  Italic
+       EndFont
+End
+
+Style Terms        
+       Category              FrontMatter
+        Margin                Dynamic
+
+        LatexType             Command
+        LatexName             terms
+        LabelString           "General terms:"
+
+       ParSkip               0.4
+        BottomSep             1.5
+        ParSep                1.5
+        Align                 Block
+        LabelType             Static
+        LabelSep              M
+       LabelFont
+               Series   Bold
+               Size     large
+       EndFont
+End
+
+Style Keywords
+        CopyStyle             Terms
+        LatexName             keywords
+        LabelString           "Keywords:"
+End
diff --git a/lib/layouts/acm-sigs.layout b/lib/layouts/acm-sigs.layout
new file mode 100644 (file)
index 0000000..064d3df
--- /dev/null
@@ -0,0 +1,10 @@
+#% Do not delete the line below; configure depends on this
+#  \DeclareLaTeXClass[acm_proc_article-sp]{article (ACM SIGS)}
+#
+# LyX layout for ACM SIGS style
+#
+# Author: Gioele Barabucci
+
+Format 47
+Input acm-sigs.inc
+
diff --git a/lib/templates/ACM-SIGS.lyx b/lib/templates/ACM-SIGS.lyx
new file mode 100644 (file)
index 0000000..a3933b5
--- /dev/null
@@ -0,0 +1,194 @@
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 471
+\begin_document
+\begin_header
+\textclass acm-sigs
+\use_default_options true
+\maintain_unincluded_children false
+\language english
+\language_package default
+\inputencoding auto
+\fontencoding global
+\font_roman default
+\font_sans default
+\font_typewriter default
+\font_math auto
+\font_default_family default
+\use_non_tex_fonts false
+\font_sc false
+\font_osf false
+\font_sf_scale 100
+\font_tt_scale 100
+\graphics default
+\default_output_format default
+\output_sync 0
+\bibtex_command default
+\index_command default
+\paperfontsize default
+\spacing single
+\use_hyperref false
+\papersize default
+\use_geometry false
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package cancel 0
+\use_package esint 1
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
+\cite_engine basic
+\cite_engine_type default
+\biblio_style plain
+\use_bibtopic false
+\use_indices false
+\paperorientation portrait
+\suppress_date false
+\justification true
+\use_refstyle 1
+\index Index
+\shortcut idx
+\color #008000
+\end_index
+\secnumdepth 3
+\tocdepth 3
+\paragraph_separation indent
+\paragraph_indentation default
+\quotes_language english
+\papercolumns 1
+\papersides 1
+\paperpagestyle default
+\tracking_changes false
+\output_changes false
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
+\end_header
+
+\begin_body
+
+\begin_layout Title
+Title
+\end_layout
+
+\begin_layout Subtitle
+Subtitle
+\end_layout
+
+\begin_layout Author
+Author
+\end_layout
+
+\begin_layout Abstract
+The abstract goes here.
+\end_layout
+
+\begin_layout Abstract
+May be split on multiple paragraphs
+\end_layout
+
+\begin_layout Terms
+General terms from the ACM classification
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+See 
+\begin_inset CommandInset href
+LatexCommand href
+target "http://www.acm.org/about/class/"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Keywords
+Free key words
+\end_layout
+
+\begin_layout Section
+Introduction
+\end_layout
+
+\begin_layout Standard
+Every article should start with an introductory section.
+\end_layout
+
+\begin_layout Section
+Example math
+\end_layout
+
+\begin_layout Standard
+Imaginary numbers always make interesting examples.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Formula 
+\[
+i^{2}+1=0
+\]
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Example figures
+\end_layout
+
+\begin_layout Standard
+Figures can be added to the articles as well.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\align center
+Figure goes here.
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+Here goes the caption
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Conclusions
+\end_layout
+
+\begin_layout Standard
+And every article should end with a conclusion section.
+\end_layout
+
+\end_body
+\end_document