]> git.lyx.org Git - lyx.git/blob - lib/layouts/svcommon.inc
DocBook: Springer, more features implemented.
[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         DocBookTag             para
540         DocBookTagType         paragraph
541         DocBookWrapperTag      dedication
542         DocBookWrapperTagType  block
543         DocBookWrapperMergeWithPrevious    true
544 End
545
546 Style Foreword
547         Margin          First_Dynamic
548         Category        FrontMatter
549         LabelType       Static
550         LabelString     "Foreword"
551         KeepEmpty       1
552         LatexName       foreword
553         TocLevel        0
554         LatexType       Command
555         NeedProtect     1
556         NextNoIndent    1
557         ParSkip         0.4
558         TopSep          4
559         BottomSep       0.8
560         ParSep          0.8
561         Align           Block
562         Argument 1
563           LabelString   "Alternative Name"
564           Tooltip       "Alternative name"
565         EndArgument
566         Font
567           Series        Bold
568           Size          Huge
569         EndFont
570         HTMLTag         h1
571         DocBookTag             para
572         DocBookTagType         paragraph
573         DocBookWrapperTag      preface
574         DocBookWrapperTagType  block
575         DocBookWrapperMergeWithPrevious    true
576 End
577
578 Style Preface
579         CopyStyle       Foreword
580         Category        FrontMatter
581         LatexName       preface
582         InTitle         0
583         Margin          First_Dynamic
584         TopSep          4
585         BottomSep       0.8
586         LabelType       Static
587         LabelString     "Preface"
588         LabelSep        xx
589         Align           Left
590 End
591
592 Style Acknowledgement
593         Category        BackMatter
594         Margin          First_Dynamic
595         LatexType       Environment
596         LatexName       acknowledgement
597         NextNoIndent    0
598         ParIndent       MM
599         LabelSep        xx
600         ItemSep         0
601         TopSep          0.7
602         BottomSep       0.7
603         ParSep          0
604         Align           Block
605         AlignPossible   Block, Left
606         LabelType       Static
607         LabelString     "Acknowledgements"
608         Font
609           Size          Small
610         EndFont
611         LabelFont
612           Series        Bold
613           Shape         Up
614           Size          Small
615         EndFont
616 End
617
618 Style Acknowledgements
619         CopyStyle       Acknowledgement
620         LatexName       acknowledgements
621 End
622
623 Style Bibliography
624         Margin          First_Dynamic
625         LatexType       Bib_Environment
626         LatexName       thebibliography
627         Category        BackMatter
628         NextNoIndent    1
629         ToggleIndent    Never
630         LeftMargin      MM
631         ParSkip         0.4
632         ItemSep         0
633         TopSep          0.7
634         BottomSep       0.7
635         ParSep          0.5
636         Align           Block
637         AlignPossible   Block, Left
638         LabelType       Bibliography
639         LabelString     "References"
640         LabelBottomSep  0.7
641         LabelFont
642           Series        Bold
643         EndFont
644         TocLevel        0
645         IsTocCaption    0
646         Argument listpreamble:1
647           LabelString    "Bib preamble"
648           MenuString     "Bibliography Preamble"
649           Tooltip        "LaTeX code to be inserted before the first bibliography item"
650           PassThru       1
651           Font
652             Family typewriter
653             Color latex
654           EndFont
655         EndArgument
656 End
657
658 Style Description
659         Argument 1
660           LabelString   "Longest Description Label"
661           Tooltip       "Longest description label"
662         EndArgument
663         LabelFont
664           Series        Medium
665         EndFont
666         DocBookTag            variablelist
667         DocBookItemWrapperTag varlistentry
668         DocBookItemTag        listitem
669         DocBookItemInnerTag   para
670         DocBookItemLabelTag   term
671         DocBookItemLabelTagType   paragraph
672 End
673
674 Style Petit
675         CopyStyle       Standard
676         Category        MainText
677         LatexType       Environment
678         LatexName       petit
679         TopSep          0.7
680         BottomSep       0.7
681         Font
682           Size          Small
683         EndFont
684 End
685
686 Style Svgraybox
687         Category        MainText
688         Margin          Static
689         LatexType       Environment
690         LatexName       svgraybox
691         RightMargin     MMM
692         TopSep          0.5
693         ParIndent       MM
694         Parsep          0
695         BottomSep       0.5
696         Align           Block
697         AlignPossible   Block, Left, Right, Center
698         LabelType       No_Label
699         Font
700           Family        Sans
701         EndFont
702 End
703
704 Style Proof
705         Category        Reasoning
706         LatexType       Environment
707         LatexName       proof
708         Margin          First_Dynamic
709         LeftMargin      xxx
710         TopSep          0.4
711         BottomSep       0.4
712         LabelType       Static
713         LabelSep        xx
714         LabelString     "Proof."
715         LabelFont
716           Shape         Italic
717         EndFont
718         LangPreamble
719           \providecommand{\proofname}{_(Proof)}
720         EndLangPreamble
721         BabelPreamble
722           \addto\captions$$lang{\renewcommand{\proofname}{_(Proof)}}
723         EndBabelPreamble
724 End
725
726 Style Proof(QED)
727         CopyStyle       Proof
728         LatexName       svmultproof
729         EndLabelType    Box
730         Preamble
731           \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
732         EndPreamble
733 End
734
735 Style Proof(smartQED)
736         CopyStyle       Proof
737         LatexName       svmultproof2
738         EndLabelType    Box
739         Preamble
740           \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
741         EndPreamble
742 End
743
744 InsetLayout Flex:Email
745         Decoration      Conglomerate
746         LyxType         custom
747         LatexType       command
748         LatexName       email
749         LabelString     "Email"
750         Font
751           Color         foreground
752           Size          Small
753           Family        Roman
754           Shape         Up
755           Series        Medium
756           Misc          No_Emph
757           Misc          No_Noun
758           Misc          No_Bar
759         EndFont
760         LabelFont
761           Color         urltext
762           Size          Small
763         EndFont
764         ResetsFont true
765 End
766