]> git.lyx.org Git - lyx.git/blob - lib/layouts/sigplanconf.layout
Added categories for style Standard, Title, Abstract, ShortTitle,
[lyx.git] / lib / layouts / sigplanconf.layout
1 #% Do not delete he line below; configure depends on this
2 #  \DeclareLaTeXClass[sigplanconf,natbib.sty]{ACM SIGPLAN}
3 #  \DeclareCategory{Articles}
4 # ACM SIGPLAN sigplanconf textclass definition file.
5 # Author : Uwe Stöhr
6 #
7 # We use sigplanconf.cls, the Sigplan class file that can be
8 # downloaded from
9 # http://www.sigplan.org/authorInformation.htm
10 #
11 # This layout is according to
12 # http://www.sigplan.org/sigplanconf-guide.pdf
13 #
14 # ACM style files can be obtained at
15 # http://www.acm.org/sigs/pubs/proceed/template.html
16
17 Format 43
18
19 Columns                 1
20 Sides                   1
21 SecNumDepth             3
22 TocDepth                3
23 DefaultStyle            Standard
24
25 ClassOptions
26   FontSize              9|10|11
27 End  
28
29 DefaultFont
30   Family                Roman
31   Series                Medium
32   Shape                 Up
33   Size                  Normal
34   Color                 None
35 EndFont
36
37
38 Style Standard
39   Category              MainText
40   Margin                Static
41   LatexType             Paragraph
42   LatexName             dummy
43   ParIndent             MM
44   ParSkip               0.4
45   Align                 Block
46   AlignPossible         Block, Left, Right, Center
47   LabelType             No_Label
48 End
49
50
51 Input stdcounters.inc
52 Input stdfloats.inc
53 Input stdlists.inc
54 Input stdsections.inc
55 Input stdstarsections.inc
56
57 # don't use the following styles
58 NoStyle                 Part
59 NoCounter               part
60 NoStyle                 Part*
61 NoStyle                 Chapter
62 NoCounter               chapter
63 NoStyle                 Chapter*
64 NoStyle                 Subparagraph
65 NoCounter               subparagraph
66 NoStyle                 Subparagraph*
67
68
69 Style Conference
70         Margin          Dynamic
71         LatexType       Command
72         LatexName       conferenceinfo
73         Category        FrontMatter
74         InTitle         1
75         ParSkip         0.4
76         BottomSep       0.5
77         Align           Left
78         Argument 1
79           Mandatory     1
80           LabelString   "Name"
81           Tooltip       "Name of the conference"
82         EndArgument
83         LabelSep        xx
84         LabelType       Static
85         LabelString     "Conference:"
86         LabelFont
87           Color         Green
88           Series        Bold
89         EndFont
90 End
91
92
93 Style CopyrightYear
94         CopyStyle       Conference
95         ResetArgs       1
96         LatexName       CopyrightYear
97         LabelString     "Copyright year:"
98 End
99
100
101 Style Copyrightdata
102         CopyStyle       CopyrightYear
103         LatexName       copyrightdata
104         LabelString     "Copyright data:"
105 End
106
107
108 Style TitleBanner
109         CopyStyle       CopyrightYear
110         LatexName       titlebanner
111         LabelString     "Title banner:"
112 End
113
114
115 Style PreprintFooter
116         CopyStyle       CopyrightYear
117         LatexName       preprintfooter
118         LabelString     "Preprint footer:"
119 End
120
121
122 Input stdtitle.inc
123 Input stdstruct.inc
124
125
126 Style Subtitle
127         CopyStyle       Title
128         LatexName       subtitle
129         Font
130           Size          Larger
131         EndFont
132 End
133
134
135 # overwrite the Author definition from stdtitle.inc
136 Style Author
137         Margin          Static
138         LatexType       Command
139         LatexName       authorinfo
140         Category        FrontMatter
141         InTitle         1
142         LabelSep        xxx
143         ParSkip         0.4
144         TopSep          1.3
145         BottomSep       0.7
146         ParSep          0.7
147         Align           Center
148         Argument 1
149           Mandatory     1
150           LabelString   "Name"
151           Tooltip       "Name of the author"
152           Font
153             Size        Large
154           EndFont
155         EndArgument
156         Argument 2
157           Mandatory     1
158           LabelString   "Affiliation"
159           Tooltip       "Affiliation and/or address of the author"
160         EndArgument
161         LabelType       No_Label
162         Font
163           Family        Sans
164           Size          Normal
165         EndFont
166 End
167
168
169 Style Terms
170         CopyStyle       CopyrightYear
171         LatexName       terms
172         InTitle         0
173         LabelString     "Terms:"
174 End
175
176
177 Style Keywords
178         CopyStyle       CopyrightYear
179         LatexName       keywords
180         LabelString     "Keywords:"
181 End
182
183
184 Style Abstract
185         Margin          Static
186         LatexType       Environment
187         LatexName       abstract
188         Category        FrontMatter
189         NextNoIndent    1
190         LeftMargin      MMM
191         RightMargin     MMM
192         ParIndent       MM
193         ItemSep         0
194         TopSep          0.7
195         BottomSep       0.7
196         ParSep          0
197         Align           Block
198         AlignPossible   Block
199         LabelType       Centered_Top_Environment
200         LabelString     "Abstract"
201         LabelBottomSep  0.5
202         Font
203           Size          Small
204         EndFont
205         LabelFont
206           Series        Bold
207           Size          Large
208         EndFont
209 End
210
211
212 Style Acknowledgments
213         CopyStyle       Abstract
214         LatexType       Command
215         LatexName       acks
216         Category        BackMatter
217         LabelBottomsep  0
218         LabelType       Top_Environment
219         LabelString     "Acknowledgments"
220 End
221