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