]> git.lyx.org Git - lyx.git/blob - lib/layouts/svcommon.inc
fix SCons after r39163
[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 serveral 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,     2009/2007
18 # by Marcus Kriele (mkriele@mac.com)
19 # see http://www.springer.com/authors for class files and further instructions
20
21
22 Format 35
23 PageStyle               Plain
24
25
26 Style Standard
27         Margin          Static
28         LatexType       Paragraph
29         LatexName       dummy
30         ParIndent       MM
31         ParSkip         0.4
32         Align           Block
33         AlignPossible   Block, Left, Right, Center
34         LabelType       No_Label
35 End
36
37 Input stdcounters.inc
38 Input stdfloats.inc
39 Input stdlists.inc
40 Input stdinsets.inc
41 Input stdsections.inc
42 Input stdstarsections.inc
43 Input stdlayouts.inc
44 Input stdtitle.inc
45 Input numreport.inc
46
47 ProvidesModule theorems-std
48 Input theorems-without-preamble.inc
49 NoStyle Fact
50 NoStyle Prop
51
52
53 NoStyle Subparagraph
54 NoCounter subparagraph
55 NoStyle Subparagraph*
56
57
58 Style Title
59         Align                   Left
60         AlignPossible           Block, Center, Left, Right, Center
61         Font
62           Family                Sans
63           Series                Bold
64         EndFont
65 End
66
67
68
69 Style Front_Matter
70         Category        Structure
71         LatexType       Command
72         LatexName       frontmatter
73         KeepEmpty       1
74         OptionalArgs    0
75         Margin          First_Dynamic
76         NextNoIndent    1
77         ParSkip         0
78         TopSep          2.5
79         BottomSep       0.5
80         ParSep          0
81         Align           Center
82         LabelType       Static
83         LabelBottomSep  0
84         LeftMargin      M
85         LabelString     "--- Front Matter ---"
86
87         Font
88           Family        Sans
89           Series        Bold
90           Size          Largest
91           Color         Blue
92         EndFont
93 End
94
95 Style Main_Matter
96         CopyStyle       Front_Matter
97         Category        Structure
98         LatexName       mainmatter
99         LabelString     "--- Main Matter ---"
100 End
101
102 Style Back_Matter
103         CopyStyle       Front_Matter
104         Category        Structure
105         LatexName       backmatter
106         LabelString     "--- Back Matter ---"
107 End
108
109 Style Part
110       Margin                    Static
111       Align                     Right
112 End
113
114 ## The following is a variant of style Part.  It allows to place some
115 ## text on the following page which would otherwise be blank.  
116
117 Style PartBacktext
118         Category              Section
119         Margin                First_Dynamic
120         LabelString           "Part \thepart"
121         LabelType             Counter
122         TocLevel              0
123         LabelCounter          part
124         Labelsep              xx
125         NeedProtect           1
126         ParIndent             MM
127         TopSep                4
128         BottomSep             4
129         LaTexType       Environment
130         LatexName       svmultpartbacktext
131         LabelFont
132           Series              Bold
133           Size                Huge
134         EndLabelFont
135         TextFont
136           Series        Medium
137           Shape         Up
138           Size          normal
139         EndTextFont
140         RequiredArgs    1
141         Preamble
142           \newenvironment{svmultpartbacktext}[1]{\begin{partbacktext}
143           \part{#1}}{\end{partbacktext}}
144         EndPreamble
145         HTMLTag               h1
146 End
147
148 Style Chapter
149         Align                   Left
150 End
151
152 Style ChapSubtitle
153       LatexName                 chapsubtitle
154       LatexType                 Command
155       Category                  Section
156         TopSep                  0.7
157         Font
158           Series                Bold
159           Shape                 Up
160           Size                  large
161         EndFont
162
163 End
164
165 Style ChapAuthor
166       LatexName                 chapauthor
167       LatexType                 Command
168       Category                  Section
169       TopSep                    0.7
170       Font
171           Series                Bold
172           Shape                 Up
173           Size                  normal
174       EndFont
175 End
176
177 Style ChapMotto
178       LatexName                 motto
179       LatexType                 Command
180       Category                  Section
181       TopSep                    0.7
182       BottomSep                 0.7
183       Align                     Left
184       LeftMargin                MMMMMMMMMMMM
185       Font
186           Series                Medium
187           Shape                 Italic
188           Size                  normal
189       EndFont
190 End
191
192 Style Section
193         Font
194           Series                Bold
195           Shape                 Up
196           Size                  large
197         EndFont
198         TocLevel 1
199 End
200
201 Style Subsection
202         Font
203           Series                Bold
204           Shape                 Italic
205           Size                  large
206         EndFont
207         TocLevel 2
208 End
209
210 Style Subsubsection
211         Font
212           Series                Bold
213           Shape                 Up
214           Size                  Normal
215         EndFont
216         TocLevel 3
217 End
218
219 Style Paragraph
220         Font
221           Series                Medium
222           Shape                 Up
223           Size                  Normal
224         EndFont
225         TopSep                  0.7
226         BottomSep               0.4
227         TocLevel 4
228 End
229
230 Style Part*
231       Margin                    Static
232       Align                     Right
233 End
234
235 Style Chapter*
236         Align                   Left
237 End
238
239 Style Section*
240         Font
241           Series                Bold
242           Shape                 Up
243           Size                  large
244         EndFont
245 End
246
247 Style Subsection*
248         Font
249           Series                Bold
250           Shape                 Italic
251           Size                  large
252         EndFont
253 End
254
255 Style Subsubsection*
256         Font
257           Series                Bold
258           Shape                 Up
259           Size                  Normal
260         EndFont
261 End
262
263 Style Paragraph*
264         Font
265           Series              Medium
266           Shape               Up
267           Size                Normal
268         EndFont
269         TopSep                0.7
270         BottomSep             0.4
271 End
272
273 Style Run-in_headings
274         Category                Unnumbered
275         LabelType               No_Label
276         LabelSep                xx
277         TopSep                0.7
278         Font
279           Series                Bold
280           Shape                 Up
281           Size                  Normal
282         EndFont
283         Margin                Static
284         LatexType               Command
285         LatexName               runinhead
286 End
287
288 Style Sub-run-in_headings
289         CopyStyle               Run-in_headings
290         Font 
291           Series                Medium
292           Shape                 Italic
293           Size                  Normal
294         EndFont
295         LatexName               subruninhead
296 End
297
298 Style Extrachap
299         CopyStyle             Chapter*
300         LatexName             Extrachap
301 End
302
303 Style extrachap
304         CopyStyle             Chapter*
305         LatexName             extrachap
306 End
307
308 Style Title
309         Align                   Left
310         AlignPossible           Block, Center, Left, Right, Center
311         Font
312           Family                Sans
313           Series                Bold
314         EndFont
315 End
316
317 Style Subtitle
318         CopyStyle               Title
319         LatexName               subtitle
320         NextNoIndent            1
321         BottomSep               0
322         ParSep                  0
323         Font
324           Size                  Large
325         EndFont
326 End
327
328 Style Author
329         NextNoIndent            1
330         Align                   Left
331         Font
332           Series                Bold
333           Shape                 Italic
334         EndFont
335 End
336
337 Style Institute
338         Category        FrontMatter
339         LatexType       Command
340         InTitle         1
341         LatexName       institute
342         Margin          Static
343         LeftMargin      "Author data:xxx"
344         LabelSep        xxx
345         LabelType       Static
346         LabelString     "Author data: "
347         LabelFont
348           Shape         Italic
349         EndFont
350         Requires        url
351         Align           Left
352 End
353
354 Style Date
355         Align                   Left
356         Font
357           Size                  Small
358         EndFont
359 End
360
361 Style TOC_Title
362         Category        FrontMatter
363         Margin          First_Dynamic
364         Align           Left
365         LatexType       Command
366         LatexName       toctitle
367         LeftMargin      xxx
368         TopSep          0.4
369         BottomSep       0.4
370         LabelType       Static
371         LabelSep        x
372         LabelString     "TOC Title:"
373         LabelFont
374           Family        Typewriter
375           Color         Blue
376         EndFont  
377 End
378
379 Style TOC_Author
380         CopyStyle       TOC_Title
381         LatexName       tocauthor
382         LabelString     "TOC Author:"
383 End
384
385 Style Running_Title
386         CopyStyle       TOC_Title
387         LatexName       titlerunning
388         InTitle         1
389         LabelString     "Running Title:"
390 End
391
392 Style Running_LaTeX_Title
393       ObsoletedBy       Running_Title
394 End
395
396 Style Running_Author
397         CopyStyle       Running_Title
398         LatexName       authorrunning
399         LabelString     "Running Author:"
400 End
401 Style Author_Running
402       ObsoletedBy       Running_Author
403 End
404
405 Style Abstract
406         Category        FrontMatter
407         Margin          First_Dynamic
408         LatexType       Environment
409         LatexName       abstract
410         LabelType       Static
411         LabelString     "Abstract."
412         LabelFont
413           Series        Bold
414         EndFont
415         NextNoIndent    0
416         ParIndent       MM
417         LabelSep        xx
418         ItemSep         0
419         TopSep          0.7
420         BottomSep       0.7
421         ParSep          0
422         Align           Block
423         AlignPossible   Block, Left
424 End
425
426 Style Abstract*
427       CopyStyle         Abstract
428         LatexName       abstract*
429         LabelString     "Abstract* (not printed)."
430         LabelFont
431           Color         Blue
432         EndFont
433         TextFont        
434           Color         Blue
435           EndFont
436 End
437
438 Style Keywords
439         Margin                First_Dynamic
440         LatexType             Command
441         LatexName             keywords
442         NextNoIndent          0
443         ParIndent             MM
444         LabelSep              xx
445         ItemSep               0
446         TopSep                0.7
447         BottomSep             0.7
448         ParSep                0
449         Align                 Block
450         AlignPossible         Block, Left
451         LabelType             Static
452         LabelString           "Keywords"
453         LabelFont
454           Series              Bold
455         EndFont
456 End
457
458 Style Dedication
459         Category                FrontMatter
460         Margin                  Static
461         LatexType               Environment
462         LatexName               dedication
463         LeftMargin              MMMMMMMMMMMM
464         TopSep                  2
465         ParIndent               MM
466         Parsep                  0
467         BottomSep               2
468         Align                   Left
469         LabelType               Static
470         LabelString             ""
471         LabelIndent             ""
472         Font
473           Shape                 Italic
474           Size                  large
475         EndFont
476 End
477
478 Style Foreword
479         Margin                First_Dynamic
480         Category              Unnumbered
481         LabelType               Static
482         LabelString             "Foreword"
483         KeepEmpty               1
484         LatexName             foreword
485         TocLevel              0
486         LatexType             Command
487         NeedProtect           1
488         NextNoIndent          1
489         ParSkip               0.4
490         TopSep                4
491         BottomSep             0.8
492         ParSep                0.8
493         Align                 Block
494         OptionalArgs          1
495         Font
496           Series              Bold
497           Size                Huge
498         EndFont
499         HTMLTag               h1
500 End
501
502 #  Future implementation of the Style "Preface" (not fully backward compatible)
503 #
504 #  Style Preface
505 #       CopyStyle               Foreword
506 #               LabelString             "Preface"
507 #               LatexName             preface
508 # End
509
510 #  Current implementation of the Style Preface for backwards compatibility
511 Style Preface
512         CopyStyle       Title
513         Category        "For editors"
514         LatexName       svmultpreface
515         KeepEmpty       1
516         OptionalArgs    0
517         InTitle         0
518         Margin          First_Dynamic
519         TopSep          4
520         BottomSep       0.8
521         LabelType       Static
522         LabelString     "Preface:"
523         LabelSep        xx
524         Align           Left
525         Preamble
526           \newcommand{\svmultpreface}[1]{\ifthenelse{\equal{#1}{}}{\preface}{\preface[#1]}}
527         EndPreamble
528         Requires        ifthen
529 End
530
531
532
533 Style Acknowledgement
534         Category              BackMatter
535         Margin                First_Dynamic
536         LatexType             Environment
537         LatexName             acknowledgement
538         NextNoIndent          0
539         ParIndent             MM
540         LabelSep              xx
541         ItemSep               0
542         TopSep                0.7
543         BottomSep             0.7
544         ParSep                0
545         Align                 Block
546         AlignPossible         Block, Left
547         LabelType             Static
548         LabelString           "Acknowledgements."
549         Font
550           Size                Small
551         EndFont
552         LabelFont
553           Series              Bold
554           Shape               Up
555           Size                Small
556         EndFont
557 End
558
559 Style Acknowledgements
560       CopyStyle                 Acknowledgement
561       LatexName                 acknowledgements
562 End
563
564 Style Bibliography
565         Margin                First_Dynamic
566         LatexType             Bib_Environment
567         LatexName             thebibliography
568         Category              BackMatter
569         NextNoIndent          1
570         LeftMargin            MM
571         ParSkip               0.4
572         ItemSep               0
573         TopSep                0.7
574         BottomSep             0.7
575         ParSep                0.5
576         Align                 Block
577         AlignPossible         Block, Left
578         LabelType             Bibliography
579         LabelString           "References"
580         LabelBottomSep        0.7
581         LabelFont
582           Series              Bold
583         EndFont
584 End
585
586 Style Description
587         LabelFont
588           Series              Medium
589         EndFont
590 End
591
592 Style Petit
593         CopyStyle       Standard
594         Category        MainText
595         LatexType       Environment
596         LatexName       petit
597         TopSep                0.7
598         BottomSep             0.7
599         Font
600           Size          Small
601         EndFont
602 End
603
604 Style Svgraybox
605         Category                MainText
606         Margin                  Static
607         LatexType               Environment
608         LatexName               svgraybox
609         RightMargin             MMM
610         TopSep                  0.5
611         ParIndent               MM
612         Parsep                  0
613         BottomSep               0.5
614         Align                   Block
615         AlignPossible           Block, Left, Right, Center
616         LabelType               No_Label
617         Font
618           Family                Sans
619         EndFont
620 End
621
622 Style Proof
623         CopyStyle             Claim
624         LatexName             proof
625         LabelString           "Proof"
626 End
627
628 Style Proof(QED)
629         CopyStyle       Proof
630         LatexName       svmultproof
631         EndLabelType    Box
632         Preamble
633                 \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
634         EndPreamble
635 End
636
637 Style Proof(smartQED)
638         CopyStyle       Proof
639         LatexName       svmultproof2
640         EndLabelType    Filled_Box
641         Preamble
642           \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
643         EndPreamble
644 End
645
646
647 Style Description
648         OptionalArgs    1
649 End
650
651
652 InsetLayout Flex:Email
653             Decoration  Conglomerate
654         LyxType                 custom
655         LatexType               command
656         LatexName               email
657         LabelString             "Email"
658         Font
659           Color                 foreground
660           Size                  Small
661           Family                Roman
662           Shape                 Up
663           Series                Medium
664           Misc                  No_Emph
665           Misc                  No_Noun
666           Misc                  No_Bar
667         EndFont
668         LabelFont
669           Color                 urltext
670           Size                  Small
671         EndFont
672 End
673
674
675 InsetLayout     Flex:and
676        ContentAsLabel   1
677        CustomPars       0
678        Decoration       Classic
679        LatexName        and
680        LatexType        Command
681        LabelString      "and"
682        LyxType          Custom
683        KeepEmpty        1
684 End
685
686 # InsetLayout   Flex:and
687 #        CopyStyle      Flex:Email
688 #        LatexName      and
689 #        LabelString    "and"
690 #        Font   
691 #        EndFont
692 #        KeepEmpty      1
693 # End