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