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