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