]> git.lyx.org Git - lyx.git/blob - lib/layouts/svcommon.inc
- theorems-without-preamble.inc: new file to provide theorem environments without...
[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          Static
519         LeftMargin      "PPrreeffaaccee:xxx"
520         TopSep                4
521         BottomSep             0.8
522         LabelType       Static
523         LabelString     "Preface:"
524         LabelSep        xxx
525         Align           Left
526         Preamble
527           \newcommand{\svmultpreface}[1]{\ifthenelse{\equal{#1}{}}{\preface}{\preface[#1]}}
528         EndPreamble
529         Requires        ifthen
530 End
531
532
533
534 Style Acknowledgement
535         Category              BackMatter
536         Margin                First_Dynamic
537         LatexType             Environment
538         LatexName             acknowledgement
539         NextNoIndent          0
540         ParIndent             MM
541         LabelSep              xx
542         ItemSep               0
543         TopSep                0.7
544         BottomSep             0.7
545         ParSep                0
546         Align                 Block
547         AlignPossible         Block, Left
548         LabelType             Static
549         LabelString           "Acknowledgements."
550         Font
551           Size                Small
552         EndFont
553         LabelFont
554           Series              Bold
555           Shape               Up
556           Size                Small
557         EndFont
558 End
559
560 Style Acknowledgements
561       CopyStyle                 Acknowledgement
562       LatexName                 acknowledgements
563 End
564
565 Style Bibliography
566         Margin                First_Dynamic
567         LatexType             Bib_Environment
568         LatexName             thebibliography
569         Category              BackMatter
570         NextNoIndent          1
571         LeftMargin            MM
572         ParSkip               0.4
573         ItemSep               0
574         TopSep                0.7
575         BottomSep             0.7
576         ParSep                0.5
577         Align                 Block
578         AlignPossible         Block, Left
579         LabelType             Bibliography
580         LabelString           "References"
581         LabelBottomSep        0.7
582         LabelFont
583           Series              Bold
584         EndFont
585 End
586
587 Style Description
588         LabelFont
589           Series              Medium
590         EndFont
591 End
592
593 Style Petit
594         CopyStyle       Standard
595         Category        MainText
596         LatexType       Environment
597         LatexName       petit
598         TopSep                0.7
599         BottomSep             0.7
600         Font
601           Size          Small
602         EndFont
603 End
604
605 Style Svgraybox
606         Category                MainText
607         Margin                  Static
608         LatexType               Environment
609         LatexName               svgraybox
610         RightMargin             MMM
611         TopSep                  0.5
612         ParIndent               MM
613         Parsep                  0
614         BottomSep               0.5
615         Align                   Block
616         AlignPossible           Block, Left, Right, Center
617         LabelType               No_Label
618         Font
619           Family                Sans
620         EndFont
621 End
622
623 Style Proof
624         CopyStyle             Claim
625         LatexName             proof
626         LabelString           "Proof"
627 End
628
629 Style Proof(QED)
630         CopyStyle       Proof
631         LatexName       svmultproof
632         EndLabelType    Box
633         Preamble
634                 \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
635         EndPreamble
636 End
637
638 Style Proof(smartQED)
639         CopyStyle       Proof
640         LatexName       svmultproof2
641         EndLabelType    Filled_Box
642         Preamble
643           \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
644         EndPreamble
645 End
646
647
648 Style Description
649         OptionalArgs    1
650 End
651
652
653 InsetLayout Flex:Email
654             Decoration  Conglomerate
655         LyxType                 custom
656         LatexType               command
657         LatexName               email
658         LabelString             "Email"
659         Font
660           Color                 foreground
661           Size                  Small
662           Family                Roman
663           Shape                 Up
664           Series                Medium
665           Misc                  No_Emph
666           Misc                  No_Noun
667           Misc                  No_Bar
668         EndFont
669         LabelFont
670           Color                 urltext
671           Size                  Small
672         EndFont
673 End
674
675
676 InsetLayout     Flex:and
677        ContentAsLabel   1
678        CustomPars       0
679        Decoration       Classic
680        LatexName        and
681        LatexType        Command
682        LabelString      "and"
683        LyxType          Custom
684        KeepEmpty        1
685 End
686
687 # InsetLayout   Flex:and
688 #        CopyStyle      Flex:Email
689 #        LatexName      and
690 #        LabelString    "and"
691 #        Font   
692 #        EndFont
693 #        KeepEmpty      1
694 # End