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