]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
fix typo that put too many include paths for most people
[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   LatexName             email
185   LabelString           "Electronic Address: "
186
187   TextFont
188     Family              Typewriter
189   EndFont
190   LabelFont
191 # override Typewriter
192     Family              Roman
193   EndFont
194 End
195
196 Style Author_URL
197   CopyStyle             "Author Email"
198   LatexName             homepage
199   LabelString           "URL: "
200 End
201
202 # Abstract style definition
203 Style Abstract 
204   InTitle               1
205   ItemSep               0.2
206   ParSep                0.3
207
208   LabelFont
209     Size                Large
210   EndFont
211 End 
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   # label definition
222   LabelType             Centered_Top_Environment
223   LabelString           acknowledgments
224   LabelBottomSep        0.5
225   LabelFont
226     Series              Medium
227     Shape               Smallcaps
228     Size                Large
229   EndFont
230 End
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 Style Keywords
242   CopyStyle             PACS
243   InTitle               1
244   Latexname             keywords
245   LabelString           "Keywords: "
246 End
247
248 ### Finally a few obsolete definitions for compatibility
249 Input obsolete.inc
250
251 Style REVTEX_Title
252   ObsoletedBy           Title
253 End