]> git.lyx.org Git - lyx.git/blob - lib/layouts/ijmpd.layout
- theorems-without-preamble.inc: new file to provide theorem environments without...
[lyx.git] / lib / layouts / ijmpd.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[ws-ijmpd,amsmath.sty,amssymb.sty,rotating.sty]{article (IJMPD)}
3 #
4 # Textclass definition file for ws-ijmpd.cls
5 # For publications in the International Journal of Modern Physics D
6 # (usually abbreviated as IJMPD).
7 #
8 # Author: Panayotis "PAP" Papasotiriou <papasot@physics.upatras.gr>
9 #
10 # Version 1  2002-09-24  -  First version from scratch.
11 # Version 2  2003-03-03  -  Updated for LyX 1.3.0.
12 # Version 3  2006-04-09  -  Updated for LyX 1.4.0; all environments defined by
13 #                           ijmpd are now supported by LyX.
14 #
15 # revised for ws-ijmpd.tex : 19-4-07
16 # Author: Uwe Stöhr (uwestoehr@web.de)
17
18
19 Format 35
20
21 Sides           1
22 Columns         1
23 SecNumDepth     3
24 TocDepth        3
25 DefaultStyle    Standard
26
27 Style Standard
28   Margin        Static
29   LatexType     Paragraph
30   LatexName     dummy
31   ParIndent     MM
32   ParSkip       0.4
33   Align         Block
34   AlignPossible Block, Left, Right, Center
35   LabelType     No_Label
36 End
37
38 Input stdcounters.inc
39 Input stdfloats.inc
40 #Input stdlists.inc
41 Input stdsections.inc
42 Input stdstarsections.inc
43 Input stdlayouts.inc
44 Input lyxmacros.inc
45
46 ProvidesModule theorems-std
47 Input theorems-without-preamble.inc
48 NoStyle Fact
49 NoStyle Note
50 NoStyle Problem
51 NoStyle Solution
52 NoStyle Prob
53 NoStyle Exercise
54 NoStyle Example
55 NoStyle Definition
56 NoStyle Case
57 NoStyle Property
58
59 NoStyle Chapter
60 NoCounter chapter
61 NoStyle Chapter*
62 NoStyle Part
63 NoCounter part
64 NoStyle Verse
65
66
67 Style MarkBoth
68   LaTeXType     Command
69   LaTeXName     markboth
70   Category      FrontMatter
71   InTitle       1
72   Align         Center
73   Font
74     Size        Small
75   EndFont
76   Preamble
77   % protect \markboth against an old bug reintroduced in babel >= 3.8g
78   \let\oldforeign@language\foreign@language
79   \DeclareRobustCommand{\foreign@language}[1]{%
80     \lowercase{\oldforeign@language{#1}}}
81   EndPreamble
82 End
83
84 Style Catchline
85   Margin        Dynamic
86   LatexType     Command
87   LatexName     catchline{}{}{}{}
88   LabelString   "Catchline"
89   Category      FrontMatter
90   KeepEmpty     1
91   ParSkip       0.4
92   InTitle       1
93   Align         Block
94   LabelSep      xx
95   LabelType     Static
96   LabelString   "Catchline"
97   LabelFont
98     Series      Bold
99     Color       Green
100   EndFont
101 End
102
103 Style Title
104   Margin        Static
105   LatexType     Command
106   LatexName     title
107   Category      FrontMatter
108   InTitle       1
109   OptionalArgs  0
110   ParSkip       0.4
111   ItemSep       0
112   TopSep        0
113   BottomSep     1
114   ParSep        1
115   Align         Center
116   LabelType     No_Label
117   Font
118     Size        Largest
119   EndFont
120 End
121
122 Style Author
123   Margin        Static
124   LatexType     Command
125   Category      FrontMatter
126   InTitle       1
127   OptionalArgs  1
128   LatexName     author
129   LabelSep      xxx
130   ParSkip       0.4
131   TopSep        1.3
132   BottomSep     0.7
133   ParSep        0.7
134   Align         Center
135   LabelType     No_Label
136   Font
137     Size        Large
138   EndFont
139 End
140
141 Style History
142   Margin        First_Dynamic
143   LatexType     Environment
144   LatexName     history
145   Category      FrontMatter
146   TopSep        0.7
147   BottomSep     0.7
148   ParSkip       0.4
149   Align         Center
150   Font
151     Size        Small
152   EndFont
153 End
154
155 InsetLayout Flex:Received
156   LyxType       custom
157   LatexType     command
158   LatexName     received
159   LabelString   "Received"
160   Font
161     Size        Small
162     Misc        No_Emph
163     Misc        No_Noun
164     Misc        No_Bar
165   EndFont
166   LabelFont
167     Color       green
168     Size        Small
169   EndFont
170 End
171
172 InsetLayout Flex:Revised
173   LyxType       custom
174   LatexType     command
175   LatexName     revised
176   LabelString   "Revised"
177   Font
178     Size        Small
179     Misc        No_Emph
180     Misc        No_Noun
181     Misc        No_Bar
182   EndFont
183   LabelFont
184     Color       green
185     Size        Small
186   EndFont
187 End
188
189 InsetLayout Flex:Comby
190   LyxType       custom
191   LatexType     command
192   LatexName     comby
193   LabelString   "Comby"
194   Font
195     Size        Small
196     Misc        No_Emph
197     Misc        No_Noun
198     Misc        No_Bar
199   EndFont
200   LabelFont
201     Color       green
202     Size        Small
203   EndFont
204 End
205
206 Style Abstract
207   Margin        First_Dynamic
208   LatexType     Environment
209   LatexName     abstract
210   Category      FrontMatter
211   TopSep        0.7
212   BottomSep     0.7
213   ParSkip       0.4
214   Font
215     Size        Small
216   EndFont
217 End
218
219 Style Keywords
220   LatexType     command
221   LatexName     keywords
222   Category      FrontMatter
223   LabelString   "Keywords:"
224   LabelSep      xx
225   LabelType     Static
226   Margin        Dynamic
227   Font
228     Size        Small
229     Misc        No_Emph
230     Misc        No_Noun
231     Misc        No_Bar
232   EndFont
233   LabelFont
234    Shape        Italic
235    Size         Small
236   EndFont
237 End
238
239 InsetLayout Flex:TableCaption
240   LyxType       custom
241   LatexType     command
242   LatexName     tbl
243   LabelString   "Table caption"
244   Font
245     Size        Small
246     Misc        No_Emph
247     Misc        No_Noun
248     Misc        No_Bar
249   EndFont
250   LabelFont
251     Color       green
252     Size        Small
253   EndFont
254 End
255
256 InsetLayout Flex:Refcite
257   LyxType       custom
258   LatexType     command
259   LatexName     refcite
260   LabelString   "Cite reference"
261   Font
262     Size        Small
263     Misc        No_Emph
264     Misc        No_Noun
265     Misc        No_Bar
266   EndFont
267   LabelFont
268     Color       green
269     Size        Small
270   EndFont
271 End
272
273 Style ItemList
274   Category      List
275   Margin        Static
276   LatexType     Item_Environment
277   LatexName     itemlist
278   NextNoIndent  1
279   LeftMargin    MMN
280   LabelSep      xx
281   ItemSep       0.2
282   TopSep        0.7
283   BottomSep     0.7
284   ParSep        0.3
285   Align         Block
286   AlignPossible Block, Left
287   LabelType     Itemize
288   LabelString   "*"
289   HTMLTag       ul
290   HTMLItem      li
291   HTMLLabel     NONE
292 End
293
294 Style RomanList
295   Category      List
296   Margin        Static
297   LatexType     Item_Environment
298   LatexName     romanlist
299   OptionalArgs  1
300   NextNoIndent  1
301   LeftMargin    MMN
302   LabelSep      xx
303   ParSkip       0.0
304   ItemSep       0.2
305   TopSep        0.7
306   BottomSep     0.7
307   ParSep        0.3
308   Align Block
309   AlignPossible Block, Left
310   LabelType     Enumerate
311   LabelCounter  "enum"
312   HTMLTag       ol
313   HTMLItem      li
314   HTMLLabel     NONE
315   RefPrefix     enu
316 End
317
318 Style Proof
319   LatexType     Environment
320   LatexName     proof
321   Category      Theorem
322   Margin        First_Dynamic
323   TopSep        0.6
324   BottomSep     0.6
325   Align Block
326   LabelType     Static
327   LabelString   "Proof:"
328   LabelSep      M
329   LabelFont
330    Series       Bold
331   EndFont
332   LabelFont
333    Series       Bold
334   EndFont
335   EndLabelType  Box
336 End
337
338 Counter theorem
339   Within        section
340 End
341 Style Theorem
342   OptionalArgs  0
343   LabelString   "Theorem \thetheorem."
344   Font
345    Shape        Up
346   EndFont
347   LabelFont
348    Series       Bold
349   EndFont
350 End
351
352 Counter remark
353   Within        section
354 End
355 Style Remark
356   LabelString   "Remark \theremark."
357   LabelFont
358    Series       Bold
359    Shape        Up
360   EndFont
361 End
362
363 Counter corollary
364   Within        section
365 End
366 Style Corollary
367   LabelString   "Corollary \thecorollary."
368 End
369
370 Counter lemma
371   Within        section
372 End
373 Style Lemma
374   LabelString   "Lemma \thelemma."
375 End
376
377 Counter proposition
378   Within        section
379 End
380 Style Proposition
381   LabelString   "Proposition \theproposition."
382 End
383
384 Counter question
385   Within        section
386 End
387 Style Question
388   LabelString   "Question \thequestion."
389   LabelFont
390    Shape        Up
391   EndFont
392 End
393
394 Counter claim
395   Within        section
396 End
397 Style Claim
398   LabelCounter  claim
399   LabelString   "Claim \theclaim."
400   LabelFont
401    Shape        Up
402   EndFont
403 End
404
405 Counter conjecture
406   Within        section
407 End
408 Style Conjecture
409   LabelString   "Conjecture \theconjecture."
410   LabelFont
411    Shape        Up
412   EndFont
413 End
414
415 Counter prop
416   Within        section
417 End
418
419 Counter appendix
420 End
421 Style Appendix
422   LatexType     Command
423   LatexName     section
424   Category      BackMatter
425   TopSep        0.6
426   BottomSep     0.6
427   Margin        First_Dynamic
428   Align Block
429   NextNoIndent  1
430   LabelType     Counter
431   LabelCounter  appendix
432   LabelString   "Appendix \Alph{appendix}."
433   LabelSep      M
434   LabelFont
435    Series       Bold
436    Shape        Up
437    Size Normal
438   EndFont
439   Font
440    Series       Bold
441   EndFont
442 End
443
444 Style Bibliography
445   Margin        First_Dynamic
446   LatexType     Bib_Environment
447   LatexName     thebibliography
448   Category      BackMatter
449   NextNoIndent  1
450   LeftMargin    MM
451   ParSkip       0.4
452   ItemSep       0
453   TopSep        0.7
454   BottomSep     0.7
455   ParSep        0.5
456   Align         Block
457   AlignPossible Block, Left
458   LabelType     Bibliography
459   LabelString   "References"
460   LabelBottomSep        1.2
461   LabelFont
462     Series      Bold
463     Size        Larger
464   EndFont
465 End