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