]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
revtex4.layout : whitespace and comments
[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         Margin                Static
43         LatexType             Paragraph
44         LatexName             dummy
45         ParIndent             MM
46         ParSkip               0.4
47         Align                 Block
48         AlignPossible         Block, Left, Right, Center
49         LabelType             No_Label
50 End
51
52
53 # Idea from aapaper: declare all layouts here ("Style Foo\nEnd\n")
54 # so that they appear in a specific order in the layout dropdown menu.
55
56 Input stdinsets.inc
57 Input stdsections.inc
58 Input numrevtex.inc
59
60 Style Section
61         Align                 Center
62         AlignPossible         Block, Center, Left
63         Font
64           Series              Medium
65           Shape               Smallcaps
66           Size                Large
67         EndFont
68         TocLevel              1
69 End
70
71
72 Style Subsection
73         Font
74           Series              Bold
75           Size                Normal
76         EndFont
77         TocLevel              2
78 End
79
80
81 Style Subsubsection
82         Font
83           Shape               Italic
84           Size                Normal
85         EndFont
86         TocLevel              3
87 End
88
89
90 Style Paragraph
91         TopSep                0.7
92         ParSep                0.4
93         Font
94           Shape               Italic
95           Size                Normal
96         EndFont
97         TocLevel              4
98 End
99
100 # then define the unumbered sections, based on the numbered ones.
101 Input stdstarsections.inc
102
103 NoStyle         Chapter
104 NoStyle         Chapter*
105 NoStyle         Subparagraph
106 NoStyle         Subparagraph*
107
108 Input stdlayouts.inc
109 Input stdlists.inc
110 Input stdtitle.inc
111 Input stdstruct.inc
112
113
114 Style Preprint
115         Margin                Right_Address_Box
116         LatexType             Command
117         InTitle               1
118         LatexName             preprint
119         ParSkip               0.4
120         BottomSep             1.5
121         ParSep                1.5
122         Align                 Left
123 End
124
125
126 Style Title
127         Font
128           Series              Bold
129           Size                Large
130         EndFont
131 End
132
133
134 Style Author
135         Font
136           Size                Large
137           Shape               Smallcaps
138         EndFont
139 End
140
141
142 Style Date
143         LabelType             Static
144         LabelString           "Date:"
145         LabelFont
146           Shape               Italic
147           Size                Large
148         EndFont
149 End
150
151
152 Style Affiliation
153         Margin                Dynamic
154         LatexType             Command
155         InTitle               1
156         LatexName             affiliation
157         ParSkip               0.4
158         Align                 Center
159         AlignPossible         Block, Left, Right, Center
160         LabelType             Static
161         LabelSep              M
162         LabelString           "Affiliation:"
163
164         LabelFont
165           Shape               Italic
166         EndFont
167 End
168
169
170 Style AltAffiliation
171         CopyStyle             Affiliation
172         PassThru              1
173         ParbreakIsNewline     1
174         LatexName             altaffiliation
175         OptionalArgs          1
176         LabelString           "AltAffiliation"
177 End
178
179
180 # Address is exactly the same as Affiliation. We just put this in so
181 # that tex2lyx will know what to do with it.
182 Style Address
183         CopyStyle             Affiliation
184         LatexName             address
185         LabelString           "Address:"
186 End
187
188
189 Style Thanks
190         CopyStyle             Affiliation
191         LatexName             thanks
192         LabelString           "Thanks:"
193 End
194
195
196 Style Author_Email
197         CopyStyle             Affiliation
198         PassThru              1
199         ParbreakIsNewline     1
200         LatexName             email
201         OptionalArgs          1
202         LabelString           "Electronic Address:"
203         TextFont
204           Family              Typewriter
205         EndFont
206         LabelFont
207           Family              Roman
208         EndFont
209 End
210
211
212 Style Author_URL
213         CopyStyle             Author_Email
214         PassThru              1
215         ParbreakIsNewline     1
216         LatexName             homepage
217         OptionalArgs          1
218         LabelString           "URL:"
219 End
220
221
222 Style Abstract
223         InTitle               1
224         ItemSep               0.2
225         ParSep                0.3
226         LabelFont
227           Size                Large
228         EndFont
229 End
230
231
232 Style Acknowledgments
233         LatexType             Environment
234         LatexName             acknowledgments
235         ParIndent             MM
236         ParSkip               0.4
237         Align                 Block
238         AlignPossible         Block, Left, Right, Center
239         LabelType             Centered_Top_Environment
240         LabelString           "acknowledgments"
241         LabelBottomSep        0.5
242         LabelFont
243           Series              Medium
244           Shape               Smallcaps
245           Size                Large
246         EndFont
247 End
248
249
250 Style PACS
251         Margin                Dynamic
252         LatexType             Command
253         InTitle               1
254         LatexName             pacs
255         LabelType             Static
256         LabelSep              M
257         LabelString           "PACS number:"
258 End
259
260
261 Style Keywords
262         CopyStyle             PACS
263         InTitle               1
264         Latexname             keywords
265         LabelSep              M
266         LabelString           "Keywords:"
267 End
268
269
270 Input stdfloats.inc
271 Input stdcounters.inc