]> git.lyx.org Git - lyx.git/blob - lib/layouts/achemso.layout
6dcb56e3c3c9256ce0bf8684f6f0d4ba68571991
[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 68
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 End
42
43 Input stdcounters.inc
44 Input stdfloats.inc
45 Input stdlists.inc
46 Input stdsections.inc
47 Input stdstarsections.inc
48
49 NoStyle Chapter
50 NoCounter chapter
51 NoStyle Chapter*
52
53 Style Title
54         Margin                  Static
55         LatexType               Command
56         Category                FrontMatter
57         InPreamble              1
58         LatexName               title
59         ParSkip                 0.4
60         ItemSep                 0
61         TopSep                  0
62         BottomSep               0.7
63         ParSep                  1
64         Align                   Center
65         LabelType               No_Label
66         Font
67           Family                Sans
68           Size                  Largest
69           Series                Bold
70           EndFont
71         HTMLTag                 h1
72         HTMLTitle               true
73         Argument 1
74           LabelString   "Short Title|S"
75           Tooltip               "Short title which will appear in the running header"
76           InsertCotext  1
77         EndArgument
78 End
79
80 Style Author
81         LatexType               command
82         LatexName               author
83         Category                FrontMatter
84         InPreamble              1
85         TopSep                  0.7
86         Align                   Center
87         Font
88           Family                Sans
89           Size                  Large
90         EndFont
91 End
92
93 Style Email
94         CopyStyle               Author
95         LatexName               email
96         TopSep                  1
97         Font
98           Size                  Normal
99         EndFont
100 End
101
102 Style Affiliation
103         CopyStyle               Email
104         LatexName               affiliation
105         Font
106           Shape                 Italic
107         EndFont
108         Argument 1
109           LabelString   "Short name"
110           Tooltip               "Short name which appears in the footer of the title page"
111           InsertCotext  1
112         EndArgument
113 End
114
115 Style Alt_Affiliation
116         CopyStyle               Affiliation
117         LatexName               altaffiliation
118         TopSep                  0.7
119 End
120
121 Style Also_Affiliation
122         CopyStyle               Affiliation
123         LatexName               alsoaffiliation
124         TopSep                  0.5
125 End
126
127 Style Fax
128         CopyStyle               Email
129         LatexName               fax
130         TopSep                  0
131         LabelSep                xx
132         LabelType               Static
133         LabelString             "Fax:"
134 End
135
136 Style Phone
137         CopyStyle               Fax
138         LatexName               phone
139         LabelString             "Phone:"
140         TopSep                  0.5
141 End
142
143 Style Abbreviations
144         CopyStyle               Fax
145         Margin                  Dynamic
146         LatexName               abbreviations
147         TopSep                  1
148         Align                   Left
149         LabelString             "Abbreviations:"
150         LabelFont
151           Color                 Blue
152         EndFont
153 End
154
155 Style Keywords
156         CopyStyle               Abbreviations
157         LatexName               keywords
158         LabelString             "Keywords:"
159         TopSep                  0.3
160 End
161
162 OutlinerName scheme "Schemes" #no AddToToc
163
164 Float
165         Type                    scheme
166         GuiName                 Scheme
167         Placement               tbp
168         Extension               los
169         NumberWithin    none
170         AllowsSideways  0
171         Style                   plain
172         ListName                "List of Schemes"
173         IsPredefined    true
174         UsesFloatPkg    true
175 End
176
177 InsetLayout scheme
178         LabelString             Scheme
179         LabelFont
180           Color                 collapsible
181           Size                  Small
182         EndFont
183         MultiPar                true
184 End
185
186 OutlinerName chart "Charts" #no AddToToc
187
188 Float
189         Type                    chart
190         GuiName                 Chart
191         Placement               tbp
192         Extension               loc
193         NumberWithin    none
194         AllowsSideways  0
195         Style                   plain
196         ListName                "List of Charts"
197         IsPredefined    true
198         UsesFloatPkg    true
199 End
200
201 InsetLayout chart
202         LabelString             Chart
203         LabelFont
204           Color                 collapsible
205           Size                  Small
206         EndFont
207         MultiPar                true
208 End
209
210 OutlinerName graph "Graphs[[mathematical]]" #no AddToToc
211
212 Float
213         # We need the [[mathematical]] context, since graph in the sense of
214         # diagram is not meant (chart is used for this, see above).
215         Type                    graph
216         GuiName                 Graph[[mathematical]]
217         Placement               tbp
218         Extension               loh
219         NumberWithin    none
220         AllowsSideways  0
221         Style                   plain
222         ListName                "List of Graphs[[mathematical]]"
223         IsPredefined    true
224         UsesFloatPkg    true
225 End
226
227 InsetLayout graph
228         LabelString             Graph[[mathematical]]
229         LabelFont
230           Color                 collapsible
231           Size                  Small
232         EndFont
233         MultiPar                true
234 End
235
236 # insert Abtract and Bibliography style
237 Input stdstruct.inc
238
239 Style Acknowledgement
240         CopyStyle               Abstract
241         LatexName               acknowledgement
242         Category                BackMatter
243         InTitle                 0
244         BottomSep               0.7
245         LabelType               Above
246         LabelString             "Acknowledgement"
247         Font
248           Size                  Normal
249         EndFont
250         LabelFont
251           Series                Bold
252           Size                  Large
253         EndFont
254 End
255
256 Style SupplementalInfo
257         CopyStyle               Acknowledgement
258         LatexName               suppinfo
259         LabelString             "Supporting Information Available"
260 End
261
262 Style TOC_entry
263         CopyStyle               Acknowledgement
264         LatexName               tocentry
265         ParSep                  0.3
266         LabelString             "Graphical TOC Entry"
267 End
268
269 InsetLayout Flex:Bibnote
270         LyxType                 custom
271         LatexType               command
272         LatexName               bibnote
273         LabelString             "bibnote"
274         Decoration              Classic
275         Font
276           Color                 foreground
277           Size                  Small
278           Family                Roman
279           Shape                 Up
280           Series                Medium
281           Misc                  No_Emph
282           Misc                  No_Noun
283           Misc                  No_Bar
284         EndFont
285         LabelFont
286           Size                  Small
287         EndFont
288         MultiPar                true
289         ResetsFont              true
290 End
291
292 InsetLayout Flex:Chemistry
293         CopyStyle               Flex:Bibnote
294         LatexName               ce
295         LabelString             "chemistry"
296         Preamble
297           \usepackage[version=3]{mhchem}
298         EndPreamble
299         LabelFont
300           Color                 blue
301         EndFont
302         MultiPar                false
303 End
304
305 InsetLayout Flex:Latin
306         CopyStyle               Flex:Bibnote
307         LatexName               latin
308         LabelString             "Latin"
309         MultiPar                false
310 End