]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
Update layout format.
[lyx.git] / lib / layouts / revtex4.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{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 27
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 NoStyle         Chapter*
104 NoStyle         Subparagraph
105 NoStyle         Subparagraph*
106
107 Input stdlayouts.inc
108 Input stdlists.inc
109 Input stdtitle.inc
110 Input stdstruct.inc
111
112
113 Style Preprint
114         Margin                Right_Address_Box
115         LatexType             Command
116         InTitle               1
117         LatexName             preprint
118         ParSkip               0.4
119         BottomSep             1.5
120         ParSep                1.5
121         Align                 Left
122 End
123
124
125 Style Title
126         Font
127           Series              Bold
128           Size                Large
129         EndFont
130 End
131
132
133 Style Author
134         Font
135           Size                Large
136           Shape               Smallcaps
137         EndFont
138 End
139
140
141 Style Date
142         LabelType             Static
143         LabelString           "Date:"
144         LabelFont
145           Shape               Italic
146           Size                Large
147         EndFont
148 End
149
150
151 Style Affiliation
152         Margin                Dynamic
153         LatexType             Command
154         InTitle               1
155         LatexName             affiliation
156         ParSkip               0.4
157 #  BottomSep            1.5
158 #  ParSep               1.5
159         Align                 Center
160         AlignPossible         Block, Left, Right, Center
161         LabelType             Static
162         LabelSep              M
163         LabelString           "Affiliation:"
164
165         LabelFont
166           Shape               Italic
167         EndFont
168 End
169
170
171 Style AltAffiliation
172         CopyStyle             Affiliation
173         PassThru              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         LatexName             email
200         OptionalArgs          1
201         LabelString           "Electronic Address:"
202         TextFont
203           Family              Typewriter
204         EndFont
205         LabelFont
206           Family              Roman
207         EndFont
208 End
209
210
211 Style Author_URL
212         CopyStyle             Author_Email
213         PassThru              1
214         LatexName             homepage
215         OptionalArgs          1
216         LabelString           "URL:"
217 End
218
219
220 Style Abstract
221         InTitle               1
222         ItemSep               0.2
223         ParSep                0.3
224         LabelFont
225           Size                Large
226         EndFont
227 End
228
229
230 Style Acknowledgments
231         LatexType             Environment
232         LatexName             acknowledgments
233         ParIndent             MM
234         ParSkip               0.4
235         Align                 Block
236         AlignPossible         Block, Left, Right, Center
237         LabelType             Centered_Top_Environment
238         LabelString           "acknowledgments"
239         LabelBottomSep        0.5
240         LabelFont
241           Series              Medium
242           Shape               Smallcaps
243           Size                Large
244         EndFont
245 End
246
247
248 Style PACS
249         Margin                Dynamic
250         LatexType             Command
251         InTitle               1
252         LatexName             pacs
253         LabelType             Static
254         LabelSep              M
255         LabelString           "PACS number:"
256 End
257
258
259 Style Keywords
260         CopyStyle             PACS
261         InTitle               1
262         Latexname             keywords
263         LabelSep              M
264         LabelString           "Keywords:"
265 End
266
267
268 Input stdfloats.inc
269 Input stdcounters.inc