]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
Packaging for acmart
[lyx.git] / lib / layouts / revtex4.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[revtex4,natbib.sty,revsymb.sty]{REVTeX (V. 4)}
3 #  \DeclareCategory{Articles}
4 # RevTeX 4 textclass definition file. Based on:
5 # AMS-Article textclass definition file. Taken from initial LyX source code
6 # and from the Article textclass definition file, following the AMS sample
7 # paper "testmath.tex" of January, 1995
8 # Author : David L. Johnson <dlj0@lehigh.edu> (AMS)
9 #          Marc Mengel (RevTeX)
10 #          Amir Karger (LyX v11.34 style modifications)
11 #          Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
12 # Heavily modifed and enhanced by serveral developers.
13
14 Format 63
15
16 Columns                   1
17 Sides                     1
18 PageStyle                 Headers
19 Provides natbib-internal  1
20 Provides url              1
21
22 SecNumDepth               4
23 TocDepth                  3
24
25 # Default textclass options. The user may need to modify this.
26 ClassOptions
27         Other                 "aps,manuscript"
28 End
29
30 Preamble
31         \@ifundefined{textcolor}{}
32         {%
33          \definecolor{BLACK}{gray}{0}
34          \definecolor{WHITE}{gray}{1}
35          \definecolor{RED}{rgb}{1,0,0}
36          \definecolor{GREEN}{rgb}{0,1,0}
37          \definecolor{BLUE}{rgb}{0,0,1}
38          \definecolor{CYAN}{cmyk}{1,0,0,0}
39          \definecolor{MAGENTA}{cmyk}{0,1,0,0}
40          \definecolor{YELLOW}{cmyk}{0,0,1,0}
41         }
42 EndPreamble
43
44
45 Style Standard
46         Category              MainText
47         Margin                Static
48         LatexType             Paragraph
49         LatexName             dummy
50         ParIndent             MM
51         ParSkip               0.4
52         Align                 Block
53         AlignPossible         Block, Left, Right, Center
54         LabelType             No_Label
55 End
56
57
58 # Idea from aapaper: declare all layouts here ("Style Foo\nEnd\n")
59 # so that they appear in a specific order in the layout dropdown menu.
60
61 Input stdinsets.inc
62 Input stdsections.inc
63 Input numrevtex.inc
64
65 Style Section
66         Align                 Center
67         AlignPossible         Block, Center, Left
68         Font
69           Shape               Smallcaps
70         EndFont
71 End
72
73
74 Style Subsubsection
75         Font
76           Series              Medium
77           Shape               Italic
78         EndFont
79 End
80
81
82 Style Paragraph
83         Font
84           Series              Medium
85           Shape               Italic
86         EndFont
87 End
88
89 # then define the unumbered sections, based on the numbered ones.
90 Input stdstarsections.inc
91
92 NoStyle         Chapter
93 NoStyle         Chapter*
94 NoStyle         Subparagraph
95 NoStyle         Subparagraph*
96
97 Input stdlayouts.inc
98 Input stdlists.inc
99 Input stdtitle.inc
100 Input stdstruct.inc
101
102
103 Style Preprint
104         Category              FrontMatter
105         Margin                Right_Address_Box
106         LatexType             Command
107         InTitle               1
108         LatexName             preprint
109         ParSkip               0.4
110         BottomSep             1.5
111         ParSep                1.5
112         Align                 Left
113 End
114
115
116 Style Title
117         Font
118           Series              Bold
119           Size                Large
120         EndFont
121 End
122
123
124 Style Date
125         LabelType             Static
126         LabelString           "Date:"
127         LabelFont
128           Shape               Italic
129         EndFont
130 End
131
132
133 Style Affiliation
134         Category              FrontMatter
135         Margin                Dynamic
136         LatexType             Command
137         InTitle               1
138         LatexName             affiliation
139         ParSkip               0.4
140         Align                 Center
141         AlignPossible         Block, Left, Right, Center
142         LabelType             Static
143         LabelSep              M
144         LabelString           "Affiliation:"
145
146         LabelFont
147           Shape               Italic
148         EndFont
149 End
150
151
152 Style Affiliation_(alternate)
153         CopyStyle             Affiliation
154         PassThru              1
155         ParbreakIsNewline     1
156         LatexName             altaffiliation
157         Argument 1
158                 LabelString   "Alternate Affiliation Option"
159                 Tooltip       "Optional argument to the altaffiliation command"
160         EndArgument
161         LabelString           "Affiliation (alternate):"
162 End
163
164
165 Style Affiliation_(none)
166         CopyStyle             Affiliation
167         KeepEmpty             1
168         LabelString           "No affiliation"
169         LatexName             noaffiliation%
170 End
171
172
173 Style AltAffiliation
174         ObsoletedBy           Affiliation_(alternate)
175 End
176
177
178 # Address is exactly the same as Affiliation. We just put this in so
179 # that tex2lyx will know what to do with it.
180 Style Address
181         CopyStyle             Affiliation
182         LatexName             address
183         LabelString           "Address:"
184 End
185
186
187 Style Collaboration
188         CopyStyle             Affiliation
189         LatexName             collaboration
190         LabelString           "Collaboration:"
191 End
192
193
194 Style Thanks
195         CopyStyle             Affiliation
196         LatexName             thanks
197         LabelString           "Thanks:"
198 End
199
200
201 Style Author_Email
202         CopyStyle             Affiliation
203         PassThru              1
204         ParbreakIsNewline     1
205         LatexName             email
206         Argument 1
207                 LabelString   "Electronic Address Option|s"
208                 Tooltip       "Optional argument to the email command"
209         EndArgument
210         LabelString           "Electronic Address:"
211         TextFont
212           Family              Typewriter
213         EndFont
214         LabelFont
215           Family              Roman
216         EndFont
217 End
218
219
220 Style Author_URL
221         CopyStyle             Author_Email
222         PassThru              1
223         ParbreakIsNewline     1
224         LatexName             homepage
225         Argument 1
226                 LabelString   "Author URL Option"
227                 Tooltip       "Optional argument to the homepage command"
228         EndArgument
229         LabelString           "URL:"
230 End
231
232
233 Style Abstract
234         InTitle               1
235         ItemSep               0.2
236         ParSep                0.3
237 End
238
239
240 Style Acknowledgments
241         Category              BackMatter
242         LatexType             Environment
243         LatexName             acknowledgments
244         ParIndent             MM
245         ParSkip               0.4
246         TopSep                0.7
247         Align                 Block
248         AlignPossible         Block, Left, Right, Center
249         LabelType             Centered
250         LabelString           "Acknowledgments"
251         LabelBottomSep        0.5
252         LabelFont
253           Series              Bold
254           Size                Large
255         EndFont
256 End
257
258
259 Style PACS
260         Category              FrontMatter
261         Margin                Dynamic
262         LatexType             Command
263         InTitle               1
264         LatexName             pacs
265         LabelType             Static
266         LabelSep              M
267         LabelString           "PACS number:"
268 End
269
270
271 Style Keywords
272         CopyStyle             PACS
273         InTitle               1
274         Latexname             keywords
275         LabelSep              M
276         LabelString           "Keywords:"
277 End
278
279
280 Input stdfloats.inc
281 Input stdcounters.inc