]> git.lyx.org Git - lyx.git/blob - lib/layouts/ijmpd.layout
Consider biblatex subtitles in bibliography preview
[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 104
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   PrettyFormat "Theorem ##"
435 End
436 Style Theorem
437   ResetArgs      1
438   LabelString   "Theorem \thetheorem."
439   Font
440    Shape        Up
441   EndFont
442   LabelFont
443    Series       Bold
444   EndFont
445   DocBookTag            para
446   DocBookAttr           role='theorem'
447 End
448
449 Counter remark
450         GuiName Remark
451   Within        section
452   PrettyFormat "Remark ##"
453 End
454 Style Remark
455   LabelString   "Remark \theremark."
456   LabelFont
457    Series       Bold
458    Shape        Up
459   EndFont
460 End
461
462 Counter corollary
463         GuiName Corollary
464   Within        section
465   PrettyFormat "Corollary ##"
466 End
467 Style Corollary
468   LabelString   "Corollary \thecorollary."
469 End
470
471 Counter lemma
472         GuiName Lemma
473   Within        section
474   PrettyFormat "Lemma ##"
475 End
476 Style Lemma
477   LabelString   "Lemma \thelemma."
478 End
479
480 Counter proposition
481         GuiName Proposition
482   Within        section
483 End
484 Style Proposition
485   LabelString   "Proposition \theproposition."
486 End
487
488 Counter question
489         GuiName Question
490   Within        section
491   PrettyFormat "Question ##"
492 End
493 Style Question
494   LabelString   "Question \thequestion."
495   LabelFont
496    Shape        Up
497   EndFont
498 End
499
500 Counter claim
501         GuiName Claim
502   Within        section
503   PrettyFormat "Claim ##"
504 End
505 Style Claim
506   LabelCounter  claim
507   LabelString   "Claim \theclaim."
508   LabelFont
509    Shape        Up
510   EndFont
511 End
512
513 Counter conjecture
514         GuiName Conjecture
515   Within        section
516   PrettyFormat "Conjecture ##"
517 End
518 Style Conjecture
519   LabelString   "Conjecture \theconjecture."
520   LabelFont
521    Shape        Up
522   EndFont
523 End
524
525 Counter prop
526         GuiName Prop(osition)
527   Within        section
528   PrettyFormat "Proposition ##"
529 End
530
531 Counter appendix
532         GuiName Appendix
533 End
534 Style Appendix
535   LatexType     Command
536   LatexName     section
537   Category      BackMatter
538   TopSep        0.6
539   BottomSep     0.6
540   Margin        First_Dynamic
541   Align Block
542   NextNoIndent  1
543   LabelType     Static
544   LabelCounter  appendix
545   LabelString   "Appendix \Alph{appendix}."
546   LabelSep      M
547   LabelFont
548    Series       Bold
549    Shape        Up
550    Size Normal
551   EndFont
552   Font
553    Series       Bold
554   EndFont
555   DocBookTag      title
556   DocBookTagType  paragraph
557   DocBookSection  true
558 End
559
560 Style Bibliography
561   Margin        First_Dynamic
562   LatexType     Bib_Environment
563   LatexName     thebibliography
564   Category      BackMatter
565   NextNoIndent  1
566   ToggleIndent  Never
567   LeftMargin    MM
568   ParSkip       0.4
569   ItemSep       0
570   TopSep        0.7
571   BottomSep     0.7
572   ParSep        0.5
573   Align         Block
574   AlignPossible Block, Left
575   LabelType     Bibliography
576   LabelString   "References"
577   LabelBottomSep        1.2
578   LabelFont
579     Series      Bold
580     Size        Larger
581   EndFont
582   TocLevel      1
583   IsTocCaption  0
584   Argument listpreamble:1
585     LabelString    "Bib preamble"
586     MenuString     "Bibliography Preamble"
587     Tooltip        "LaTeX code to be inserted before the first bibliography item"
588     PassThru       1
589     Font
590       Family typewriter
591       Color latex
592     EndFont
593   EndArgument
594 End