]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
a6181c5fce30e26fab6b4b4643b4c41d897893ca
[lyx.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 68
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 End
75
76
77 Style Subsubsection
78         Font
79           Series              Medium
80           Shape               Italic
81         EndFont
82 End
83
84
85 Style Paragraph
86         Font
87           Series              Medium
88           Shape               Italic
89         EndFont
90 End
91
92 # then define the unumbered sections, based on the numbered ones.
93 Input stdstarsections.inc
94
95 NoStyle         Chapter
96 NoStyle         Chapter*
97 NoStyle         Subparagraph
98 NoStyle         Subparagraph*
99
100 Input stdlayouts.inc
101 Input stdlists.inc
102 Input stdtitle.inc
103 Input stdstruct.inc
104
105
106 Style Preprint
107         Category              FrontMatter
108         Margin                Right_Address_Box
109         LatexType             Command
110         InTitle               1
111         LatexName             preprint
112         ParSkip               0.4
113         BottomSep             1.5
114         ParSep                1.5
115         Align                 Left
116 End
117
118
119 Style Title
120         Font
121           Series              Bold
122           Size                Large
123         EndFont
124 End
125
126
127 Style Date
128         LabelType             Static
129         LabelString           "Date:"
130         LabelFont
131           Shape               Italic
132         EndFont
133 End
134
135
136 Style Affiliation
137         Category              FrontMatter
138         Margin                Dynamic
139         LatexType             Command
140         InTitle               1
141         LatexName             affiliation
142         ParSkip               0.4
143         Align                 Center
144         AlignPossible         Block, Left, Right, Center
145         LabelType             Static
146         LabelSep              M
147         LabelString           "Affiliation:"
148
149         LabelFont
150           Shape               Italic
151         EndFont
152 End
153
154
155 Style Affiliation_(alternate)
156         CopyStyle             Affiliation
157         PassThru              1
158         ParbreakIsNewline     1
159         LatexName             altaffiliation
160         Argument 1
161                 LabelString   "Alternate Affiliation Option"
162                 Tooltip       "Optional argument to the altaffiliation command"
163         EndArgument
164         LabelString           "Affiliation (alternate):"
165 End
166
167
168 Style Affiliation_(none)
169         CopyStyle             Affiliation
170         KeepEmpty             1
171         LabelString           "No affiliation"
172         LatexName             noaffiliation%
173 End
174
175
176 Style AltAffiliation
177         ObsoletedBy           Affiliation_(alternate)
178 End
179
180
181 # Address is exactly the same as Affiliation. We just put this in so
182 # that tex2lyx will know what to do with it.
183 Style Address
184         CopyStyle             Affiliation
185         LatexName             address
186         LabelString           "Address:"
187 End
188
189
190 Style Collaboration
191         CopyStyle             Affiliation
192         LatexName             collaboration
193         LabelString           "Collaboration:"
194 End
195
196
197 Style Thanks
198         CopyStyle             Affiliation
199         LatexName             thanks
200         LabelString           "Thanks:"
201 End
202
203
204 Style Author_Email
205         CopyStyle             Affiliation
206         PassThru              1
207         ParbreakIsNewline     1
208         LatexName             email
209         Argument 1
210                 LabelString   "Electronic Address Option|s"
211                 Tooltip       "Optional argument to the email command"
212         EndArgument
213         LabelString           "Electronic Address:"
214         TextFont
215           Family              Typewriter
216         EndFont
217         LabelFont
218           Family              Roman
219         EndFont
220 End
221
222
223 Style Author_URL
224         CopyStyle             Author_Email
225         PassThru              1
226         ParbreakIsNewline     1
227         LatexName             homepage
228         Argument 1
229                 LabelString   "Author URL Option"
230                 Tooltip       "Optional argument to the homepage command"
231         EndArgument
232         LabelString           "URL:"
233 End
234
235
236 Style Abstract
237         InTitle               1
238         ItemSep               0.2
239         ParSep                0.3
240 End
241
242
243 Style Acknowledgments
244         Category              BackMatter
245         LatexType             Environment
246         LatexName             acknowledgments
247         ParIndent             MM
248         ParSkip               0.4
249         TopSep                0.7
250         Align                 Block
251         AlignPossible         Block, Left, Right, Center
252         LabelType             Centered
253         LabelString           "Acknowledgments"
254         LabelBottomSep        0.5
255         LabelFont
256           Series              Bold
257           Size                Large
258         EndFont
259 End
260
261
262 Style PACS
263         Category              FrontMatter
264         Margin                Dynamic
265         LatexType             Command
266         InTitle               1
267         LatexName             pacs
268         LabelType             Static
269         LabelSep              M
270         LabelString           "PACS number:"
271 End
272
273
274 Style Keywords
275         CopyStyle             PACS
276         InTitle               1
277         Latexname             keywords
278         LabelSep              M
279         LabelString           "Keywords:"
280 End
281
282
283 # RevTeX uses normal footnotes in tables
284 InsetLayout Foot:InFloatTable
285         CopyStyle             Foot
286 End
287
288
289 Input stdfloats.inc
290 Input stdcounters.inc