]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
e21ff48ec149d0c62bf7c85c2acb9d87daf59145
[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 41
15
16 Columns                   1
17 Sides                     1
18 PageStyle                 Headers
19 Provides natbib-internal  1
20 Provides url              1
21
22 SecNumDepth               4
23 TocDepth                  3
24
25 # Default textclass options. The user may need to modify this.
26 ClassOptions
27         Other                 "aps,manuscript"
28 End
29
30 Preamble
31         \@ifundefined{textcolor}{}
32         {%
33          \definecolor{BLACK}{gray}{0}
34          \definecolor{WHITE}{gray}{1}
35          \definecolor{RED}{rgb}{1,0,0}
36          \definecolor{GREEN}{rgb}{0,1,0}
37          \definecolor{BLUE}{rgb}{0,0,1}
38          \definecolor{CYAN}{cmyk}{1,0,0,0}
39          \definecolor{MAGENTA}{cmyk}{0,1,0,0}
40          \definecolor{YELLOW}{cmyk}{0,0,1,0}
41         }
42 EndPreamble
43
44
45 Style Standard
46         Category              MainText
47         Margin                Static
48         LatexType             Paragraph
49         LatexName             dummy
50         ParIndent             MM
51         ParSkip               0.4
52         Align                 Block
53         AlignPossible         Block, Left, Right, Center
54         LabelType             No_Label
55 End
56
57
58 # Idea from aapaper: declare all layouts here ("Style Foo\nEnd\n")
59 # so that they appear in a specific order in the layout dropdown menu.
60
61 Input stdinsets.inc
62 Input stdsections.inc
63 Input numrevtex.inc
64
65 Style Section
66         Align                 Center
67         AlignPossible         Block, Center, Left
68         Font
69           Shape               Smallcaps
70         EndFont
71 End
72
73
74 Style Subsubsection
75         Font
76           Series              Medium
77           Shape               Italic
78         EndFont
79 End
80
81
82 Style Paragraph
83         Font
84           Series              Medium
85           Shape               Italic
86         EndFont
87 End
88
89 # then define the unumbered sections, based on the numbered ones.
90 Input stdstarsections.inc
91
92 NoStyle         Chapter
93 NoStyle         Chapter*
94 NoStyle         Subparagraph
95 NoStyle         Subparagraph*
96
97 Input stdlayouts.inc
98 Input stdlists.inc
99 Input stdtitle.inc
100 Input stdstruct.inc
101
102
103 Style Preprint
104         Category              FrontMatter
105         Margin                Right_Address_Box
106         LatexType             Command
107         InTitle               1
108         LatexName             preprint
109         ParSkip               0.4
110         BottomSep             1.5
111         ParSep                1.5
112         Align                 Left
113 End
114
115
116 Style Title
117         Font
118           Series              Bold
119           Size                Large
120         EndFont
121 End
122
123
124 Style Date
125         LabelType             Static
126         LabelString           "Date:"
127         LabelFont
128           Shape               Italic
129         EndFont
130 End
131
132
133 Style Affiliation
134         Category              FrontMatter
135         Margin                Dynamic
136         LatexType             Command
137         InTitle               1
138         LatexName             affiliation
139         ParSkip               0.4
140         Align                 Center
141         AlignPossible         Block, Left, Right, Center
142         LabelType             Static
143         LabelSep              M
144         LabelString           "Affiliation:"
145
146         LabelFont
147           Shape               Italic
148         EndFont
149 End
150
151
152 Style Affiliation_(alternate)
153         CopyStyle             Affiliation
154         PassThru              1
155         ParbreakIsNewline     1
156         LatexName             altaffiliation
157         Argument 1
158                 LabelString   "Alternate Affiliation Option"
159                 Shortcut      S
160                 Tooltip       "Optional argument to the altaffiliation command"
161         EndArgument
162         LabelString           "Affiliation (alternate):"
163 End
164
165
166 Style Affiliation_(none)
167         CopyStyle             Affiliation
168         KeepEmpty             1
169         LabelString           "No affiliation"
170         LatexName             noaffiliation%
171 End
172
173
174 Style AltAffiliation
175         ObsoletedBy           Affiliation_(alternate)
176 End
177
178
179 # Address is exactly the same as Affiliation. We just put this in so
180 # that tex2lyx will know what to do with it.
181 Style Address
182         CopyStyle             Affiliation
183         LatexName             address
184         LabelString           "Address:"
185 End
186
187
188 Style Collaboration
189         CopyStyle             Affiliation
190         LatexName             collaboration
191         LabelString           "Collaboration:"
192 End
193
194
195 Style Thanks
196         CopyStyle             Affiliation
197         LatexName             thanks
198         LabelString           "Thanks:"
199 End
200
201
202 Style Author_Email
203         CopyStyle             Affiliation
204         PassThru              1
205         ParbreakIsNewline     1
206         LatexName             email
207         Argument 1
208                 LabelString   "Electronic Address Option"
209                 Shortcut      S
210                 Tooltip       "Optional argument to the email command"
211         EndArgument
212         LabelString           "Electronic Address:"
213         TextFont
214           Family              Typewriter
215         EndFont
216         LabelFont
217           Family              Roman
218         EndFont
219 End
220
221
222 Style Author_URL
223         CopyStyle             Author_Email
224         PassThru              1
225         ParbreakIsNewline     1
226         LatexName             homepage
227         Argument 1
228                 LabelString   "Author URL Option"
229                 Shortcut      S
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_Top_Environment
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 Input stdfloats.inc
284 Input stdcounters.inc