]> git.lyx.org Git - lyx.git/blob - lib/layouts/svcommon.inc
0bc1f366a1e44b978a26c91e641a3c55c5cfceab
[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 86
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           DocBookTag    title
153         EndArgument
154         Preamble
155           \newenvironment{svmultpartbacktext}[1]{\begin{partbacktext}
156           \part{#1}}{\end{partbacktext}}
157         EndPreamble
158         HTMLTag         h1
159         DocBookTag            NONE
160         DocBookSection        true
161         DocBookSectionTag     part
162         # A second paragraph of PartBacktext can only wreak havok: it should start a section, and nothing else (otherwise, it's a real nightmare to implement). This ought to be enough for now, even though the document cannot be valid.
163 End
164
165 Style Chapter
166         Align           Left
167         DocBookTag            title
168         DocBookTagType        paragraph
169         DocBookSectionTag     chapter
170 End
171
172 Style ChapSubtitle
173         LatexName       chapsubtitle
174         LatexType       Command
175         Category        Sectioning
176         TopSep          0.7
177         Font
178           Series        Bold
179           Shape         Up
180           Size          large
181         EndFont
182         DocBookTag            subtitle
183
184 End
185
186 Style ChapAuthor
187         LatexName       chapauthor
188         LatexType       Command
189         Category        Sectioning
190         TopSep          0.7
191         Font
192           Series        Bold
193           Shape         Up
194           Size          normal
195         EndFont
196         DocBookTag            personname
197         DocBookTagType        paragraph
198         DocBookWrapperTag     author
199         DocBookWrapperTagType inline
200         DocBookInInfo         always
201 End
202
203 Style ChapMotto
204         LatexName       motto
205         LatexType       Command
206         Category        Sectioning
207         TopSep          0.7
208         BottomSep       0.7
209         Align           Left
210         LeftMargin      MMMMMMMMMMMM
211         Font
212           Series        Medium
213           Shape         Italic
214           Size          normal
215         EndFont
216 End
217
218 Style Section
219         Font
220           Series        Bold
221           Shape         Up
222           Size          large
223         EndFont
224         TocLevel        1
225 End
226
227 Style Subsection
228         Font
229           Series        Bold
230           Shape         Italic
231           Size          large
232         EndFont
233         TocLevel        2
234 End
235
236 Style Subsubsection
237         Font
238           Series        Bold
239           Shape         Up
240           Size          Normal
241         EndFont
242         TocLevel        3
243 End
244
245 Style Paragraph
246         Font
247           Series        Medium
248           Shape         Up
249           Size          Normal
250         EndFont
251         TopSep          0.7
252         BottomSep       0.4
253         TocLevel        4
254 End
255
256 Style Subparagraph
257         LeftMargin      ""
258         Font
259           Series        Medium
260           Shape         Italic
261           Size          Normal
262         EndFont
263         TopSep          0.7
264         BottomSep       0.4
265         TocLevel        4
266 End
267
268 Style Part*
269       Margin            Static
270       Align             Right
271 End
272
273 Style Chapter*
274         Align           Left
275 End
276
277 Style Section*
278         Font
279           Series        Bold
280           Shape         Up
281           Size          large
282         EndFont
283 End
284
285 Style Subsection*
286         Font
287           Series        Bold
288           Shape         Italic
289           Size          large
290         EndFont
291 End
292
293 Style Subsubsection*
294         Font
295           Series        Bold
296           Shape         Up
297           Size          Normal
298         EndFont
299 End
300
301 Style Paragraph*
302         Font
303           Series        Medium
304           Shape         Up
305           Size          Normal
306         EndFont
307         TopSep          0.7
308         BottomSep       0.4
309 End
310
311 Style Run-in_headings
312         Category        Unnumbered
313         LabelType       No_Label
314         LabelSep        xx
315         TopSep          0.7
316         Font
317           Series        Bold
318           Shape         Up
319           Size          Normal
320         EndFont
321         Margin          Static
322         LatexType       Command
323         LatexName       runinhead
324 End
325
326 Style Sub-run-in_headings
327         CopyStyle       Run-in_headings
328         Font 
329           Series        Medium
330           Shape         Italic
331           Size          Normal
332         EndFont
333         LatexName       subruninhead
334 End
335
336 Style Extrachap
337         CopyStyle       Chapter*
338         LatexName       Extrachap
339 End
340
341 Style extrachap
342         CopyStyle       Chapter*
343         LatexName       extrachap
344 End
345
346 Style Title
347         Align           Left
348         AlignPossible   Block, Center, Left, Right, Center
349         Font
350           Family        Sans
351           Series        Bold
352         EndFont
353 End
354
355 Style Subtitle
356         CopyStyle       Title
357         LatexName       subtitle
358         NextNoIndent    1
359         BottomSep       0
360         ParSep          0
361         Font
362           Size          Large
363         EndFont
364         DocBookTag            subtitle
365 End
366
367 Style Author
368         NextNoIndent    1
369         Align           Left
370         Font
371           Series        Bold
372           Shape         Italic
373         EndFont
374         DocBookTag            personname
375         DocBookTagType        paragraph
376         DocBookWrapperTag     author
377         DocBookWrapperTagType inline
378         DocBookInInfo         always
379 End
380
381 Style Institute
382         Category        FrontMatter
383         LatexType       Command
384         InTitle         1
385         LatexName       institute
386         Margin          First_Dynamic
387         LabelSep        x
388         LabelType       Static
389         LabelString     "Author data:"
390         LabelFont
391           Family        Typewriter
392           Color         Blue
393         EndFont
394         Requires        url
395         Align           Left
396 End
397
398 Style Date
399         Align           Left
400         Font
401           Size          Small
402         EndFont
403 End
404
405 Style TOC_Title
406         Category        FrontMatter
407         Margin          First_Dynamic
408         Align           Left
409         LatexType       Command
410         LatexName       toctitle
411         LeftMargin      xx
412         TopSep          0.4
413         BottomSep       0.4
414         LabelType       Static
415         LabelSep        x
416         LabelString     "TOC title:"
417         LabelFont
418           Family        Typewriter
419           Color         Blue
420         EndFont  
421 End
422
423 Style TOC_Author
424         CopyStyle       TOC_Title
425         LatexName       tocauthor
426         LabelString     "TOC author:"
427 End
428
429 Style Running_Title
430         CopyStyle       TOC_Title
431         LatexName       titlerunning
432         InTitle         1
433         LabelString     "Running title:"
434         DocBookTag            titleabbrev
435         DocBookTagType        paragraph
436         DocBookInInfo         maybe
437 End
438
439 Style Running_Author
440         CopyStyle       Running_Title
441         LatexName       authorrunning
442         LabelString     "Running author:"
443         DocBookTag  NONE # Still TODO
444 End
445
446 Style Running_Chapter
447         CopyStyle       Running_Title
448         Category        Sectioning
449         InTitle         0
450         LatexName       chaptermark
451         LabelString     "Running chapter:"
452         DocBookTag            titleabbrev
453         DocBookTagType        paragraph
454         DocBookInInfo         maybe
455         DocBookSection        false
456 End
457
458 Style Running_Section
459         CopyStyle       Running_Chapter
460         LatexName       sectionmark
461         LabelString     "Running section:"
462         DocBookTag            titleabbrev
463         DocBookTagType        paragraph
464         DocBookInInfo         maybe
465 End
466
467 Style Abstract
468         Category        FrontMatter
469         Margin          First_Dynamic
470         LatexType       Environment
471         LatexName       abstract
472         LabelType       Static
473         LabelString     "Abstract"
474         LabelFont
475           Series        Bold
476         EndFont
477         NextNoIndent    0
478         ParIndent       MM
479         LabelSep        xx
480         ItemSep         0
481         TopSep          0.7
482         BottomSep       0.7
483         ParSep          0
484         Align           Block
485         AlignPossible   Block, Left
486         DocBookAbstract       true
487         DocBookInInfo         always
488         DocBookWrapperTag     abstract
489         DocBookWrapperMergeWithPrevious    true
490         DocBookTag            para
491 End
492
493 Style Abstract*
494         CopyStyle       Abstract
495         LatexType       Command
496         LatexName       abstract*
497         LabelString     "Abstract* (not printed)"
498         LabelFont
499           Color         Blue
500         EndFont
501         TextFont        
502           Color         Blue
503         EndFont
504         DocBookAbstract       true
505         DocBookInInfo         always
506         DocBookWrapperTag     abstract
507         DocBookWrapperAttr    role='not-printed'
508         DocBookWrapperMergeWithPrevious    true
509         DocBookTag            para
510 End
511
512 Style Keywords
513         Margin          First_Dynamic
514         LatexType       Command
515         LatexName       keywords
516         Category        FrontMatter
517         NextNoIndent    0
518         ParIndent       MM
519         LabelSep        xx
520         ItemSep         0
521         TopSep          0.7
522         BottomSep       0.7
523         ParSep          0
524         Align           Block
525         AlignPossible   Block, Left
526         LabelType       Static
527         LabelString     "Keywords"
528         LabelFont
529           Series        Bold
530         EndFont
531         DocBookTag          keyword
532         DocBookTagType      paragraph
533         DocBookWrapperTag   keywordset
534         DocBookInInfo       always
535 End
536
537 Style Dedication
538         Category        FrontMatter
539         Margin          Static
540         LatexType       Environment
541         LatexName       dedication
542         LeftMargin      MMMMMMMMMMMM
543         TopSep          2
544         ParIndent       MM
545         Parsep          0
546         BottomSep       2
547         Align           Left
548         LabelType       Static
549         LabelString     ""
550         LabelIndent     ""
551         Font
552           Shape         Italic
553           Size          large
554         EndFont
555         DocBookTag             para
556         DocBookTagType         paragraph
557         DocBookWrapperTag      dedication
558         DocBookWrapperTagType  block
559         DocBookWrapperMergeWithPrevious    true
560 End
561
562 Style Foreword
563         Margin          First_Dynamic
564         Category        FrontMatter
565         LabelType       Static
566         LabelString     "Foreword"
567         KeepEmpty       1
568         LatexName       foreword
569         TocLevel        0
570         LatexType       Command
571         NeedProtect     1
572         NextNoIndent    1
573         ParSkip         0.4
574         TopSep          4
575         BottomSep       0.8
576         ParSep          0.8
577         Align           Block
578         Argument 1
579           LabelString   "Alternative Name"
580           Tooltip       "Alternative name"
581         EndArgument
582         Font
583           Series        Bold
584           Size          Huge
585         EndFont
586         DocBookTag             title
587         DocBookTagType         paragraph
588         DocBookSection         true
589         DocBookSectionTag      preface
590 End
591
592 Style Preface
593         CopyStyle       Foreword
594         Category        FrontMatter
595         LatexName       preface
596         InTitle         0
597         Margin          First_Dynamic
598         TopSep          4
599         BottomSep       0.8
600         LabelType       Static
601         LabelString     "Preface"
602         LabelSep        xx
603         Align           Left
604         DocBookTag             title
605         DocBookTagType         paragraph
606         DocBookSection         true
607         DocBookSectionTag      preface
608 End
609
610 Style Acknowledgement
611         Category        BackMatter
612         Margin          First_Dynamic
613         LatexType       Environment
614         LatexName       acknowledgement
615         NextNoIndent    0
616         ParIndent       MM
617         LabelSep        xx
618         ItemSep         0
619         TopSep          0.7
620         BottomSep       0.7
621         ParSep          0
622         Align           Block
623         AlignPossible   Block, Left
624         LabelType       Static
625         LabelString     "Acknowledgements"
626         Font
627           Size          Small
628         EndFont
629         LabelFont
630           Series        Bold
631           Shape         Up
632           Size          Small
633         EndFont
634 End
635
636 Style Acknowledgements
637         CopyStyle       Acknowledgement
638         LatexName       acknowledgements
639 End
640
641 Style Bibliography
642         Margin          First_Dynamic
643         LatexType       Bib_Environment
644         LatexName       thebibliography
645         Category        BackMatter
646         NextNoIndent    1
647         ToggleIndent    Never
648         LeftMargin      MM
649         ParSkip         0.4
650         ItemSep         0
651         TopSep          0.7
652         BottomSep       0.7
653         ParSep          0.5
654         Align           Block
655         AlignPossible   Block, Left
656         LabelType       Bibliography
657         LabelString     "References"
658         LabelBottomSep  0.7
659         LabelFont
660           Series        Bold
661         EndFont
662         TocLevel        0
663         IsTocCaption    0
664         Argument listpreamble:1
665           LabelString    "Bib preamble"
666           MenuString     "Bibliography Preamble"
667           Tooltip        "LaTeX code to be inserted before the first bibliography item"
668           PassThru       1
669           Font
670             Family typewriter
671             Color latex
672           EndFont
673         EndArgument
674 End
675
676 Style Description
677         Argument 1
678           LabelString   "Longest Description Label"
679           Tooltip       "Longest description label"
680         EndArgument
681         LabelFont
682           Series        Medium
683         EndFont
684         DocBookTag            variablelist
685         DocBookItemWrapperTag varlistentry
686         DocBookItemTag        listitem
687         DocBookItemInnerTag   para
688         DocBookItemLabelTag   term
689         DocBookItemLabelTagType   paragraph
690 End
691
692 Style Petit
693         CopyStyle       Standard
694         Category        MainText
695         LatexType       Environment
696         LatexName       petit
697         TopSep          0.7
698         BottomSep       0.7
699         Font
700           Size          Small
701         EndFont
702 End
703
704 Style Svgraybox
705         Category        MainText
706         Margin          Static
707         LatexType       Environment
708         LatexName       svgraybox
709         RightMargin     MMM
710         TopSep          0.5
711         ParIndent       MM
712         Parsep          0
713         BottomSep       0.5
714         Align           Block
715         AlignPossible   Block, Left, Right, Center
716         LabelType       No_Label
717         Font
718           Family        Sans
719         EndFont
720 End
721
722 Style Proof
723         Category        Reasoning
724         LatexType       Environment
725         LatexName       proof
726         Margin          First_Dynamic
727         LeftMargin      xxx
728         TopSep          0.4
729         BottomSep       0.4
730         LabelType       Static
731         LabelSep        xx
732         LabelString     "Proof."
733         LabelFont
734           Shape         Italic
735         EndFont
736         LangPreamble
737           \providecommand{\proofname}{_(Proof)}
738         EndLangPreamble
739         BabelPreamble
740           \addto\captions$$lang{\renewcommand{\proofname}{_(Proof)}}
741         EndBabelPreamble
742 End
743
744 Style Proof(QED)
745         CopyStyle       Proof
746         LatexName       svmultproof
747         EndLabelType    Box
748         Preamble
749           \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
750         EndPreamble
751 End
752
753 Style Proof(smartQED)
754         CopyStyle       Proof
755         LatexName       svmultproof2
756         EndLabelType    Box
757         Preamble
758           \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
759         EndPreamble
760 End
761
762 InsetLayout Flex:Email
763         Decoration      Conglomerate
764         LyxType         custom
765         LatexType       command
766         LatexName       email
767         LabelString     "Email"
768         Font
769           Color         foreground
770           Size          Small
771           Family        Roman
772           Shape         Up
773           Series        Medium
774           Misc          No_Emph
775           Misc          No_Noun
776           Misc          No_Bar
777         EndFont
778         LabelFont
779           Color         urltext
780           Size          Small
781         EndFont
782         ResetsFont true
783 End
784