]> git.lyx.org Git - features.git/blob - lib/layouts/revtex4.layout
* revtex4.layout : Remove redundant toclevels and par sep.
[features.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 AltAffiliation
152         CopyStyle             Affiliation
153         PassThru              1
154         ParbreakIsNewline     1
155         LatexName             altaffiliation
156         OptionalArgs          1
157         LabelString           "AltAffiliation"
158 End
159
160
161 # Address is exactly the same as Affiliation. We just put this in so
162 # that tex2lyx will know what to do with it.
163 Style Address
164         CopyStyle             Affiliation
165         LatexName             address
166         LabelString           "Address:"
167 End
168
169
170 Style Thanks
171         CopyStyle             Affiliation
172         LatexName             thanks
173         LabelString           "Thanks:"
174 End
175
176
177 Style Author_Email
178         CopyStyle             Affiliation
179         PassThru              1
180         ParbreakIsNewline     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         ParbreakIsNewline     1
197         LatexName             homepage
198         OptionalArgs          1
199         LabelString           "URL:"
200 End
201
202
203 Style Abstract
204         InTitle               1
205         ItemSep               0.2
206         ParSep                0.3
207 End
208
209
210 Style Acknowledgments
211         Category              BackMatter
212         LatexType             Environment
213         LatexName             acknowledgments
214         ParIndent             MM
215         ParSkip               0.4
216         TopSep                0.7
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              Bold
224           Size                Large
225         EndFont
226 End
227
228
229 Style PACS
230         Category              FrontMatter
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