mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 02:49:46 +00:00
Layouts for ACMS SIGS styles, contributed by Gioele Barabucci.
This commit is contained in:
parent
f34394460a
commit
01add2d52f
@ -25,6 +25,9 @@
|
|||||||
@bPatrick Atamaniuk
|
@bPatrick Atamaniuk
|
||||||
@iE-mail: atamaniuk () frobs ! net
|
@iE-mail: atamaniuk () frobs ! net
|
||||||
fix-cm module
|
fix-cm module
|
||||||
|
@bGioele Barabucci
|
||||||
|
@iE-mail: gioele () svario ! it
|
||||||
|
ACM-SIGS layouts
|
||||||
@bÖzgür Uğraş Baran
|
@bÖzgür Uğraş Baran
|
||||||
@iE-mail: ugras.baran () gmail ! com
|
@iE-mail: ugras.baran () gmail ! com
|
||||||
New commandparams structure, Nomenclature inset
|
New commandparams structure, Nomenclature inset
|
||||||
|
@ -1832,6 +1832,9 @@ dist_layouts_DATA =\
|
|||||||
layouts/aapaper.layout \
|
layouts/aapaper.layout \
|
||||||
layouts/aastex.layout \
|
layouts/aastex.layout \
|
||||||
layouts/achemso.layout \
|
layouts/achemso.layout \
|
||||||
|
layouts/acm-sigs.layout \
|
||||||
|
layouts/acm-sigs-alt.layout \
|
||||||
|
layouts/acmsig.inc \
|
||||||
layouts/acmsiggraph.layout \
|
layouts/acmsiggraph.layout \
|
||||||
layouts/AEA.layout \
|
layouts/AEA.layout \
|
||||||
layouts/agutex.layout \
|
layouts/agutex.layout \
|
||||||
|
@ -13,12 +13,13 @@ This script both stores and manipulates the raw data needed to
|
|||||||
create CREDITS, credits.inc and blanket-permission.inc
|
create CREDITS, credits.inc and blanket-permission.inc
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
$ python generate_contributions.py \
|
$ python generate_contributions.py \
|
||||||
CREDITS \
|
CREDITS \
|
||||||
credits.inc \
|
credits.inc \
|
||||||
blanket-permission.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",
|
"28 January 2011",
|
||||||
u"fix-cm module"),
|
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",
|
contributer(u"Özgür Uğraş Baran",
|
||||||
"ugras.baran () gmail ! com",
|
"ugras.baran () gmail ! com",
|
||||||
"GPL",
|
"GPL",
|
||||||
|
10
lib/layouts/acm-sigs-alt.layout
Normal file
10
lib/layouts/acm-sigs-alt.layout
Normal file
@ -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
|
||||||
|
|
55
lib/layouts/acm-sigs.inc
Normal file
55
lib/layouts/acm-sigs.inc
Normal file
@ -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
|
10
lib/layouts/acm-sigs.layout
Normal file
10
lib/layouts/acm-sigs.layout
Normal file
@ -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
|
||||||
|
|
194
lib/templates/ACM-SIGS.lyx
Normal file
194
lib/templates/ACM-SIGS.lyx
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user