]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
e0f967c2509db59a7c59f702fcb33e73f67d44ae
[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
12
13 Format 31
14 Columns                 1
15 Sides                   1
16 PageStyle               Headers
17 Provides natbib-internal        1
18 Provides url            1
19
20 # Default textclass options. The user may need to modify this.
21 ClassOptions
22         Other                 "aps,manuscript"
23 End
24
25 Preamble
26         \@ifundefined{textcolor}{}
27         {%
28          \definecolor{BLACK}{gray}{0}
29          \definecolor{WHITE}{gray}{1}
30          \definecolor{RED}{rgb}{1,0,0}
31          \definecolor{GREEN}{rgb}{0,1,0}
32          \definecolor{BLUE}{rgb}{0,0,1}
33          \definecolor{CYAN}{cmyk}{1,0,0,0}
34          \definecolor{MAGENTA}{cmyk}{0,1,0,0}
35          \definecolor{YELLOW}{cmyk}{0,0,1,0}
36          }
37 EndPreamble
38
39
40 Style Standard
41         Margin                Static
42         LatexType             Paragraph
43         LatexName             dummy
44         ParIndent             MM
45         ParSkip               0.4
46         Align                 Block
47         AlignPossible         Block, Left, Right, Center
48         LabelType             No_Label
49 End
50
51
52 # Idea from aapaper: declare all layouts here ("Style Foo\nEnd\n")
53 # so that they appear in a specific order in the layout dropdown menu.
54
55 Input stdinsets.inc
56 Input stdsections.inc
57 Input numrevtex.inc
58
59 Style Section
60         Align                 Center
61         AlignPossible         Block, Center, Left
62         Font
63           Series              Medium
64           Shape               Smallcaps
65           Size                Large
66         EndFont
67         TocLevel 1
68 End
69
70
71 Style Subsection
72         Font
73           Series              Bold
74           Size                Normal
75         EndFont
76         TocLevel 2
77 End
78
79
80 Style Subsubsection
81         Font
82           Shape               Italic
83           Size                Normal
84         EndFont
85         TocLevel 3
86 End
87
88
89 Style Paragraph
90         TopSep                0.7
91         ParSep                0.4
92         Font
93           Shape               Italic
94           Size                Normal
95         EndFont
96         TocLevel 4
97 End
98
99 # then define the unumbered sections, based on the numbered ones.
100 Input stdstarsections.inc
101
102 NoStyle         Chapter
103 NoCounter         chapter
104 NoStyle         Chapter*
105 NoStyle         Subparagraph
106 NoCounter         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         Margin                Right_Address_Box
117         LatexType             Command
118         InTitle               1
119         LatexName             preprint
120         ParSkip               0.4
121         BottomSep             1.5
122         ParSep                1.5
123         Align                 Left
124 End
125
126
127 Style Title
128         Font
129           Series              Bold
130           Size                Large
131         EndFont
132 End
133
134
135 Style Author
136         Font
137           Size                Large
138           Shape               Smallcaps
139         EndFont
140 End
141
142
143 Style Date
144         LabelType             Static
145         LabelString           "Date:"
146         LabelFont
147           Shape               Italic
148           Size                Large
149         EndFont
150 End
151
152
153 Style Affiliation
154         Margin                Dynamic
155         LatexType             Command
156         InTitle               1
157         LatexName             affiliation
158         ParSkip               0.4
159 #  BottomSep            1.5
160 #  ParSep               1.5
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         LatexType             Environment
237         LatexName             acknowledgments
238         ParIndent             MM
239         ParSkip               0.4
240         Align                 Block
241         AlignPossible         Block, Left, Right, Center
242         LabelType             Centered_Top_Environment
243         LabelString           "acknowledgments"
244         LabelBottomSep        0.5
245         LabelFont
246           Series              Medium
247           Shape               Smallcaps
248           Size                Large
249         EndFont
250 End
251
252
253 Style PACS
254         Margin                Dynamic
255         LatexType             Command
256         InTitle               1
257         LatexName             pacs
258         LabelType             Static
259         LabelSep              M
260         LabelString           "PACS number:"
261 End
262
263
264 Style Keywords
265         CopyStyle             PACS
266         InTitle               1
267         Latexname             keywords
268         LabelSep              M
269         LabelString           "Keywords:"
270 End
271
272
273 Input stdfloats.inc
274 Input stdcounters.inc