]> git.lyx.org Git - lyx.git/blob - lib/layouts/achemso.layout
new module and example file for chemical risk and safety statements; requires the...
[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]{article (ACS)}
3 # achemso textclass definition file.
4 # Author: Uwe Stöhr (uwestoehr@web.de)
5
6 Format 35
7
8 Columns                 1
9 Sides                   1
10 SecNumDepth             3
11 TocDepth                3
12 DefaultStyle            Standard
13
14 Provides float 1
15
16 ClassOptions
17         FontSize                10|11|12
18 end
19
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
32 Style Standard
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
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   InTitle               1
59   InPreamble            1
60   LatexName             title
61   ParSkip               0.4
62   ItemSep               0
63   TopSep                0
64   BottomSep             1
65   ParSep                1
66   Align                 Center
67   LabelType             No_Label
68   Font
69     Family              Sans
70     Size                Largest
71   EndFont
72   HTMLTag               h1
73   HTMLTitle             true
74   OptionalArgs          1
75 End  
76
77 Style Author
78   LatexType             command
79   LatexName             author
80   InTitle               1
81   InPreamble            1
82   Align                 Center
83   Font
84     Family              Sans
85     Size                Large
86   EndFont
87 End
88
89 Style Email
90   CopyStyle             Author
91   LatexName             email
92 End
93
94 Style Affiliation
95   CopyStyle             Author
96   LatexName             affiliation
97   OptionalArgs          1
98 End
99
100 Style Alt_Affiliation
101   CopyStyle             Author
102   LatexName             altaffiliation
103 End
104
105 Style Also_Affiliation
106   CopyStyle             Author
107   LatexName             alsoaffiliation
108 End
109
110 Style Fax
111   CopyStyle             Author
112   LatexName             fax
113 End
114
115 Style Phone
116   CopyStyle             Author
117   LatexName             phone
118 End
119
120 Float
121         Type                    scheme
122         GuiName                 Scheme
123         Placement               tbp
124         Extension               los
125         NumberWithin            none
126         Style                   plain
127         ListName                "List of Schemes"
128         IsPredefined true
129         UsesFloatPkg true
130 End
131
132 InsetLayout scheme
133         LabelString             Scheme
134         LabelFont
135           Color                 collapsable
136           Size                  Small
137         EndFont
138         MultiPar                true
139 End
140
141
142 Float
143         Type                    chart
144         GuiName                 Chart
145         Placement               tbp
146         Extension               loc
147         NumberWithin            none
148         Style                   plain
149         ListName                "List of Charts"
150         IsPredefined true
151         UsesFloatPkg true
152 End
153
154 InsetLayout chart
155         LabelString             Chart
156         LabelFont
157           Color                 collapsable
158           Size                  Small
159         EndFont
160         MultiPar                true
161 End
162
163
164 Float
165         Type                    graph
166         GuiName                 Graph
167         Placement               tbp
168         Extension               loh
169         NumberWithin            none
170         Style                   plain
171         ListName                "List of Graphs"
172         IsPredefined true
173         UsesFloatPkg true
174 End
175
176 InsetLayout graph
177         LabelString             Graph
178         LabelFont
179           Color                 collapsable
180           Size                  Small
181         EndFont
182         MultiPar                true
183 End
184
185
186 Style Abstract
187         Margin                  Static
188         LatexType               Environment
189         LatexName               abstract
190         Category                FrontMatter
191         InTitle                 1
192         NextNoIndent            1
193         LeftMargin              MMM
194         RightMargin             MMM
195         ParIndent               MM
196         ItemSep                 0
197         TopSep                  0.7
198         BottomSep               0.7
199         ParSep                  0
200         Align                   Block
201         AlignPossible           Block
202         LabelType               Centered_Top_Environment
203         LabelString             "Abstract"
204         LabelBottomSep          0.5
205         Font
206           Size                  Small
207         EndFont
208         LabelFont
209           Series                Bold
210           Size                  Large
211         EndFont
212 End
213
214
215 InsetLayout Flex:Bibnote
216         LyxType                 custom
217         LatexType               command
218         LatexName               bibnote
219         LabelString             "bibnote"
220         Decoration              Classic
221         Font
222           Color                 foreground
223           Size                  Small
224           Family                Roman
225           Shape                 Up
226           Series                Medium
227           Misc                  No_Emph
228           Misc                  No_Noun
229           Misc                  No_Bar
230         EndFont
231         LabelFont
232           Size                  Small
233         EndFont
234         MultiPar                true
235 End
236
237
238 Style Bibliography
239         Margin                  First_Dynamic
240         LatexType               Bib_Environment
241         LatexName               thebibliography
242         NextNoIndent            1
243         LeftMargin              MM
244         ParSkip                 0.4
245         ItemSep                 0
246         TopSep                  0.7
247         BottomSep               0.7
248         ParSep                  0.5
249         Align                   Block
250         AlignPossible           Block, Left
251         LabelType               Bibliography
252         LabelString             "References"
253         LabelBottomSep          1.2
254         LabelFont
255           Series                Bold
256           Size                  Larger
257         EndFont
258 End
259
260
261 InsetLayout Flex:Chemistry
262         CopyStyle               Flex:Bibnote
263         LatexName               ce
264         LabelString             "chemistry"
265         Preamble
266           \usepackage[version=3]{mhchem}
267         EndPreamble
268         LabelFont
269           Color                 blue
270         EndFont
271         MultiPar                false
272 End