This commit was manufactured by cvs2svn to create tag
[lyx.git] / lib / layouts / revtex4.layout
blob5e563dd4c11ab5c357e0f81ce13e330e7beac2ca
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
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...)
18 # General textclass parameters
19 Columns                 1
20 Sides                   1
21 PageStyle               Headers
22 MaxCounter              Counter_Section
24 # Default textclass options. The user may need to modify this.
25 ClassOptions
26   Other                 "aps,manuscript"
27 End
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
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?
44 ############### Sections.
46 Input stdsections.inc
48 # Redefine some of the section styles.
50 # Section-numbered style definition
51 Style Section
52   Align                 Center
53   AlignPossible         Block, Center, Left
55   # standard font definition
56   Font
57     Series              Medium
58     Shape               Smallcaps
59     Size                Large
60   EndFont
61 End
63 # Subsection-numbered style definition
64 Style Subsection
65   # standard font definition
66   Font
67     Series              Bold
68     Size                Normal
69   EndFont
70 End
72 # Subsubsection-numbered style definition
73 Style Subsubsection
74   # standard font definition
75   Font
76     Shape               Italic
77     Size                Normal
78   EndFont
79 End
81 # Paragraph-numbered style definition
82 Style Paragraph
83   TopSep                0.7
84   ParSep                0.4
86   # standard font definition
87   Font
88     Shape               Italic
89     Size                Normal
90   EndFont
91 End
93 # then define the unumbered sections, based on the numbered ones.
94 Input stdstarsections.inc
96 # remove the layouts that do not make sense.
97 NoStyle         Chapter
98 NoStyle         Chapter*
99 NoStyle         Subparagraph
100 NoStyle         Subparagraph*
102 ########### LAYOUTS quotes, etc.
103 Input stdlayouts.inc
105 ########## LISTS
106 Input stdlists.inc
108 ################ STRUCTURE OF THE DOCUMENT
109 Input stdstruct.inc
111 # Preprint style
112 Style Preprint
113   Margin                Right_Address_Box
114   LatexType             Command
115   LatexName             preprint
116   ParSkip               0.4
117   BottomSep             1.5
118   ParSep                1.5
119   Align                 Left
120   AlignPossible         Left
123 # Title style definition
124 Style Title
125   # standard font definition
126   Font
127     Series              Bold
128     Size                Large
129   EndFont
132 # Author style definition
133 # Same as stdstruct.inc except the font
134 Style Author
135   # standard font definition
136   Font
137     Size                Large
138     Shape               Smallcaps
139   EndFont
142 # Date style definition
143 Style Date
144   LabelType             Static
145   LabelString           "Date: "
147   # standard font definition
148   LabelFont
149     Shape               Italic
150     Size                Large
151   EndFont
154 # Address style definition
155 # (This style is same as Afilliation for Phys. Rev.)
156 Style Address
157   Margin                Dynamic
158   LatexType             Command
159   InTitle               1
160   LatexName             address
161   ParSkip               0.4
162 #  BottomSep            1.5
163 #  ParSep               1.5
164   Align                 Center
165   AlignPossible         Block, Left, Right, Center
166   LabelType             Static
167   LabelString           "Address: "
169   LabelFont
170     Shape               Italic
171   EndFont
172 End  
174 Style Affiliation
175   CopyStyle             Address
176   LatexName             affiliation
177   LabelString           "Affiliation: "
180 Style Thanks
181   CopyStyle             Address
182   LatexName             thanks
183   LabelString           "Thanks: "
186 Style Author_Email
187   CopyStyle             Address
188   LatexName             email
189   LabelString           "Electronic Address: "
191   TextFont
192     Family              Typewriter
193   EndFont
194   LabelFont
195 # override Typewriter
196     Family              Roman
197   EndFont
200 Style Author_URL
201   CopyStyle             "Author Email"
202   LatexName             homepage
203   LabelString           "URL: "
206 # Abstract style definition
207 Style Abstract 
208   InTitle               1
209   ItemSep               0.2
210   ParSep                0.3
212   LabelFont
213     Size                Large
214   EndFont
215 End 
217 Style PACS
218   Margin                Dynamic
219   LatexType             Command
220   LatexName             pacs
221   LabelType             Static
222   LabelString           "PACS number: "
225 Style Keywords
226   CopyStyle             PACS
227   Latexname             keywords
228   LabelString           "Keywords: "
231 ### Finally a few obsolete definitions for compatibility
232 Input obsolete.inc
234 Style REVTEX_Title
235   ObsoletedBy           Title