]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
* doc/cs_Tutorial.lyx: update by Pavel Sanda
[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 2
14 Columns                 1
15 Sides                   1
16 PageStyle               Headers
17 ProvidesNatbib          1
18 ProvidesUrl             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 stdsections.inc
42 Input numrevtex.inc
43
44 Style Section
45         Align                 Center
46         AlignPossible         Block, Center, Left
47         Font
48           Series              Medium
49           Shape               Smallcaps
50           Size                Large
51         EndFont
52 End
53
54
55 Style Subsection
56         Font
57           Series              Bold
58           Size                Normal
59         EndFont
60 End
61
62
63 Style Subsubsection
64         Font
65           Shape               Italic
66           Size                Normal
67         EndFont
68 End
69
70
71 Style Paragraph
72         TopSep                0.7
73         ParSep                0.4
74         Font
75           Shape               Italic
76           Size                Normal
77         EndFont
78 End
79
80 # then define the unumbered sections, based on the numbered ones.
81 Input stdstarsections.inc
82
83 NoStyle         Chapter
84 NoStyle         Chapter*
85 NoStyle         Subparagraph
86 NoStyle         Subparagraph*
87
88 Input stdlayouts.inc
89 Input stdlists.inc
90 Input stdtitle.inc
91 Input stdstruct.inc
92
93
94 Style Preprint
95         Margin                Right_Address_Box
96         LatexType             Command
97         InTitle               1
98         LatexName             preprint
99         ParSkip               0.4
100         BottomSep             1.5
101         ParSep                1.5
102         Align                 Left
103         AlignPossible         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 # Address is exactly the same as Affiliation. We just put this in so
154 # that tex2lyx will know what to do with it.
155 Style Address
156         CopyStyle             Affiliation
157         LatexName             address
158         LabelString           "Address:"
159 End
160
161
162 Style Thanks
163         CopyStyle             Affiliation
164         LatexName             thanks
165         LabelString           "Thanks:"
166 End
167
168
169 Style Author_Email
170         CopyStyle             Affiliation
171         PassThru              1
172         LatexName             email
173         LabelString           "Electronic Address:"
174         TextFont
175           Family              Typewriter
176         EndFont
177         LabelFont
178           Family              Roman
179         EndFont
180 End
181
182
183 Style Author_URL
184         CopyStyle             Author_Email
185         PassThru              1
186         LatexName             homepage
187         LabelString           "URL:"
188 End
189
190
191 Style Abstract
192         InTitle               1
193         ItemSep               0.2
194         ParSep                0.3
195         LabelFont
196           Size                Large
197         EndFont
198 End
199
200
201 Style Acknowledgments
202         LatexType             Environment
203         LatexName             acknowledgments
204         ParIndent             MM
205         ParSkip               0.4
206         Align                 Block
207         AlignPossible         Block, Left, Right, Center
208         LabelType             Centered_Top_Environment
209         LabelString           "acknowledgments"
210         LabelBottomSep        0.5
211         LabelFont
212           Series              Medium
213           Shape               Smallcaps
214           Size                Large
215         EndFont
216 End
217
218
219 Style PACS
220         Margin                Dynamic
221         LatexType             Command
222         InTitle               1
223         LatexName             pacs
224         LabelType             Static
225         LabelSep              M
226         LabelString           "PACS number:"
227 End
228
229
230 Style Keywords
231         CopyStyle             PACS
232         InTitle               1
233         Latexname             keywords
234         LabelSep              M
235         LabelString           "Keywords:"
236 End
237
238
239 Input stdfloats.inc
240 Input stdcounters.inc