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