]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
small compilation fixes
[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   LatexName             preprint
111   ParSkip               0.4
112   BottomSep             1.5
113   ParSep                1.5
114   Align                 Left
115   AlignPossible         Left
116 End
117
118 # Title style definition
119 Style Title
120   # standard font definition
121   Font
122     Series              Bold
123     Size                Large
124   EndFont
125 End
126
127 # Author style definition
128 # Same as stdstruct.inc except the font
129 Style Author
130   # standard font definition
131   Font
132     Size                Large
133     Shape               Smallcaps
134   EndFont
135 End
136
137 # Date style definition
138 Style Date
139   LabelType             Static
140   LabelString           "Date: "
141
142   # standard font definition
143   LabelFont
144     Shape               Italic
145     Size                Large
146   EndFont
147 End
148
149 Style Affiliation
150   Margin                Dynamic
151   LatexType             Command
152   InTitle               1
153   LatexName             affiliation
154   ParSkip               0.4
155 #  BottomSep            1.5
156 #  ParSep               1.5
157   Align                 Center
158   AlignPossible         Block, Left, Right, Center
159   LabelType             Static
160   LabelString           "Affiliation: "
161
162   LabelFont
163     Shape               Italic
164   EndFont
165 End  
166
167 # Address is exactly the same as Affiliation. We just put this in so
168 # that reLyX will know what to do with it.
169 Style Address
170     CopyStyle           Affiliation
171     LatexName           address
172     LabelString         "Address: "
173 End
174
175 Style Thanks
176   CopyStyle             Affiliation
177   LatexName             thanks
178   LabelString           "Thanks: "
179 End
180
181 Style Author_Email
182   CopyStyle             Affiliation
183   LatexName             email
184   LabelString           "Electronic Address: "
185
186   TextFont
187     Family              Typewriter
188   EndFont
189   LabelFont
190 # override Typewriter
191     Family              Roman
192   EndFont
193 End
194
195 Style Author_URL
196   CopyStyle             "Author Email"
197   LatexName             homepage
198   LabelString           "URL: "
199 End
200
201 # Abstract style definition
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 Style Acknowledgments
213   LatexType             Environment
214   LatexName             acknowledgments
215   ParIndent             MM
216   ParSkip               0.4
217   Align                 Block
218   AlignPossible         Block, Left, Right, Center
219
220   # label definition
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 Style PACS
232   Margin                Dynamic
233   LatexType             Command
234   LatexName             pacs
235   LabelType             Static
236   LabelString           "PACS number: "
237 End
238
239 Style Keywords
240   CopyStyle             PACS
241   Latexname             keywords
242   LabelString           "Keywords: "
243 End
244
245 ### Finally a few obsolete definitions for compatibility
246 Input obsolete.inc
247
248 Style REVTEX_Title
249   ObsoletedBy           Title
250 End