]> git.lyx.org Git - lyx.git/blob - lib/layouts/ijmpd.layout
Move RevTeX section in Additional.lyx into Chapter 3 Document classes
[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]{Int. Journal of Modern Physics D}
3 #  \DeclareCategory{Articles}
4 #
5 # Textclass definition file for ws-ijmpd.cls
6 # For publications in the International Journal of Modern Physics D
7 # (usually abbreviated as IJMPD).
8 #
9 # Author: Panayotis "PAP" Papasotiriou <papasot@physics.upatras.gr>
10 #
11 # Version 1  2002-09-24  -  First version from scratch.
12 # Version 2  2003-03-03  -  Updated for LyX 1.3.0.
13 # Version 3  2006-04-09  -  Updated for LyX 1.4.0; all environments defined by
14 #                           ijmpd are now supported by LyX.
15 #
16 # revised for ws-ijmpd.tex : 19-4-07
17 # Author: Uwe Stöhr (uwestoehr@web.de)
18
19
20 Format 98
21
22 Sides           1
23 Columns         1
24 SecNumDepth     3
25 TocDepth        3
26 DefaultStyle    Standard
27
28 Style Standard
29   Category      MainText
30   Margin        Static
31   LatexType     Paragraph
32   LatexName     dummy
33   ParIndent     MM
34   ParSkip       0.4
35   Align         Block
36   AlignPossible Block, Left, Right, Center
37   LabelType     No_Label
38   DocBookTag para
39 End
40
41 Input stdcounters.inc
42 Input stdfloats.inc
43 #Input stdlists.inc
44 Input stdsections.inc
45 Input stdstarsections.inc
46 Input stdlayouts.inc
47 Input lyxmacros.inc
48
49 ProvidesModule theorems-std
50 Input theorems-without-preamble.inc
51 NoStyle Fact
52 NoStyle Note
53 NoStyle Problem
54 NoStyle Solution
55 NoStyle Prob
56 NoStyle Sol
57 NoStyle Exercise
58 NoStyle Example
59 NoStyle Definition
60 NoStyle Case
61 NoStyle Property
62
63 NoStyle Chapter
64 NoCounter chapter
65 NoStyle Chapter*
66 NoStyle Part
67 NoCounter part
68 NoStyle Verse
69
70
71 Style MarkBoth
72   LaTeXType     Command
73   LaTeXName     markboth
74   Category      FrontMatter
75   InTitle       1
76   Align         Center
77   Argument 1
78     Mandatory   1
79     AutoInsert  1
80     LabelString "Author Names"
81     Tooltip     "Author names that will appear in the header line"
82   EndArgument
83   Font
84     Size        Small
85   EndFont
86   Preamble
87   % protect \markboth against an old bug reintroduced in babel >= 3.8g
88   \let\oldforeign@language\foreign@language
89   \DeclareRobustCommand{\foreign@language}[1]{%
90     \lowercase{\oldforeign@language{#1}}}
91   EndPreamble
92   DocBookTag    IGNORE
93   # TODO: a mix of titleabbrev and authorinitials... 
94   DocBookInInfo always
95 End
96
97 Style Catchline
98   Margin        Dynamic
99   LatexType     Command
100   LatexName     catchline{}{}{}{}
101   LabelString   "Catchline"
102   Category      FrontMatter
103   KeepEmpty     1
104   ParSkip       0.4
105   InTitle       1
106   Align         Block
107   LabelSep      xx
108   LabelType     Static
109   LabelString   "Catchline"
110   LabelFont
111     Series      Bold
112     Color       textlabel2
113   EndFont
114   DocBookTag    IGNORE
115   DocBookInInfo always
116 End
117
118 Style Title
119   Margin        Static
120   LatexType     Command
121   LatexName     title
122   Category      FrontMatter
123   InTitle       1
124   ResetArgs     1
125   ParSkip       0.4
126   ItemSep       0
127   TopSep        0
128   BottomSep     1
129   ParSep        1
130   Align         Center
131   LabelType     No_Label
132   Font
133     Size        Largest
134   EndFont
135   DocBookTag      title
136   DocBookTagType  paragraph
137   DocBookInInfo   maybe
138 End
139
140 Style Author
141   Margin        Static
142   LatexType     Command
143   Category      FrontMatter
144   InTitle       1
145   LatexName     author
146   LabelSep      xxx
147   ParSkip       0.4
148   TopSep        1.3
149   BottomSep     0.7
150   ParSep        0.7
151   Align         Center
152   LabelType     No_Label
153   Font
154     Size        Large
155   EndFont
156   DocBookTag            personname
157   DocBookTagType        paragraph
158   DocBookWrapperTag     author
159   DocBookWrapperTagType inline
160   DocBookInInfo         always
161 End
162
163 Style Address
164   DocBookTag            address
165   DocBookTagType        paragraph
166   DocBookWrapperTag     author
167   DocBookWrapperTagType inline
168   DocBookWrapperMergeWithPrevious true
169   DocBookInInfo         always
170 End
171
172 Style History
173   Margin        First_Dynamic
174   LatexType     Environment
175   LatexName     history
176   Category      FrontMatter
177   TopSep        0.7
178   BottomSep     0.7
179   ParSkip       0.4
180   Align         Center
181   Font
182     Size        Small
183   EndFont
184   DocBookTag     releaseinfo
185   DocBookInInfo  always
186 End
187
188 InsetLayout Flex:Received
189   LyxType       custom
190   LatexType     command
191   LatexName     received
192   LabelString   "Received"
193   Font
194     Size        Small
195     Misc        No_Emph
196     Misc        No_Noun
197     Misc        No_Bar
198   EndFont
199   LabelFont
200     Color       textlabel2
201     Size        Small
202   EndFont
203   ResetsFont true
204   DocBookTag      date
205   DocBookAttr     role='received'
206   DocBookTagType  inline
207   DocBookNoFontInside   true
208 End
209
210 InsetLayout Flex:Revised
211   LyxType       custom
212   LatexType     command
213   LatexName     revised
214   LabelString   "Revised"
215   Font
216     Size        Small
217     Misc        No_Emph
218     Misc        No_Noun
219     Misc        No_Bar
220   EndFont
221   LabelFont
222     Color       textlabel2
223     Size        Small
224   EndFont
225   ResetsFont true
226   DocBookTag      date
227   DocBookAttr     role='revised'
228   DocBookTagType  inline
229   DocBookNoFontInside   true
230 End
231
232 InsetLayout Flex:Comby
233   LyxType       custom
234   LatexType     command
235   LatexName     comby
236   LabelString   "Comby"
237   Font
238     Size        Small
239     Misc        No_Emph
240     Misc        No_Noun
241     Misc        No_Bar
242   EndFont
243   LabelFont
244     Color       textlabel2
245     Size        Small
246   EndFont
247   ResetsFont true
248 End
249
250 Style Abstract
251   Margin        First_Dynamic
252   LatexType     Environment
253   LatexName     abstract
254   Category      FrontMatter
255   TopSep        0.7
256   BottomSep     0.7
257   ParSkip       0.4
258   Font
259     Size        Small
260   EndFont
261   DocBookAbstract       true
262   DocBookInInfo         always
263   DocBookWrapperTag     abstract
264   DocBookWrapperMergeWithPrevious    true
265   DocBookTag            para
266 End
267
268 Style Keywords
269   LatexType     command
270   LatexName     keywords
271   Category      FrontMatter
272   LabelString   "Keywords:"
273   LabelSep      xx
274   LabelType     Static
275   Margin        Dynamic
276   Font
277     Size        Small
278     Misc        No_Emph
279     Misc        No_Noun
280     Misc        No_Bar
281   EndFont
282   LabelFont
283    Shape        Italic
284    Size         Small
285   EndFont
286   DocBookTag         keyword
287   DocBookTagType     paragraph
288   DocBookWrapperTag  keywordset
289   DocBookInInfo      always
290 End
291
292 InsetLayout Flex:TableCaption
293   LyxType       custom
294   LatexType     command
295   LatexName     tbl
296   LabelString   "Table caption"
297   Font
298     Size        Small
299     Misc        No_Emph
300     Misc        No_Noun
301     Misc        No_Bar
302   EndFont
303   LabelFont
304     Color       textlabel2
305     Size        Small
306   EndFont
307   ResetsFont true
308   DocBookTag      caption
309   DocBookTagType  paragraph
310 End
311
312 InsetLayout Flex:Refcite
313   LyxType       custom
314   LatexType     command
315   LatexName     refcite
316   LabelString   "Cite reference"
317   Font
318     Size        Small
319     Misc        No_Emph
320     Misc        No_Noun
321     Misc        No_Bar
322   EndFont
323   LabelFont
324     Color       textlabel2
325     Size        Small
326   EndFont
327   ResetsFont true
328 End
329
330 Style ItemList
331   Category      List
332   Margin        Static
333   LatexType     Item_Environment
334   LatexName     itemlist
335   Argument listpreamble:1
336     LabelString    "List preamble"
337     MenuString     "List Preamble"
338     Tooltip        "LaTeX code to be inserted before the first item"
339     PassThru       1
340     Font
341       Family typewriter
342       Color latex
343     EndFont
344   EndArgument
345   NextNoIndent  1
346   ToggleIndent  Never
347   LeftMargin    MMN
348   LabelSep      xx
349   ItemSep       0.2
350   TopSep        0.7
351   BottomSep     0.7
352   ParSep        0.3
353   Align         Block
354   AlignPossible Block, Left
355   LabelType     Itemize
356   HTMLTag       ul
357   HTMLItem      li
358   HTMLLabel     NONE
359   DocBookTag            itemizedlist
360   DocBookItemTag        listitem
361   DocBookItemInnerTag   para
362 End
363
364 Style RomanList
365   Category      List
366   Margin        Static
367   LatexType     Item_Environment
368   LatexName     romanlist
369   Argument 1
370     LabelString "Numbering Scheme"
371     Tooltip     "Use the largest item number in your list, e.g. '(iv)' for 4 Roman numbered items"
372     PassThru    1
373   EndArgument
374   Argument listpreamble:1
375     LabelString    "List preamble"
376     MenuString     "List Preamble"
377     Tooltip        "LaTeX code to be inserted before the first item"
378     PassThru       1
379     Font
380       Family typewriter
381       Color latex
382     EndFont
383   EndArgument
384   NextNoIndent  1
385   LeftMargin    MMN
386   LabelSep      xx
387   ParSkip       0.0
388   ItemSep       0.2
389   TopSep        0.7
390   BottomSep     0.7
391   ParSep        0.3
392   Align Block
393   AlignPossible Block, Left
394   LabelType     Enumerate
395   LabelCounter  "enum"
396   HTMLClass   LyXRomanList
397   HTMLTag       ol
398   HTMLItem      li
399   HTMLLabel     NONE
400   RefPrefix     enu
401   DocBookTag            orderedlist
402   DocBookItemTag        listitem
403   DocBookItemInnerTag   para
404   HTMLStyle
405     ol.LyXRomanList { list-style-type: lower-roman; }
406   EndHTMLStyle
407 End
408
409 Style Proof
410   LatexType     Environment
411   LatexName     proof
412   Category      Reasoning
413   Margin        First_Dynamic
414   TopSep        0.6
415   BottomSep     0.6
416   Align Block
417   LabelType     Static
418   LabelString   "Proof:"
419   LabelSep      M
420   LabelFont
421    Series       Bold
422   EndFont
423   LabelFont
424    Series       Bold
425   EndFont
426   EndLabelType  Box
427   DocBookTag            para
428   DocBookAttr           role='proof'
429 End
430
431 Counter theorem
432         GuiName Theorem
433   Within        section
434 End
435 Style Theorem
436   ResetArgs      1
437   LabelString   "Theorem \thetheorem."
438   Font
439    Shape        Up
440   EndFont
441   LabelFont
442    Series       Bold
443   EndFont
444   DocBookTag            para
445   DocBookAttr           role='theorem'
446 End
447
448 Counter remark
449         GuiName Remark
450   Within        section
451 End
452 Style Remark
453   LabelString   "Remark \theremark."
454   LabelFont
455    Series       Bold
456    Shape        Up
457   EndFont
458 End
459
460 Counter corollary
461         GuiName Corollary
462   Within        section
463 End
464 Style Corollary
465   LabelString   "Corollary \thecorollary."
466 End
467
468 Counter lemma
469         GuiName Lemma
470   Within        section
471 End
472 Style Lemma
473   LabelString   "Lemma \thelemma."
474 End
475
476 Counter proposition
477         GuiName Proposition
478   Within        section
479 End
480 Style Proposition
481   LabelString   "Proposition \theproposition."
482 End
483
484 Counter question
485         GuiName Question
486   Within        section
487 End
488 Style Question
489   LabelString   "Question \thequestion."
490   LabelFont
491    Shape        Up
492   EndFont
493 End
494
495 Counter claim
496         GuiName Claim
497   Within        section
498 End
499 Style Claim
500   LabelCounter  claim
501   LabelString   "Claim \theclaim."
502   LabelFont
503    Shape        Up
504   EndFont
505 End
506
507 Counter conjecture
508         GuiName Conjecture
509   Within        section
510 End
511 Style Conjecture
512   LabelString   "Conjecture \theconjecture."
513   LabelFont
514    Shape        Up
515   EndFont
516 End
517
518 Counter prop
519         GuiName Prop(osition)
520   Within        section
521 End
522
523 Counter appendix
524         GuiName Appendix
525 End
526 Style Appendix
527   LatexType     Command
528   LatexName     section
529   Category      BackMatter
530   TopSep        0.6
531   BottomSep     0.6
532   Margin        First_Dynamic
533   Align Block
534   NextNoIndent  1
535   LabelType     Static
536   LabelCounter  appendix
537   LabelString   "Appendix \Alph{appendix}."
538   LabelSep      M
539   LabelFont
540    Series       Bold
541    Shape        Up
542    Size Normal
543   EndFont
544   Font
545    Series       Bold
546   EndFont
547   DocBookTag      title
548   DocBookTagType  paragraph
549   DocBookSection  true
550 End
551
552 Style Bibliography
553   Margin        First_Dynamic
554   LatexType     Bib_Environment
555   LatexName     thebibliography
556   Category      BackMatter
557   NextNoIndent  1
558   ToggleIndent  Never
559   LeftMargin    MM
560   ParSkip       0.4
561   ItemSep       0
562   TopSep        0.7
563   BottomSep     0.7
564   ParSep        0.5
565   Align         Block
566   AlignPossible Block, Left
567   LabelType     Bibliography
568   LabelString   "References"
569   LabelBottomSep        1.2
570   LabelFont
571     Series      Bold
572     Size        Larger
573   EndFont
574   TocLevel      1
575   IsTocCaption  0
576   Argument listpreamble:1
577     LabelString    "Bib preamble"
578     MenuString     "Bibliography Preamble"
579     Tooltip        "LaTeX code to be inserted before the first bibliography item"
580     PassThru       1
581     Font
582       Family typewriter
583       Color latex
584     EndFont
585   EndArgument
586 End