]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
43c4ce84f0f89ed045ed61b4c455195cb641c7c7
[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 36
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         OptionalArgs          1
158         LabelString           "Affiliation (alternate):"
159 End
160
161
162 Style Affiliation_(none)
163         CopyStyle             Affiliation
164         KeepEmpty             1
165         LabelString           "No affiliation"
166         LatexName             noaffiliation%
167 End
168
169
170 Style AltAffiliation
171         ObsoletedBy           Affiliation_(alternate)
172 End
173
174
175 # Address is exactly the same as Affiliation. We just put this in so
176 # that tex2lyx will know what to do with it.
177 Style Address
178         CopyStyle             Affiliation
179         LatexName             address
180         LabelString           "Address:"
181 End
182
183
184 Style Collaboration
185         CopyStyle             Affiliation
186         LatexName             collaboration
187         LabelString           "Collaboration:"
188 End
189
190
191 Style Thanks
192         CopyStyle             Affiliation
193         LatexName             thanks
194         LabelString           "Thanks:"
195 End
196
197
198 Style Author_Email
199         CopyStyle             Affiliation
200         PassThru              1
201         ParbreakIsNewline     1
202         LatexName             email
203         OptionalArgs          1
204         LabelString           "Electronic Address:"
205         TextFont
206           Family              Typewriter
207         EndFont
208         LabelFont
209           Family              Roman
210         EndFont
211 End
212
213
214 Style Author_URL
215         CopyStyle             Author_Email
216         PassThru              1
217         ParbreakIsNewline     1
218         LatexName             homepage
219         OptionalArgs          1
220         LabelString           "URL:"
221 End
222
223
224 Style Abstract
225         InTitle               1
226         ItemSep               0.2
227         ParSep                0.3
228 End
229
230
231 Style Acknowledgments
232         Category              BackMatter
233         LatexType             Environment
234         LatexName             acknowledgments
235         ParIndent             MM
236         ParSkip               0.4
237         TopSep                0.7
238         Align                 Block
239         AlignPossible         Block, Left, Right, Center
240         LabelType             Centered_Top_Environment
241         LabelString           "Acknowledgments"
242         LabelBottomSep        0.5
243         LabelFont
244           Series              Bold
245           Size                Large
246         EndFont
247 End
248
249
250 Style PACS
251         Category              FrontMatter
252         Margin                Dynamic
253         LatexType             Command
254         InTitle               1
255         LatexName             pacs
256         LabelType             Static
257         LabelSep              M
258         LabelString           "PACS number:"
259 End
260
261
262 Style Keywords
263         CopyStyle             PACS
264         InTitle               1
265         Latexname             keywords
266         LabelSep              M
267         LabelString           "Keywords:"
268 End
269
270
271 Input stdfloats.inc
272 Input stdcounters.inc