]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
* revtex4.layout : add category flags
[lyx.git] / lib / layouts / revtex4.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[revtex4,natbib.sty,revsymb.sty]{article (REVTeX 4)}
3 # RevTeX 4 textclass definition file. Based on:
4 # AMS-Article textclass definition file. Taken from initial LyX source code
5 # and from the Article textclass definition file, following the AMS sample
6 # paper "testmath.tex" of January, 1995
7 # Author : David L. Johnson <dlj0@lehigh.edu> (AMS)
8 #          Marc Mengel (RevTeX)
9 #          Amir Karger (LyX v11.34 style modifications)
10 #          Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
11 # Heavily modifed and enhanced by serveral developers.
12
13 Format 35
14
15 Columns                   1
16 Sides                     1
17 PageStyle                 Headers
18 Provides natbib-internal  1
19 Provides url              1
20
21 # Default textclass options. The user may need to modify this.
22 ClassOptions
23         Other                 "aps,manuscript"
24 End
25
26 Preamble
27         \@ifundefined{textcolor}{}
28         {%
29          \definecolor{BLACK}{gray}{0}
30          \definecolor{WHITE}{gray}{1}
31          \definecolor{RED}{rgb}{1,0,0}
32          \definecolor{GREEN}{rgb}{0,1,0}
33          \definecolor{BLUE}{rgb}{0,0,1}
34          \definecolor{CYAN}{cmyk}{1,0,0,0}
35          \definecolor{MAGENTA}{cmyk}{0,1,0,0}
36          \definecolor{YELLOW}{cmyk}{0,0,1,0}
37         }
38 EndPreamble
39
40
41 Style Standard
42         Category              MainText
43         Margin                Static
44         LatexType             Paragraph
45         LatexName             dummy
46         ParIndent             MM
47         ParSkip               0.4
48         Align                 Block
49         AlignPossible         Block, Left, Right, Center
50         LabelType             No_Label
51 End
52
53
54 # Idea from aapaper: declare all layouts here ("Style Foo\nEnd\n")
55 # so that they appear in a specific order in the layout dropdown menu.
56
57 Input stdinsets.inc
58 Input stdsections.inc
59 Input numrevtex.inc
60
61 Style Section
62         Align                 Center
63         AlignPossible         Block, Center, Left
64         Font
65           Series              Medium
66           Shape               Smallcaps
67           Size                Large
68         EndFont
69         TocLevel              1
70 End
71
72
73 Style Subsection
74         Font
75           Series              Bold
76           Size                Normal
77         EndFont
78         TocLevel              2
79 End
80
81
82 Style Subsubsection
83         Font
84           Shape               Italic
85           Size                Normal
86         EndFont
87         TocLevel              3
88 End
89
90
91 Style Paragraph
92         TopSep                0.7
93         ParSep                0.4
94         Font
95           Shape               Italic
96           Size                Normal
97         EndFont
98         TocLevel              4
99 End
100
101 # then define the unumbered sections, based on the numbered ones.
102 Input stdstarsections.inc
103
104 NoStyle         Chapter
105 NoStyle         Chapter*
106 NoStyle         Subparagraph
107 NoStyle         Subparagraph*
108
109 Input stdlayouts.inc
110 Input stdlists.inc
111 Input stdtitle.inc
112 Input stdstruct.inc
113
114
115 Style Preprint
116         Category              FrontMatter
117         Margin                Right_Address_Box
118         LatexType             Command
119         InTitle               1
120         LatexName             preprint
121         ParSkip               0.4
122         BottomSep             1.5
123         ParSep                1.5
124         Align                 Left
125 End
126
127
128 Style Title
129         Font
130           Series              Bold
131           Size                Large
132         EndFont
133 End
134
135
136 Style Author
137         Font
138           Size                Large
139           Shape               Smallcaps
140         EndFont
141 End
142
143
144 Style Date
145         LabelType             Static
146         LabelString           "Date:"
147         LabelFont
148           Shape               Italic
149           Size                Large
150         EndFont
151 End
152
153
154 Style Affiliation
155         Category              FrontMatter
156         Margin                Dynamic
157         LatexType             Command
158         InTitle               1
159         LatexName             affiliation
160         ParSkip               0.4
161         Align                 Center
162         AlignPossible         Block, Left, Right, Center
163         LabelType             Static
164         LabelSep              M
165         LabelString           "Affiliation:"
166
167         LabelFont
168           Shape               Italic
169         EndFont
170 End
171
172
173 Style AltAffiliation
174         CopyStyle             Affiliation
175         PassThru              1
176         ParbreakIsNewline     1
177         LatexName             altaffiliation
178         OptionalArgs          1
179         LabelString           "AltAffiliation"
180 End
181
182
183 # Address is exactly the same as Affiliation. We just put this in so
184 # that tex2lyx will know what to do with it.
185 Style Address
186         CopyStyle             Affiliation
187         LatexName             address
188         LabelString           "Address:"
189 End
190
191
192 Style Thanks
193         CopyStyle             Affiliation
194         LatexName             thanks
195         LabelString           "Thanks:"
196 End
197
198
199 Style Author_Email
200         CopyStyle             Affiliation
201         PassThru              1
202         ParbreakIsNewline     1
203         LatexName             email
204         OptionalArgs          1
205         LabelString           "Electronic Address:"
206         TextFont
207           Family              Typewriter
208         EndFont
209         LabelFont
210           Family              Roman
211         EndFont
212 End
213
214
215 Style Author_URL
216         CopyStyle             Author_Email
217         PassThru              1
218         ParbreakIsNewline     1
219         LatexName             homepage
220         OptionalArgs          1
221         LabelString           "URL:"
222 End
223
224
225 Style Abstract
226         InTitle               1
227         ItemSep               0.2
228         ParSep                0.3
229         LabelFont
230           Size                Large
231         EndFont
232 End
233
234
235 Style Acknowledgments
236         Category              BackMatter
237         LatexType             Environment
238         LatexName             acknowledgments
239         ParIndent             MM
240         ParSkip               0.4
241         Align                 Block
242         AlignPossible         Block, Left, Right, Center
243         LabelType             Centered_Top_Environment
244         LabelString           "acknowledgments"
245         LabelBottomSep        0.5
246         LabelFont
247           Series              Medium
248           Shape               Smallcaps
249           Size                Large
250         EndFont
251 End
252
253
254 Style PACS
255         Category              FrontMatter
256         Margin                Dynamic
257         LatexType             Command
258         InTitle               1
259         LatexName             pacs
260         LabelType             Static
261         LabelSep              M
262         LabelString           "PACS number:"
263 End
264
265
266 Style Keywords
267         CopyStyle             PACS
268         InTitle               1
269         Latexname             keywords
270         LabelSep              M
271         LabelString           "Keywords:"
272 End
273
274
275 Input stdfloats.inc
276 Input stdcounters.inc