]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
add stdfloats.inc and stdcounters.inc to a lot of layout files
[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 # Standard style definition
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 # Section-numbered style definition
45 Style Section
46   Align                 Center
47   AlignPossible         Block, Center, Left
48
49   # standard font definition
50   Font
51     Series              Medium
52     Shape               Smallcaps
53     Size                Large
54   EndFont
55 End
56
57 # Subsection-numbered style definition
58 Style Subsection
59   # standard font definition
60   Font
61     Series              Bold
62     Size                Normal
63   EndFont
64 End
65
66 # Subsubsection-numbered style definition
67 Style Subsubsection
68   # standard font definition
69   Font
70     Shape               Italic
71     Size                Normal
72   EndFont
73 End
74
75 # Paragraph-numbered style definition
76 Style Paragraph
77   TopSep                0.7
78   ParSep                0.4
79
80   # standard font definition
81   Font
82     Shape               Italic
83     Size                Normal
84   EndFont
85 End
86
87 # then define the unumbered sections, based on the numbered ones.
88 Input stdstarsections.inc
89
90 # remove the layouts that do not make sense.
91 NoStyle         Chapter
92 NoStyle         Chapter*
93 NoStyle         Subparagraph
94 NoStyle         Subparagraph*
95
96 ########### LAYOUTS quotes, etc.
97 Input stdlayouts.inc
98
99 ########## LISTS
100 Input stdlists.inc
101
102 ################ STRUCTURE OF THE DOCUMENT
103 Input stdtitle.inc
104 Input stdstruct.inc
105
106 # Preprint style
107 Style Preprint
108   Margin                Right_Address_Box
109   LatexType             Command
110   InTitle               1
111   LatexName             preprint
112   ParSkip               0.4
113   BottomSep             1.5
114   ParSep                1.5
115   Align                 Left
116   AlignPossible         Left
117 End
118
119 # Title style definition
120 Style Title
121   # standard font definition
122   Font
123     Series              Bold
124     Size                Large
125   EndFont
126 End
127
128 # Author style definition
129 # Same as stdstruct.inc except the font
130 Style Author
131   # standard font definition
132   Font
133     Size                Large
134     Shape               Smallcaps
135   EndFont
136 End
137
138 # Date style definition
139 Style Date
140   LabelType             Static
141   LabelString           "Date: "
142
143   # standard font definition
144   LabelFont
145     Shape               Italic
146     Size                Large
147   EndFont
148 End
149
150 Style Affiliation
151   Margin                Dynamic
152   LatexType             Command
153   InTitle               1
154   LatexName             affiliation
155   ParSkip               0.4
156 #  BottomSep            1.5
157 #  ParSep               1.5
158   Align                 Center
159   AlignPossible         Block, Left, Right, Center
160   LabelType             Static
161   LabelString           "Affiliation: "
162
163   LabelFont
164     Shape               Italic
165   EndFont
166 End  
167
168 # Address is exactly the same as Affiliation. We just put this in so
169 # that reLyX will know what to do with it.
170 Style Address
171     CopyStyle           Affiliation
172     LatexName           address
173     LabelString         "Address: "
174 End
175
176 Style Thanks
177   CopyStyle             Affiliation
178   LatexName             thanks
179   LabelString           "Thanks: "
180 End
181
182 Style Author_Email
183   CopyStyle             Affiliation
184   PassThru              1
185   LatexName             email
186   LabelString           "Electronic Address: "
187
188   TextFont
189     Family              Typewriter
190   EndFont
191   LabelFont
192 # override Typewriter
193     Family              Roman
194   EndFont
195 End
196
197 Style Author_URL
198   CopyStyle             "Author Email"
199   PassThru              1
200   LatexName             homepage
201   LabelString           "URL: "
202 End
203
204 # Abstract style definition
205 Style Abstract 
206   InTitle               1
207   ItemSep               0.2
208   ParSep                0.3
209
210   LabelFont
211     Size                Large
212   EndFont
213 End 
214
215 Style Acknowledgments
216   LatexType             Environment
217   LatexName             acknowledgments
218   ParIndent             MM
219   ParSkip               0.4
220   Align                 Block
221   AlignPossible         Block, Left, Right, Center
222
223   # label definition
224   LabelType             Centered_Top_Environment
225   LabelString           acknowledgments
226   LabelBottomSep        0.5
227   LabelFont
228     Series              Medium
229     Shape               Smallcaps
230     Size                Large
231   EndFont
232 End
233
234 Style PACS
235   Margin                Dynamic
236   LatexType             Command
237   InTitle               1
238   LatexName             pacs
239   LabelType             Static
240   LabelString           "PACS number: "
241 End
242
243 Style Keywords
244   CopyStyle             PACS
245   InTitle               1
246   Latexname             keywords
247   LabelString           "Keywords: "
248 End
249
250 Input stdfloats.inc
251 Input stdcounters.inc
252
253 ### Finally a few obsolete definitions for compatibility
254 Input obsolete.inc
255
256 Style REVTEX_Title
257   ObsoletedBy           Title
258 End