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