]> git.lyx.org Git - lyx.git/blob - lib/layouts/achemso.layout
New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing...
[lyx.git] / lib / layouts / achemso.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[achemso,caption.sty,courier.sty,cleveref.sty,float.sty,helvet.sty,mathptmx.sty,mciteplus.sty,natbib.sty,natmove.sty,setspace.sty,xkeyval.sty]{American Chemical Society (ACS)}
3 #  \DeclareCategory{Articles}
4 # textclass definition file for achemso 3.8 and 3.9
5 # Author: Uwe Stöhr (uwestoehr@web.de)
6
7 Format 99
8
9 Columns                         1
10 Sides                           1
11 SecNumDepth                     3
12 TocDepth                        3
13 DefaultStyle            Standard
14
15 Provides float          1
16
17 ClassOptions
18         FontSize                10|11|12
19 end
20
21 # This is just to show how to declare the default font.
22 # The defaults are exactly those shown here.
23 DefaultFont
24         Family                  Roman
25         Series                  Medium
26         Shape                   Up
27         Size                    Normal
28         Color                   None
29 EndFont
30
31 Style Standard
32         Category        MainText
33         Margin                  Static
34         LatexType               Paragraph
35         LatexName               dummy
36         ParIndent               MM
37         ParSkip                 0.4
38         Align                   Block
39         AlignPossible   Block, Left, Right, Center
40         LabelType               No_Label
41         DocBookTag      para
42 End
43
44 Input stdcounters.inc
45 Input stdfloats.inc
46 Input stdlists.inc
47 Input stdsections.inc
48 Input stdstarsections.inc
49
50 NoStyle Chapter
51 NoCounter chapter
52 NoStyle Chapter*
53
54 Style Title
55         Margin                  Static
56         LatexType               Command
57         Category                FrontMatter
58         InPreamble              1
59         LatexName               title
60         ParSkip                 0.4
61         ItemSep                 0
62         TopSep                  0
63         BottomSep               0.7
64         ParSep                  1
65         Align                   Center
66         LabelType               No_Label
67         Font
68           Family                Sans
69           Size                  Largest
70           Series                Bold
71           EndFont
72         HTMLTag                 h1
73         HTMLTitle               true
74         Argument 1
75           LabelString   "Short Title|S"
76           Tooltip               "Short title which will appear in the running header"
77           InsertCotext  1
78         EndArgument
79         DocBookTag            title
80         DocBookTagType        paragraph
81         DocBookInInfo         maybe
82 End
83
84 Style Author
85         LatexType               command
86         LatexName               author
87         Category                FrontMatter
88         InPreamble              1
89         TopSep                  0.7
90         Align                   Center
91         Font
92           Family                Sans
93           Size                  Large
94         EndFont
95         DocBookTag            personname
96         DocBookTagType        paragraph
97         DocBookWrapperTag     author
98         DocBookWrapperTagType block
99         # Don't merge with the previous, as the author name indicates a new author.
100         DocBookInInfo         always
101 End
102
103 Style Email
104         CopyStyle               Author
105         LatexName               email
106         TopSep                  1
107         Font
108           Size                  Normal
109         EndFont
110 End
111
112 Style Affiliation
113         CopyStyle               Email
114         LatexName               affiliation
115         Font
116           Shape                 Italic
117         EndFont
118         Argument 1
119           LabelString   "Short name"
120           Tooltip               "Short name which appears in the footer of the title page"
121           InsertCotext  1
122         EndArgument
123         DocBookTag                        affiliation
124         DocBookWrapperTag                 author
125         DocBookWrapperMergeWithPrevious   true
126         DocBookItemTag                    orgname
127         DocBookItemTagType                paragraph
128         DocBookInInfo                     always
129 End
130
131 Style Alt_Affiliation
132         CopyStyle               Affiliation
133         LatexName               altaffiliation
134         TopSep                  0.7
135         DocBookTag                        affiliation
136         DocBookAttr                       role='alternate'
137         DocBookWrapperTag                 author
138         DocBookWrapperMergeWithPrevious   true
139         DocBookItemTag                    orgname
140         DocBookItemTagType                paragraph
141         DocBookInInfo                     always
142 End
143
144 Style Also_Affiliation
145         CopyStyle               Affiliation
146         LatexName               alsoaffiliation
147         TopSep                  0.5
148         DocBookTag                        affiliation
149         DocBookAttr                       role='also'
150         DocBookWrapperTag                 author
151         DocBookWrapperMergeWithPrevious   true
152         DocBookItemTag                    orgname
153         DocBookItemTagType                paragraph
154         DocBookInInfo                     always
155 End
156
157 Style Fax
158         CopyStyle               Email
159         LatexName               fax
160         TopSep                  0
161         LabelSep                xx
162         LabelType               Static
163         LabelString             "Fax:"
164         DocBookTag                        address
165         DocBookTagType                    paragraph
166         DocBookWrapperTag                 author
167         DocBookWrapperMergeWithPrevious   true
168         DocBookItemTag                    phone
169         DocBookItemTagType                paragraph
170         DocBookInInfo                     always
171 End
172
173 Style Phone
174         CopyStyle               Fax
175         LatexName               phone
176         LabelString             "Phone:"
177         TopSep                  0.5
178         DocBookTag                        address
179         DocBookTagType                    paragraph
180         DocBookWrapperTag                 author
181         DocBookWrapperMergeWithPrevious   true
182         DocBookItemTag                    fax
183         DocBookItemTagType                paragraph
184         DocBookInInfo                     always
185 End
186
187 Style Abbreviations
188         CopyStyle               Fax
189         Margin                  Dynamic
190         LatexName               abbreviations
191         TopSep                  1
192         Align                   Left
193         LabelString             "Abbreviations:"
194         LabelFont
195           Color                 textlabel1
196         EndFont
197 End
198
199 Style Keywords
200         CopyStyle               Abbreviations
201         LatexName               keywords
202         LabelString             "Keywords:"
203         TopSep                  0.3
204 End
205
206 OutlinerName scheme "Schemes" #no AddToToc
207
208 Float
209         Type                    scheme
210         GuiName                 Scheme
211         Placement               tbp
212         Extension               los
213         NumberWithin    none
214         AllowsSideways  0
215         Style                   plain
216         ListName                "List of Schemes"
217         IsPredefined    true
218         UsesFloatPkg    true
219 End
220
221 InsetLayout scheme
222         LabelString             Scheme
223         LabelFont
224           Color                 collapsible
225           Size                  Small
226         EndFont
227         MultiPar                true
228 End
229
230 OutlinerName chart "Charts" #no AddToToc
231
232 Float
233         Type                    chart
234         GuiName                 Chart
235         Placement               tbp
236         Extension               loc
237         NumberWithin    none
238         AllowsSideways  0
239         Style                   plain
240         ListName                "List of Charts"
241         IsPredefined    true
242         UsesFloatPkg    true
243 End
244
245 InsetLayout chart
246         LabelString             Chart
247         LabelFont
248           Color                 collapsible
249           Size                  Small
250         EndFont
251         MultiPar                true
252 End
253
254 OutlinerName graph "Graphs[[mathematical]]" #no AddToToc
255
256 Float
257         # We need the [[mathematical]] context, since graph in the sense of
258         # diagram is not meant (chart is used for this, see above).
259         Type                    graph
260         GuiName                 Graph[[mathematical]]
261         Placement               tbp
262         Extension               loh
263         NumberWithin    none
264         AllowsSideways  0
265         Style                   plain
266         ListName                "List of Graphs[[mathematical]]"
267         IsPredefined    true
268         UsesFloatPkg    true
269 End
270
271 InsetLayout graph
272         LabelString             Graph[[mathematical]]
273         LabelFont
274           Color                 collapsible
275           Size                  Small
276         EndFont
277         MultiPar                true
278 End
279
280 # insert Abtract and Bibliography style
281 Input stdstruct.inc
282
283 Style Acknowledgement
284         CopyStyle               Abstract
285         LatexName               acknowledgement
286         Category                BackMatter
287         InTitle                 0
288         BottomSep               0.7
289         LabelType               Above
290         LabelString             "Acknowledgement"
291         Font
292           Size                  Normal
293         EndFont
294         LabelFont
295           Series                Bold
296           Size                  Large
297         EndFont
298         DocBookTag            para
299         DocBookWrapperTag     acknowledgements
300 End
301
302 Style SupplementalInfo
303         CopyStyle               Acknowledgement
304         LatexName               suppinfo
305         LabelString             "Supporting Information Available"
306         DocBookTag            para
307         DocBookWrapperTag     sidebar
308         DocBookWrapperMergeWithPrevious true
309 End
310
311 Style TOC_entry
312         CopyStyle               Acknowledgement
313         LatexName               tocentry
314         ParSep                  0.3
315         LabelString             "Graphical TOC Entry"
316         DocBookTag            para
317         DocBookWrapperTag     sidebar
318         DocBookWrapperMergeWithPrevious true
319 End
320
321 InsetLayout Flex:Bibnote
322         LyxType                 custom
323         LatexType               command
324         LatexName               bibnote
325         LabelString             "bibnote"
326         Decoration              Classic
327         Font
328           Color                 foreground
329           Size                  Small
330           Family                Roman
331           Shape                 Up
332           Series                Medium
333           Misc                  No_Emph
334           Misc                  No_Noun
335           Misc                  No_Bar
336         EndFont
337         LabelFont
338           Size                  Small
339         EndFont
340         MultiPar                true
341         ResetsFont              true
342 End
343
344 InsetLayout Flex:Chemistry
345         CopyStyle               Flex:Bibnote
346         LatexName               ce
347         LabelString             "chemistry"
348         Preamble
349           \usepackage[version=3]{mhchem}
350         EndPreamble
351         LabelFont
352           Color                 textlabel1
353         EndFont
354         MultiPar                false
355         DocBookTag      phrase
356         DocBookAttr     role='chemistry'
357 End
358
359 InsetLayout Flex:Latin
360         CopyStyle               Flex:Bibnote
361         LatexName               latin
362         LabelString             "Latin"
363         MultiPar                false
364 End