]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
a07d05d8ee6523269ec344c13b4c525c6945f3ef
[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 # General textclass parameters
13 Columns                 1
14 Sides                   1
15 PageStyle               Headers
16 MaxCounter              Counter_Section
17
18 # Default textclass options. The user may need to modify this.
19 ClassOptions
20         Other                 "aps,manuscript"
21 End
22
23
24 Style Standard
25         Margin                Static
26         LatexType             Paragraph
27         LatexName             dummy
28         ParIndent             MM
29         ParSkip               0.4
30         Align                 Block
31         AlignPossible         Block, Left, Right, Center
32         LabelType             No_Label
33 End
34
35 # Idea from aapaper: declare all layouts here ("Style Foo\nEnd\n")
36 # so that they appear in a specific order in the layout dropdown menu?
37
38 ############### Sections.
39
40 Input stdsections.inc
41
42 # Redefine some of the section styles.
43
44
45 Style Section
46         Align                 Center
47         AlignPossible         Block, Center, Left
48
49         Font
50           Series              Medium
51           Shape               Smallcaps
52           Size                Large
53         EndFont
54 End
55
56
57 Style Subsection
58         Font
59           Series              Bold
60           Size                Normal
61         EndFont
62 End
63
64
65 Style Subsubsection
66         Font
67           Shape               Italic
68           Size                Normal
69         EndFont
70 End
71
72
73 Style Paragraph
74         TopSep                0.7
75         ParSep                0.4
76
77         Font
78           Shape               Italic
79           Size                Normal
80         EndFont
81 End
82
83 # then define the unumbered sections, based on the numbered ones.
84 Input stdstarsections.inc
85
86 # remove the layouts that do not make sense.
87 NoStyle         Chapter
88 NoStyle         Chapter*
89 NoStyle         Subparagraph
90 NoStyle         Subparagraph*
91
92 ########### LAYOUTS quotes, etc.
93 Input stdlayouts.inc
94
95 ########## LISTS
96 Input stdlists.inc
97
98 ################ STRUCTURE OF THE DOCUMENT
99 Input stdtitle.inc
100 Input stdstruct.inc
101
102
103 Style Preprint
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         AlignPossible         Left
113 End
114
115
116 Style Title
117         Font
118           Series              Bold
119           Size                Large
120         EndFont
121 End
122
123
124 # Same as stdstruct.inc except the font
125 Style Author
126         Font
127           Size                Large
128           Shape               Smallcaps
129         EndFont
130 End
131
132
133 Style Date
134         LabelType             Static
135         LabelString           "Date: "
136
137         LabelFont
138           Shape               Italic
139           Size                Large
140         EndFont
141 End
142
143 Style Affiliation
144         Margin                Dynamic
145         LatexType             Command
146         InTitle               1
147         LatexName             affiliation
148         ParSkip               0.4
149 #  BottomSep            1.5
150 #  ParSep               1.5
151         Align                 Center
152         AlignPossible         Block, Left, Right, Center
153         LabelType             Static
154         LabelString           "Affiliation: "
155
156         LabelFont
157           Shape               Italic
158         EndFont
159 End  
160
161
162 # Address is exactly the same as Affiliation. We just put this in so
163 # that reLyX 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         LabelString           "Electronic Address: "
183
184         TextFont
185           Family              Typewriter
186         EndFont
187         LabelFont
188 # override Typewriter
189           Family              Roman
190         EndFont
191 End
192
193
194 Style Author_URL
195         CopyStyle             "Author Email"
196         PassThru              1
197         LatexName             homepage
198         LabelString           "URL: "
199 End
200
201
202 Style Abstract 
203         InTitle               1
204         ItemSep               0.2
205         ParSep                0.3
206
207         LabelFont
208           Size                Large
209         EndFont
210 End 
211
212
213 Style Acknowledgments
214         LatexType             Environment
215         LatexName             acknowledgments
216         ParIndent             MM
217         ParSkip               0.4
218         Align                 Block
219         AlignPossible         Block, Left, Right, Center
220
221         LabelType             Centered_Top_Environment
222         LabelString           acknowledgments
223         LabelBottomSep        0.5
224         LabelFont
225           Series              Medium
226           Shape               Smallcaps
227           Size                Large
228         EndFont
229 End
230
231
232 Style PACS
233         Margin                Dynamic
234         LatexType             Command
235         InTitle               1
236         LatexName             pacs
237         LabelType             Static
238         LabelString           "PACS number: "
239 End
240
241
242 Style Keywords
243         CopyStyle             PACS
244         InTitle               1
245         Latexname             keywords
246         LabelString           "Keywords: "
247 End
248
249
250 Input stdfloats.inc
251 Input stdcounters.inc
252
253
254 ### Finally a few obsolete definitions for compatibility
255 Input obsolete.inc
256
257
258 Style REVTEX_Title
259         ObsoletedBy           Title
260 End