]> git.lyx.org Git - lyx.git/blob - lib/layouts/svcommon.inc
e73a3c42d7117b4036f723d097af49422c95105a
[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 Columns                 2
24 Sides                   1
25 PageStyle               Plain
26
27
28 Style Standard
29         Margin                Static
30         LatexType             Paragraph
31         LatexName             dummy
32         ParIndent             MM
33         ParSkip               0.4
34         Align                 Block
35         AlignPossible         Block, Left, Right, Center
36         LabelType             No_Label
37 End
38
39
40 Input stdinsets.inc
41 Input stdsections.inc
42 Input stdstarsections.inc
43 Input stdlayouts.inc
44 Input stdlists.inc
45 Input stdfloats.inc
46 Input stdcounters.inc
47 Input stdtitle.inc
48
49
50
51 Input numreport.inc
52
53
54 NoStyle Subparagraph
55 NoCounter subparagraph
56 NoStyle Subparagraph*
57
58
59 Style Title
60         Align                   Left
61         AlignPossible           Block, Center, Left, Right, Center
62         Font
63           Family                Sans
64           Series                Bold
65         EndFont
66 End
67
68
69
70 Style Front_Matter
71         Category        Structure
72         LatexType       Command
73         LatexName       frontmatter
74         KeepEmpty       1
75         OptionalArgs    0
76         Margin          First_Dynamic
77         NextNoIndent    1
78         ParSkip         0
79         TopSep          2.5
80         BottomSep       0.5
81         ParSep          0
82         Align           Center
83         LabelType       Static
84         LabelBottomSep  0
85         LeftMargin      M
86         LabelString     "--- Front Matter ---"
87
88         Font
89           Family        Sans
90           Series        Bold
91           Size          Largest
92           Color         Blue
93         EndFont
94 End
95
96 Style Main_Matter
97         CopyStyle       Front_Matter
98         Category        Structure
99         LatexName       mainmatter
100         LabelString     "--- Main Matter ---"
101 End
102
103 Style Back_Matter
104         CopyStyle       Front_Matter
105         Category        Structure
106         LatexName       backmatter
107         LabelString     "--- Back Matter ---"
108 End
109
110
111
112 Style Part
113       Margin                    Static
114       Align                     Right
115 End
116
117 ## The following is a variant of style Part.  It allows to place some
118 ## text on the following page which would otherwise be blank.  
119
120 Style PartBacktext
121         Category              Section
122         Margin                First_Dynamic
123         LabelString           "Part \thepart"
124         LabelType             Counter
125         TocLevel              0
126         LabelCounter          part
127         Labelsep              xx
128         NeedProtect           1
129         ParIndent             MM
130         TopSep                4
131         BottomSep             4
132         LaTexType       Environment
133         LatexName       svmultpartbacktext
134         LabelFont
135           Series              Bold
136           Size                Huge
137         EndLabelFont
138         TextFont
139           Series        Medium
140           Shape         Up
141           Size          normal
142         EndTextFont
143         RequiredArgs    1
144         Preamble
145           \newenvironment{svmultpartbacktext}[1]{\begin{partbacktext}
146           \part{#1}}{\end{partbacktext}}
147         EndPreamble
148         HTMLTag               h1
149 End
150
151
152 Style Chapter
153         Align                   Left
154 End
155
156 Style ChapSubtitle
157       LatexName                 chapsubtitle
158       LatexType                 Command
159       Category                  Section
160         TopSep                  0.7
161         Font
162           Series                Bold
163           Shape                 Up
164           Size                  large
165         EndFont
166
167 End
168
169 Style ChapAuthor
170       LatexName                 chapauthor
171       LatexType                 Command
172       Category                  Section
173       TopSep                    0.7
174       Font
175           Series                Bold
176           Shape                 Up
177           Size                  normal
178       EndFont
179 End
180
181 Style ChapMotto
182       LatexName                 motto
183       LatexType                 Command
184       Category                  Section
185       TopSep                    0.7
186       BottomSep                 0.7
187       Align                     Left
188       LeftMargin                MMMMMMMMMMMM
189       Font
190           Series                Medium
191           Shape                 Italic
192           Size                  normal
193       EndFont
194 End
195
196 Style Section
197         Font
198           Series                Bold
199           Shape                 Up
200           Size                  large
201         EndFont
202         TocLevel 1
203 End
204
205 Style Subsection
206         Font
207           Series                Bold
208           Shape                 Italic
209           Size                  large
210         EndFont
211         TocLevel 2
212 End
213
214 Style Subsubsection
215         Font
216           Series                Bold
217           Shape                 Up
218           Size                  Normal
219         EndFont
220         TocLevel 3
221 End
222
223 Style Paragraph
224         Font
225           Series                Medium
226           Shape                 Up
227           Size                  Normal
228         EndFont
229         TopSep                  0.7
230         BottomSep               0.4
231         TocLevel 4
232 End
233
234
235 Style Part*
236       Margin                    Static
237       Align                     Right
238 End
239
240
241 Style Chapter*
242         Align                   Left
243 End
244
245
246 Style Section*
247         Font
248           Series                Bold
249           Shape                 Up
250           Size                  large
251         EndFont
252 End
253
254
255 Style Subsection*
256         Font
257           Series                Bold
258           Shape                 Italic
259           Size                  large
260         EndFont
261 End
262
263 Style Subsubsection*
264         Font
265           Series                Bold
266           Shape                 Up
267           Size                  Normal
268         EndFont
269 End
270
271 Style Paragraph*
272         Font
273           Series              Medium
274           Shape               Up
275           Size                Normal
276         EndFont
277         TopSep                0.7
278         BottomSep             0.4
279 End
280
281 Style Run-in_headings
282         Category                Unnumbered
283         LabelType               No_Label
284         LabelSep                xx
285         TopSep                0.7
286         Font
287           Series                Bold
288           Shape                 Up
289           Size                  Normal
290         EndFont
291         Margin                Static
292         LatexType               Command
293         LatexName               runinhead
294 End
295
296 Style Sub-run-in_headings
297         CopyStyle               Run-in_headings
298         Font 
299           Series                Medium
300           Shape                 Italic
301           Size                  Normal
302         EndFont
303         LatexName               subruninhead
304 End
305
306
307 Style Extrachap
308         CopyStyle             Chapter*
309         LatexName             Extrachap
310 End
311
312 Style extrachap
313         CopyStyle             Chapter*
314         LatexName             extrachap
315 End
316
317
318 Style Title
319         Align                   Left
320         AlignPossible           Block, Center, Left, Right, Center
321         Font
322           Family                Sans
323           Series                Bold
324         EndFont
325 End
326
327
328 Style Subtitle
329         CopyStyle               Title
330         LatexName               subtitle
331         NextNoIndent            1
332         BottomSep               0
333         ParSep                  0
334         Font
335           Size                  Large
336         EndFont
337 End
338
339
340 Style Author
341         NextNoIndent            1
342         Align                   Left
343         Font
344           Series                Bold
345           Shape                 Italic
346         EndFont
347 End
348
349
350 Style Institute
351         Category        FrontMatter
352         LatexType       Command
353         InTitle         1
354         LatexName       institute
355         Margin          Static
356         LeftMargin      "Author data:xxx"
357         LabelSep        xxx
358         LabelType       Static
359         LabelString     "Author data: "
360         LabelFont
361           Shape         Italic
362         EndFont
363         Requires        url
364         Align           Left
365 End
366
367 Style Date
368         Align                   Left
369         Font
370           Size                  Small
371         EndFont
372 End
373
374 Style TOC_Title
375         Category        FrontMatter
376         Margin          First_Dynamic
377         Align           Left
378         LatexType       Command
379         LatexName       toctitle
380         LeftMargin      "TOC title:xxx"
381         TopSep          0.4
382         BottomSep               0.4
383         LabelType       Static
384         LabelSep        xxx
385         LabelString     "TOC Title:"
386         LabelFont
387           Family        Typewriter
388           Color         Blue
389         EndFont  
390 End
391
392 Style TOC_Author
393         CopyStyle       TOC_Title
394         LatexName       tocauthor
395         LeftMargin      "TOC Author:xxx"
396         LabelString     "TOC Author:"
397 End
398
399 Style Running_Title
400         CopyStyle       TOC_Title
401         LatexName       titlerunning
402         LeftMargin      "Running Title:xxx"
403         LabelString     "Running Title:"
404 End
405
406 Style Running_LaTeX_Title
407       ObsoletedBy       Running_Title
408 End
409
410 Style Running_Author
411         CopyStyle       Running_Title
412         LatexName       authorrunning
413         LeftMargin      "Running Author:xxx"
414         LabelString     "Running Author:"
415 End
416 Style Author_Running
417       ObsoletedBy       Running_Author
418 End
419
420 Style Abstract
421         Margin                First_Dynamic
422         LatexType             Command
423         LatexName             abstract
424         LabelType             Static
425         LabelString           "Abstract."
426         LabelFont
427           Series              Bold
428         EndFont
429         NextNoIndent          0
430         ParIndent             MM
431         LabelSep              xx
432         ItemSep               0
433         TopSep                0.7
434         BottomSep             0.7
435         ParSep                0
436         Align                 Block
437         AlignPossible         Block, Left
438 End
439
440 Style Abstract*
441       CopyStyle                 Abstract
442         LatexName             abstract*
443         LabelString           "Abstract* (not printed)."
444         LabelFont
445           Color              Blue
446         EndFont
447         TextFont        
448           Color         Blue
449           EndFont
450 End
451
452
453 Style Keywords
454         Margin                First_Dynamic
455         LatexType             Command
456         LatexName             keywords
457         NextNoIndent          0
458         ParIndent             MM
459         LabelSep              xx
460         ItemSep               0
461         TopSep                0.7
462         BottomSep             0.7
463         ParSep                0
464         Align                 Block
465         AlignPossible         Block, Left
466         LabelType             Static
467         LabelString           "Keywords"
468         LabelFont
469           Series              Bold
470         EndFont
471 End
472
473
474
475 Style Dedication
476         Category                FrontMatter
477         Margin                  Static
478         LatexType               Environment
479         LatexName               dedication
480         LeftMargin              MMMMMMMMMMMM
481         TopSep                  2
482         ParIndent               MM
483         Parsep                  0
484         BottomSep               2
485         Align                   Left
486         LabelType               Static
487         LabelString             ""
488         LabelIndent             ""
489         Font
490           Shape                 Italic
491           Size                  large
492         EndFont
493 End
494
495 Style Foreword
496         Margin                First_Dynamic
497         Category              Unnumbered
498         LabelType               Static
499         LabelString             "Foreword"
500         KeepEmpty               1
501         LatexName             foreword
502         TocLevel              0
503         LatexType             Command
504         NeedProtect           1
505         NextNoIndent          1
506         ParSkip               0.4
507         TopSep                4
508         BottomSep             0.8
509         ParSep                0.8
510         Align                 Block
511         OptionalArgs          1
512         Font
513           Series              Bold
514           Size                Huge
515         EndFont
516         HTMLTag               h1
517 End
518
519 #  Future implementation of the Style "Preface" (not fully backward compatible)
520 #
521 #  Style Preface
522 #       CopyStyle               Foreword
523 #               LabelString             "Preface"
524 #               LatexName             preface
525 # End
526
527 #  Current implementation of the Style Preface for backwards compatibility
528 Style Preface
529         CopyStyle       Title
530         Category        "For editors"
531         LatexName       svmultpreface
532         KeepEmpty       1
533         OptionalArgs    0
534         InTitle         0
535         Margin          Static
536         LeftMargin      "PPrreeffaaccee:xxx"
537         TopSep                4
538         BottomSep             0.8
539         LabelType       Static
540         LabelString     "Preface:"
541         LabelSep        xxx
542         Align           Left
543         Preamble
544           \newcommand{\svmultpreface}[1]{\ifthenelse{\equal{#1}{}}{\preface}{\preface[#1]}}
545         EndPreamble
546         Requires        ifthen
547 End
548
549
550
551 Style Acknowledgement
552         Margin                First_Dynamic
553         LatexType             Environment
554         LatexName             acknowledgement
555         NextNoIndent          0
556         ParIndent             MM
557         LabelSep              xx
558         ItemSep               0
559         TopSep                0.7
560         BottomSep             0.7
561         ParSep                0
562         Align                 Block
563         AlignPossible         Block, Left
564         LabelType             Static
565         LabelString           "Acknowledgements."
566         Font
567           Size                Small
568         EndFont
569         LabelFont
570           Series              Bold
571           Shape               Up
572           Size                Small
573         EndFont
574 End
575
576 Style Acknowledgements
577       CopyStyle                 Acknowledgement
578       LatexName                 acknowledgements
579 End
580
581 Style Bibliography
582         Margin                First_Dynamic
583         LatexType             Bib_Environment
584         LatexName             thebibliography
585         Category              BackMatter
586         NextNoIndent          1
587         LeftMargin            MM
588         ParSkip               0.4
589         ItemSep               0
590         TopSep                0.7
591         BottomSep             0.7
592         ParSep                0.5
593         Align                 Block
594         AlignPossible         Block, Left
595         LabelType             Bibliography
596         LabelString           "References"
597         LabelBottomSep        0.7
598         LabelFont
599           Series              Bold
600         EndFont
601 End
602
603 Style Description
604         LabelFont
605           Series              Medium
606         EndFont
607 End
608
609 Style Petit
610         CopyStyle       Standard
611         Category        MainText
612         LatexType       Environment
613         LatexName       petit
614         TopSep                0.7
615         BottomSep             0.7
616         Font
617           Size          Small
618         EndFont
619 End
620
621 Style Svgraybox
622         Category                MainText
623         Margin                  Static
624         LatexType               Environment
625         LatexName               svgraybox
626         RightMargin             MMM
627         TopSep                  0.5
628         ParIndent               MM
629         Parsep                  0
630         BottomSep               0.5
631         Align                   Block
632         AlignPossible           Block, Left, Right, Center
633         LabelType               No_Label
634         Font
635           Family                Sans
636         EndFont
637 End
638
639 Style Case
640         LatexType               Environment
641         Margin                  First_Dynamic
642         LatexName               case
643         LabelString             "Case #."
644         Category                MainText
645         NextNoIndent            1
646         ParIndent               MM
647         LabelSep                xx
648         ItemSep                 0
649         TopSep                  0.5
650         BottomSep               0.5
651         ParSep                  0
652         Align                   Block
653         AlignPossible           Block, Left
654         LabelType               Static
655         LabelFont
656           Shape                 Italic
657         EndFont
658         RefPrefix               cas
659 End
660
661
662 Style Claim
663         CopyStyle               Case
664         LabelString             "Claim."
665         LatexName               claim
666 End
667
668
669 Style Conjecture
670         CopyStyle             Claim
671         LatexName             conjecture
672         LabelString           "Conjecture #."
673         RefPrefix             con
674 End
675
676
677 Style Corollary
678         CopyStyle             Claim
679         LatexName             corollary
680         LabelString           "Corollary #."
681         Font
682           Shape               Italic
683         EndFont
684         LabelFont
685           Shape               Up
686           Series              Bold
687         EndFont
688 End
689
690
691 Style Definition
692         CopyStyle             Claim
693         LatexName             definition
694         LabelString           "Definition #."
695         LabelFont
696           Shape               Up
697           Series              Bold
698         EndFont
699         RefPrefix             def
700 End
701
702
703 Style Example
704         CopyStyle             Claim
705         LatexName             example
706         LabelString           "Example #."
707         RefPrefix             exa
708 End
709
710 Style Lemma
711         CopyStyle             Corollary
712         LatexName             lemma
713         LabelString           "Lemma #."
714 End
715
716
717 Style Note
718         CopyStyle             Claim
719         LatexName             note
720         LabelString           "Note #."
721         RefPrefix             note
722 End
723
724
725 Style Proof
726         CopyStyle             Claim
727         LatexName             proof
728         LabelString           "Proof."
729 End
730
731 Style Proof(QED)
732         CopyStyle       Proof
733         LatexName       svmultproof
734         EndLabelType    Box
735         Preamble
736                 \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
737         EndPreamble
738 End
739
740 Style Proof(smartQED)
741         CopyStyle       Proof
742         LatexName       svmultproof2
743         EndLabelType    Filled_Box
744         Preamble
745           \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
746         EndPreamble
747 End
748
749
750 Style Property
751         CopyStyle             Claim
752         LatexName             property
753         LabelString           "Property #."
754 End
755
756
757 Style Proposition
758         CopyStyle             Corollary
759         LatexName             proposition
760         LabelString           "Proposition #."
761 End
762
763
764 Style Question
765         CopyStyle             Claim
766         LatexName             question
767         LabelString           "Question #."
768         RefPrefix             que
769 End
770
771
772 Style Remark
773         CopyStyle             Claim
774         LatexName             remark
775         LabelString           "Remark #."
776         RefPrefix             rem
777 End
778
779
780 Style Theorem
781         CopyStyle             Corollary
782         LatexName             theorem
783         LabelString           "Theorem #."
784 End
785
786
787 Style Exercise
788       CopyStyle                 Definition
789         Category                Exercise
790       LatexName                 exercise        
791         LabelString             "Exercise #."
792       RefPrefix                 exerc
793 End
794
795 Style Prob
796         CopyStyle               Claim
797         Category                Exercise
798         LatexName               prob
799         LabelString             "#"
800         LabelFont
801           Series                Bold
802           Shape                 Up
803         EndFont
804         RefPrefix               prob
805 End
806
807
808 #  Current implementation of the Style Preface for backwards compatibility
809 #  In future versions the directive "Reqyired Args 1" should be uncommented 
810 #  so that a required argument is used rather than ERT.
811 Style Sol
812         CopyStyle               Prob
813         LatexName               sol
814         LabelString             "#={label}"
815 #       RequiredArgs    1
816         NextNoIndent 0
817         RefPrefix               sol
818 End
819
820 Style Problem_(theorem-like)
821         CopyStyle       Claim
822         LabelFont
823           Series                Bold
824           Shape                 Up
825         EndFont
826         Category                Exercise
827         LatexName       problem
828         LabelString     "Problem #."
829         RefPrefix       prob
830 End
831
832 Style Solution_(theorem-like)
833         CopyStyle       Problem_(theorem-like)
834         LatexName       solution
835         LabelString     "Solution #."
836         RefPrefix       sol
837         OptionalArgs    1
838 End
839
840
841 Style Description
842         OptionalArgs    1
843 End
844
845
846
847
848
849 InsetLayout Flex:Email
850             Decoration  Conglomerate
851         LyxType                 custom
852         LatexType               command
853         LatexName               email
854         LabelString             "Email"
855         Font
856           Color                 foreground
857           Size                  Small
858           Family                Roman
859           Shape                 Up
860           Series                Medium
861           Misc                  No_Emph
862           Misc                  No_Noun
863           Misc                  No_Bar
864         EndFont
865         LabelFont
866           Color                 urltext
867           Size                  Small
868         EndFont
869 End
870
871
872 InsetLayout             Flex:and
873        ContentAsLabel   1
874        CustomPars       0
875        Decoration       Classic
876        LatexName        and
877        LatexType        Command
878        LabelString      "and"
879        LyxType          Custom
880        KeepEmpty        1
881 End
882
883 # InsetLayout           Flex:and
884 #        CopyStyle      Flex:Email
885 #        LatexName      and
886 #        LabelString    "and"
887 #        Font   
888 #        EndFont
889 #        KeepEmpty      1
890 # End
891
892
893
894
895 Input theorems-refprefix.inc
896