]> git.lyx.org Git - lyx.git/blob - lib/layouts/svcommon.inc
DocBook: implement svjour (still partial).
[lyx.git] / lib / layouts / svcommon.inc
1 # svcommon (article) textclass definition file for inclusion.
2 # for Springer Verlag publications
3 # based on sjour.inc:
4 #     --------
5 #     Taken from initial LyX source code
6 #     Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
7 #     Transposed by Pascal André <andre@via.ecp.fr>
8 #     Heavily modified and enhanced by several developers.
9 #     --------
10 #     ejour2 made originally by Martin Vermeer based on article.layout.
11 #     Modified for LyX 1.2 by Jean-Marc Lasgouttes and MV.
12 #     Minor change for LyX 1.3.3 by Cengiz Gunay.
13 #
14 #     Adapted for new svjour LaTeX2e classes published by Springer in 1999;
15 #     work done by MV in 2000.
16 #
17 # Adapted for svmono, svmult, and svjour3 2011
18 # by Marcus Kriele (mkriele@mac.com) and Uwe Stöhr
19 # see http://www.springer.com/authors for class files and further instructions
20
21
22 Format 85
23 PageStyle               Plain
24
25
26 Style Standard
27         Category        MainText
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         DocBookTag             para
37 End
38
39 Input stdcounters.inc
40 Input stdfloats.inc
41 Input stdlists.inc
42 Input stdinsets.inc
43 Input stdsections.inc
44 Input stdstarsections.inc
45 Input stdlayouts.inc
46 Input stdtitle.inc
47 Input numreport.inc
48
49 ProvidesModule theorems-std
50 Input theorems-without-preamble.inc
51 NoStyle Fact
52 NoStyle Prop
53
54 NoCounter subparagraph
55 NoStyle Subparagraph*
56
57
58 Style Title
59         Align           Left
60         AlignPossible   Block, Center, Left, Right
61         Font
62           Family        Sans
63           Series        Bold
64         EndFont
65         DocBookTag            title
66         DocBookTagType        paragraph
67         DocBookInInfo         maybe
68 End
69
70
71
72 Style Front_Matter
73         Category        Structure
74         LatexType       Command
75         LatexName       frontmatter
76         KeepEmpty       1
77         ResetArgs       1
78         Margin          First_Dynamic
79         NextNoIndent    1
80         ParSkip         0
81         TopSep          2.5
82         BottomSep       0.5
83         ParSep          0
84         Align           Center
85         LabelType       Static
86         LabelBottomSep  0
87         LeftMargin      M
88         LabelString     "--- Front Matter ---"
89
90         Font
91           Family        Sans
92           Series        Bold
93           Size          Largest
94           Color         Blue
95         EndFont
96 End
97
98 Style Main_Matter
99         CopyStyle       Front_Matter
100         Category        Structure
101         LatexName       mainmatter
102         LabelString     "--- Main Matter ---"
103 End
104
105 Style Back_Matter
106         CopyStyle       Front_Matter
107         Category        Structure
108         LatexName       backmatter
109         LabelString     "--- Back Matter ---"
110 End
111
112 Style Part
113         Margin          Static
114         Align           Right
115         DocBookTag            title
116         DocBookTagType        paragraph
117         DocBookSectionTag     part
118         DocBookForceAbstractTag partintro
119 End
120
121 ## The following is a variant of style Part.  It allows to place some
122 ## text on the following page which would otherwise be blank.  
123
124 Style PartBacktext
125         Category        Sectioning
126         Margin          First_Dynamic
127         LabelString     "Part \thepart"
128         LabelType       Static
129         TocLevel        0
130         LabelCounter    part
131         Labelsep        xx
132         NeedProtect     1
133         ParIndent       MM
134         TopSep          4
135         BottomSep       4
136         LaTexType       Environment
137         LatexName       svmultpartbacktext
138         LabelFont
139           Series        Bold
140           Size          Huge
141         EndFont
142         TextFont
143           Series        Medium
144           Shape         Up
145           Size          normal
146         EndFont
147         Argument 1
148           Mandatory     1
149           LabelString   "Part Title"
150           Tooltip       "Title of this part"
151           IsTocCaption  1
152         EndArgument
153         Preamble
154           \newenvironment{svmultpartbacktext}[1]{\begin{partbacktext}
155           \part{#1}}{\end{partbacktext}}
156         EndPreamble
157         HTMLTag         h1
158 End
159
160 Style Chapter
161         Align           Left
162         DocBookTag            title
163         DocBookTagType        paragraph
164         DocBookSectionTag     chapter
165 End
166
167 Style ChapSubtitle
168         LatexName       chapsubtitle
169         LatexType       Command
170         Category        Sectioning
171         TopSep          0.7
172         Font
173           Series        Bold
174           Shape         Up
175           Size          large
176         EndFont
177         DocBookTag            subtitle
178
179 End
180
181 Style ChapAuthor
182         LatexName       chapauthor
183         LatexType       Command
184         Category        Sectioning
185         TopSep          0.7
186         Font
187           Series        Bold
188           Shape         Up
189           Size          normal
190         EndFont
191         DocBookTag            personname
192         DocBookTagType        paragraph
193         DocBookWrapperTag     author
194         DocBookWrapperTagType inline
195         DocBookInInfo         always
196 End
197
198 Style ChapMotto
199         LatexName       motto
200         LatexType       Command
201         Category        Sectioning
202         TopSep          0.7
203         BottomSep       0.7
204         Align           Left
205         LeftMargin      MMMMMMMMMMMM
206         Font
207           Series        Medium
208           Shape         Italic
209           Size          normal
210         EndFont
211 End
212
213 Style Section
214         Font
215           Series        Bold
216           Shape         Up
217           Size          large
218         EndFont
219         TocLevel        1
220 End
221
222 Style Subsection
223         Font
224           Series        Bold
225           Shape         Italic
226           Size          large
227         EndFont
228         TocLevel        2
229 End
230
231 Style Subsubsection
232         Font
233           Series        Bold
234           Shape         Up
235           Size          Normal
236         EndFont
237         TocLevel        3
238 End
239
240 Style Paragraph
241         Font
242           Series        Medium
243           Shape         Up
244           Size          Normal
245         EndFont
246         TopSep          0.7
247         BottomSep       0.4
248         TocLevel        4
249 End
250
251 Style Subparagraph
252         LeftMargin      ""
253         Font
254           Series        Medium
255           Shape         Italic
256           Size          Normal
257         EndFont
258         TopSep          0.7
259         BottomSep       0.4
260         TocLevel        4
261 End
262
263 Style Part*
264       Margin            Static
265       Align             Right
266 End
267
268 Style Chapter*
269         Align           Left
270 End
271
272 Style Section*
273         Font
274           Series        Bold
275           Shape         Up
276           Size          large
277         EndFont
278 End
279
280 Style Subsection*
281         Font
282           Series        Bold
283           Shape         Italic
284           Size          large
285         EndFont
286 End
287
288 Style Subsubsection*
289         Font
290           Series        Bold
291           Shape         Up
292           Size          Normal
293         EndFont
294 End
295
296 Style Paragraph*
297         Font
298           Series        Medium
299           Shape         Up
300           Size          Normal
301         EndFont
302         TopSep          0.7
303         BottomSep       0.4
304 End
305
306 Style Run-in_headings
307         Category        Unnumbered
308         LabelType       No_Label
309         LabelSep        xx
310         TopSep          0.7
311         Font
312           Series        Bold
313           Shape         Up
314           Size          Normal
315         EndFont
316         Margin          Static
317         LatexType       Command
318         LatexName       runinhead
319 End
320
321 Style Sub-run-in_headings
322         CopyStyle       Run-in_headings
323         Font 
324           Series        Medium
325           Shape         Italic
326           Size          Normal
327         EndFont
328         LatexName       subruninhead
329 End
330
331 Style Extrachap
332         CopyStyle       Chapter*
333         LatexName       Extrachap
334 End
335
336 Style extrachap
337         CopyStyle       Chapter*
338         LatexName       extrachap
339 End
340
341 Style Title
342         Align           Left
343         AlignPossible   Block, Center, Left, Right, Center
344         Font
345           Family        Sans
346           Series        Bold
347         EndFont
348 End
349
350 Style Subtitle
351         CopyStyle       Title
352         LatexName       subtitle
353         NextNoIndent    1
354         BottomSep       0
355         ParSep          0
356         Font
357           Size          Large
358         EndFont
359         DocBookTag            subtitle
360 End
361
362 Style Author
363         NextNoIndent    1
364         Align           Left
365         Font
366           Series        Bold
367           Shape         Italic
368         EndFont
369         DocBookTag            personname
370         DocBookTagType        paragraph
371         DocBookWrapperTag     author
372         DocBookWrapperTagType inline
373         DocBookInInfo         always
374 End
375
376 Style Institute
377         Category        FrontMatter
378         LatexType       Command
379         InTitle         1
380         LatexName       institute
381         Margin          First_Dynamic
382         LabelSep        x
383         LabelType       Static
384         LabelString     "Author data:"
385         LabelFont
386           Family        Typewriter
387           Color         Blue
388         EndFont
389         Requires        url
390         Align           Left
391 End
392
393 Style Date
394         Align           Left
395         Font
396           Size          Small
397         EndFont
398 End
399
400 Style TOC_Title
401         Category        FrontMatter
402         Margin          First_Dynamic
403         Align           Left
404         LatexType       Command
405         LatexName       toctitle
406         LeftMargin      xx
407         TopSep          0.4
408         BottomSep       0.4
409         LabelType       Static
410         LabelSep        x
411         LabelString     "TOC title:"
412         LabelFont
413           Family        Typewriter
414           Color         Blue
415         EndFont  
416 End
417
418 Style TOC_Author
419         CopyStyle       TOC_Title
420         LatexName       tocauthor
421         LabelString     "TOC author:"
422 End
423
424 Style Running_Title
425         CopyStyle       TOC_Title
426         LatexName       titlerunning
427         InTitle         1
428         LabelString     "Running title:"
429 End
430
431 Style Running_Author
432         CopyStyle       Running_Title
433         LatexName       authorrunning
434         LabelString     "Running author:"
435 End
436
437 Style Running_Chapter
438         CopyStyle       Running_Title
439         Category        Sectioning
440         InTitle         0
441         LatexName       chaptermark
442         LabelString     "Running chapter:"
443 End
444
445 Style Running_Section
446         CopyStyle       Running_Chapter
447         LatexName       sectionmark
448         LabelString     "Running section:"
449 End
450
451 Style Abstract
452         Category        FrontMatter
453         Margin          First_Dynamic
454         LatexType       Environment
455         LatexName       abstract
456         LabelType       Static
457         LabelString     "Abstract"
458         LabelFont
459           Series        Bold
460         EndFont
461         NextNoIndent    0
462         ParIndent       MM
463         LabelSep        xx
464         ItemSep         0
465         TopSep          0.7
466         BottomSep       0.7
467         ParSep          0
468         Align           Block
469         AlignPossible   Block, Left
470         DocBookAbstract       true
471         DocBookInInfo         always
472         DocBookWrapperTag     abstract
473         DocBookWrapperMergeWithPrevious    true
474         DocBookTag            para
475 End
476
477 Style Abstract*
478         CopyStyle       Abstract
479         LatexType       Command
480         LatexName       abstract*
481         LabelString     "Abstract* (not printed)"
482         LabelFont
483           Color         Blue
484         EndFont
485         TextFont        
486           Color         Blue
487         EndFont
488         DocBookAbstract       true
489         DocBookInInfo         always
490         DocBookWrapperTag     abstract
491         DocBookWrapperAttr    role='not-printed'
492         DocBookWrapperMergeWithPrevious    true
493         DocBookTag            para
494 End
495
496 Style Keywords
497         Margin          First_Dynamic
498         LatexType       Command
499         LatexName       keywords
500         Category        FrontMatter
501         NextNoIndent    0
502         ParIndent       MM
503         LabelSep        xx
504         ItemSep         0
505         TopSep          0.7
506         BottomSep       0.7
507         ParSep          0
508         Align           Block
509         AlignPossible   Block, Left
510         LabelType       Static
511         LabelString     "Keywords"
512         LabelFont
513           Series        Bold
514         EndFont
515         DocBookTag          keyword
516         DocBookTagType      paragraph
517         DocBookWrapperTag   keywordset
518         DocBookInInfo       always
519 End
520
521 Style Dedication
522         Category        FrontMatter
523         Margin          Static
524         LatexType       Environment
525         LatexName       dedication
526         LeftMargin      MMMMMMMMMMMM
527         TopSep          2
528         ParIndent       MM
529         Parsep          0
530         BottomSep       2
531         Align           Left
532         LabelType       Static
533         LabelString     ""
534         LabelIndent     ""
535         Font
536           Shape         Italic
537           Size          large
538         EndFont
539 End
540
541 Style Foreword
542         Margin          First_Dynamic
543         Category        FrontMatter
544         LabelType       Static
545         LabelString     "Foreword"
546         KeepEmpty       1
547         LatexName       foreword
548         TocLevel        0
549         LatexType       Command
550         NeedProtect     1
551         NextNoIndent    1
552         ParSkip         0.4
553         TopSep          4
554         BottomSep       0.8
555         ParSep          0.8
556         Align           Block
557         Argument 1
558           LabelString   "Alternative Name"
559           Tooltip       "Alternative name"
560         EndArgument
561         Font
562           Series        Bold
563           Size          Huge
564         EndFont
565         HTMLTag         h1
566 End
567
568 Style Preface
569         CopyStyle       Foreword
570         Category        FrontMatter
571         LatexName       preface
572         InTitle         0
573         Margin          First_Dynamic
574         TopSep          4
575         BottomSep       0.8
576         LabelType       Static
577         LabelString     "Preface"
578         LabelSep        xx
579         Align           Left
580 End
581
582 Style Acknowledgement
583         Category        BackMatter
584         Margin          First_Dynamic
585         LatexType       Environment
586         LatexName       acknowledgement
587         NextNoIndent    0
588         ParIndent       MM
589         LabelSep        xx
590         ItemSep         0
591         TopSep          0.7
592         BottomSep       0.7
593         ParSep          0
594         Align           Block
595         AlignPossible   Block, Left
596         LabelType       Static
597         LabelString     "Acknowledgements"
598         Font
599           Size          Small
600         EndFont
601         LabelFont
602           Series        Bold
603           Shape         Up
604           Size          Small
605         EndFont
606 End
607
608 Style Acknowledgements
609         CopyStyle       Acknowledgement
610         LatexName       acknowledgements
611 End
612
613 Style Bibliography
614         Margin          First_Dynamic
615         LatexType       Bib_Environment
616         LatexName       thebibliography
617         Category        BackMatter
618         NextNoIndent    1
619         ToggleIndent    Never
620         LeftMargin      MM
621         ParSkip         0.4
622         ItemSep         0
623         TopSep          0.7
624         BottomSep       0.7
625         ParSep          0.5
626         Align           Block
627         AlignPossible   Block, Left
628         LabelType       Bibliography
629         LabelString     "References"
630         LabelBottomSep  0.7
631         LabelFont
632           Series        Bold
633         EndFont
634         TocLevel        0
635         IsTocCaption    0
636         Argument listpreamble:1
637           LabelString    "Bib preamble"
638           MenuString     "Bibliography Preamble"
639           Tooltip        "LaTeX code to be inserted before the first bibliography item"
640           PassThru       1
641           Font
642             Family typewriter
643             Color latex
644           EndFont
645         EndArgument
646 End
647
648 Style Description
649         Argument 1
650           LabelString   "Longest Description Label"
651           Tooltip       "Longest description label"
652         EndArgument
653         LabelFont
654           Series        Medium
655         EndFont
656         DocBookTag            variablelist
657         DocBookItemWrapperTag varlistentry
658         DocBookItemTag        listitem
659         DocBookItemInnerTag   para
660         DocBookItemLabelTag   term
661         DocBookItemLabelTagType   paragraph
662 End
663
664 Style Petit
665         CopyStyle       Standard
666         Category        MainText
667         LatexType       Environment
668         LatexName       petit
669         TopSep          0.7
670         BottomSep       0.7
671         Font
672           Size          Small
673         EndFont
674 End
675
676 Style Svgraybox
677         Category        MainText
678         Margin          Static
679         LatexType       Environment
680         LatexName       svgraybox
681         RightMargin     MMM
682         TopSep          0.5
683         ParIndent       MM
684         Parsep          0
685         BottomSep       0.5
686         Align           Block
687         AlignPossible   Block, Left, Right, Center
688         LabelType       No_Label
689         Font
690           Family        Sans
691         EndFont
692 End
693
694 Style Proof
695         Category        Reasoning
696         LatexType       Environment
697         LatexName       proof
698         Margin          First_Dynamic
699         LeftMargin      xxx
700         TopSep          0.4
701         BottomSep       0.4
702         LabelType       Static
703         LabelSep        xx
704         LabelString     "Proof."
705         LabelFont
706           Shape         Italic
707         EndFont
708         LangPreamble
709           \providecommand{\proofname}{_(Proof)}
710         EndLangPreamble
711         BabelPreamble
712           \addto\captions$$lang{\renewcommand{\proofname}{_(Proof)}}
713         EndBabelPreamble
714 End
715
716 Style Proof(QED)
717         CopyStyle       Proof
718         LatexName       svmultproof
719         EndLabelType    Box
720         Preamble
721           \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
722         EndPreamble
723 End
724
725 Style Proof(smartQED)
726         CopyStyle       Proof
727         LatexName       svmultproof2
728         EndLabelType    Box
729         Preamble
730           \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
731         EndPreamble
732 End
733
734 InsetLayout Flex:Email
735         Decoration      Conglomerate
736         LyxType         custom
737         LatexType       command
738         LatexName       email
739         LabelString     "Email"
740         Font
741           Color         foreground
742           Size          Small
743           Family        Roman
744           Shape         Up
745           Series        Medium
746           Misc          No_Emph
747           Misc          No_Noun
748           Misc          No_Bar
749         EndFont
750         LabelFont
751           Color         urltext
752           Size          Small
753         EndFont
754         ResetsFont true
755 End
756