]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
Fix a warning and a buglet in build-listerrors script.
[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 - using changes
10 #                       made by Jean-Marc Lasgouttes to amsart.layout)
11 #          Amir Karger (RevTeX 4 beta) 9/1999
12
13 #TODO: need to make a thanks layout and write note in template not to
14 #put footnotes in the title matter!
15 #TODO: examine this issue that it seems you need to put the address last or you
16 #get errors (seems to happen even when not using lyx...)
17
18 # General textclass parameters
19 Columns                 1
20 Sides                   1
21 PageStyle               Headers
22 MaxCounter              Counter_Section
23
24 # Default textclass options. The user may need to modify this.
25 ClassOptions
26   Other                 "aps,manuscript"
27 End
28
29 # Standard style definition
30 Style Standard
31   Margin                Static
32   LatexType             Paragraph
33   LatexName             dummy
34   ParIndent             MM
35   ParSkip               0.4
36   Align                 Block
37   AlignPossible         Block, Left, Right, Center
38   LabelType             No_Label
39 End
40
41 # Idea from aapaper: declare all layouts here ("Style Foo\nEnd\n")
42 # so that they appear in a specific order in the layout dropdown menu?
43
44 ############### Sections.
45
46 Input stdsections.inc
47
48 # Redefine some of the section styles.
49
50 # Section-numbered style definition
51 Style Section
52   Align                 Center
53   AlignPossible         Block, Center, Left
54
55   # standard font definition
56   Font
57     Series              Medium
58     Shape               Smallcaps
59     Size                Large
60   EndFont
61 End
62
63 # Subsection-numbered style definition
64 Style Subsection
65   # standard font definition
66   Font
67     Series              Bold
68     Size                Normal
69   EndFont
70 End
71
72 # Subsubsection-numbered style definition
73 Style Subsubsection
74   # standard font definition
75   Font
76     Shape               Italic
77     Size                Normal
78   EndFont
79 End
80
81 # Paragraph-numbered style definition
82 Style Paragraph
83   TopSep                0.7
84   ParSep                0.4
85
86   # standard font definition
87   Font
88     Shape               Italic
89     Size                Normal
90   EndFont
91 End
92
93 # then define the unumbered sections, based on the numbered ones.
94 Input stdstarsections.inc
95
96 # remove the layouts that do not make sense.
97 NoStyle         Chapter
98 NoStyle         Chapter*
99 NoStyle         Subparagraph
100 NoStyle         Subparagraph*
101
102 ########### LAYOUTS quotes, etc.
103 Input stdlayouts.inc
104
105 ########## LISTS
106 Input stdlists.inc
107
108 ################ STRUCTURE OF THE DOCUMENT
109 Input stdtitle.inc
110 Input stdstruct.inc
111
112 # Preprint style
113 Style Preprint
114   Margin                Right_Address_Box
115   LatexType             Command
116   LatexName             preprint
117   ParSkip               0.4
118   BottomSep             1.5
119   ParSep                1.5
120   Align                 Left
121   AlignPossible         Left
122 End
123
124 # Title style definition
125 Style Title
126   # standard font definition
127   Font
128     Series              Bold
129     Size                Large
130   EndFont
131 End
132
133 # Author style definition
134 # Same as stdstruct.inc except the font
135 Style Author
136   # standard font definition
137   Font
138     Size                Large
139     Shape               Smallcaps
140   EndFont
141 End
142
143 # Date style definition
144 Style Date
145   LabelType             Static
146   LabelString           "Date: "
147
148   # standard font definition
149   LabelFont
150     Shape               Italic
151     Size                Large
152   EndFont
153 End
154
155 # Address style definition
156 # (This style is same as Afilliation for Phys. Rev.)
157 Style Address
158   Margin                Dynamic
159   LatexType             Command
160   InTitle               1
161   LatexName             address
162   ParSkip               0.4
163 #  BottomSep            1.5
164 #  ParSep               1.5
165   Align                 Center
166   AlignPossible         Block, Left, Right, Center
167   LabelType             Static
168   LabelString           "Address: "
169
170   LabelFont
171     Shape               Italic
172   EndFont
173 End  
174
175 Style Affiliation
176   CopyStyle             Address
177   LatexName             affiliation
178   LabelString           "Affiliation: "
179 End
180
181 Style Thanks
182   CopyStyle             Address
183   LatexName             thanks
184   LabelString           "Thanks: "
185 End
186
187 Style Author_Email
188   CopyStyle             Address
189   LatexName             email
190   LabelString           "Electronic Address: "
191
192   TextFont
193     Family              Typewriter
194   EndFont
195   LabelFont
196 # override Typewriter
197     Family              Roman
198   EndFont
199 End
200
201 Style Author_URL
202   CopyStyle             "Author Email"
203   LatexName             homepage
204   LabelString           "URL: "
205 End
206
207 # Abstract style definition
208 Style Abstract 
209   InTitle               1
210   ItemSep               0.2
211   ParSep                0.3
212
213   LabelFont
214     Size                Large
215   EndFont
216 End 
217
218 Style PACS
219   Margin                Dynamic
220   LatexType             Command
221   LatexName             pacs
222   LabelType             Static
223   LabelString           "PACS number: "
224 End
225
226 Style Keywords
227   CopyStyle             PACS
228   Latexname             keywords
229   LabelString           "Keywords: "
230 End
231
232 ### Finally a few obsolete definitions for compatibility
233 Input obsolete.inc
234
235 Style REVTEX_Title
236   ObsoletedBy           Title
237 End