]> git.lyx.org Git - lyx.git/blob - lib/layouts/svcommon.inc
Update layouts
[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 84
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         TocLevel 0
155 End
156
157 Style ChapSubtitle
158         LatexName       chapsubtitle
159         LatexType       Command
160         Category        Sectioning
161         TopSep          0.7
162         Font
163           Series        Bold
164           Shape         Up
165           Size          large
166         EndFont
167
168 End
169
170 Style ChapAuthor
171         LatexName       chapauthor
172         LatexType       Command
173         Category        Sectioning
174         TopSep          0.7
175         Font
176           Series        Bold
177           Shape         Up
178           Size          normal
179         EndFont
180 End
181
182 Style ChapMotto
183         LatexName       motto
184         LatexType       Command
185         Category        Sectioning
186         TopSep          0.7
187         BottomSep       0.7
188         Align           Left
189         LeftMargin      MMMMMMMMMMMM
190         Font
191           Series        Medium
192           Shape         Italic
193           Size          normal
194         EndFont
195 End
196
197 Style Section
198         Font
199           Series        Bold
200           Shape         Up
201           Size          large
202         EndFont
203         TocLevel        1
204 End
205
206 Style Subsection
207         Font
208           Series        Bold
209           Shape         Italic
210           Size          large
211         EndFont
212         TocLevel        2
213 End
214
215 Style Subsubsection
216         Font
217           Series        Bold
218           Shape         Up
219           Size          Normal
220         EndFont
221         TocLevel        3
222 End
223
224 Style Paragraph
225         Font
226           Series        Medium
227           Shape         Up
228           Size          Normal
229         EndFont
230         TopSep          0.7
231         BottomSep       0.4
232         TocLevel        4
233 End
234
235 Style Subparagraph
236         LeftMargin      ""
237         Font
238           Series        Medium
239           Shape         Italic
240           Size          Normal
241         EndFont
242         TopSep          0.7
243         BottomSep       0.4
244         TocLevel        4
245 End
246
247 Style Part*
248       Margin            Static
249       Align             Right
250 End
251
252 Style Chapter*
253         Align           Left
254 End
255
256 Style Section*
257         Font
258           Series        Bold
259           Shape         Up
260           Size          large
261         EndFont
262 End
263
264 Style Subsection*
265         Font
266           Series        Bold
267           Shape         Italic
268           Size          large
269         EndFont
270 End
271
272 Style Subsubsection*
273         Font
274           Series        Bold
275           Shape         Up
276           Size          Normal
277         EndFont
278 End
279
280 Style Paragraph*
281         Font
282           Series        Medium
283           Shape         Up
284           Size          Normal
285         EndFont
286         TopSep          0.7
287         BottomSep       0.4
288 End
289
290 Style Run-in_headings
291         Category        Unnumbered
292         LabelType       No_Label
293         LabelSep        xx
294         TopSep          0.7
295         Font
296           Series        Bold
297           Shape         Up
298           Size          Normal
299         EndFont
300         Margin          Static
301         LatexType       Command
302         LatexName       runinhead
303 End
304
305 Style Sub-run-in_headings
306         CopyStyle       Run-in_headings
307         Font 
308           Series        Medium
309           Shape         Italic
310           Size          Normal
311         EndFont
312         LatexName       subruninhead
313 End
314
315 Style Extrachap
316         CopyStyle       Chapter*
317         LatexName       Extrachap
318 End
319
320 Style extrachap
321         CopyStyle       Chapter*
322         LatexName       extrachap
323 End
324
325 Style Title
326         Align           Left
327         AlignPossible   Block, Center, Left, Right, Center
328         Font
329           Family        Sans
330           Series        Bold
331         EndFont
332 End
333
334 Style Subtitle
335         CopyStyle       Title
336         LatexName       subtitle
337         NextNoIndent    1
338         BottomSep       0
339         ParSep          0
340         Font
341           Size          Large
342         EndFont
343 End
344
345 Style Author
346         NextNoIndent    1
347         Align           Left
348         Font
349           Series        Bold
350           Shape         Italic
351         EndFont
352 End
353
354 Style Institute
355         Category        FrontMatter
356         LatexType       Command
357         InTitle         1
358         LatexName       institute
359         Margin          First_Dynamic
360         LabelSep        x
361         LabelType       Static
362         LabelString     "Author data:"
363         LabelFont
364           Family        Typewriter
365           Color         Blue
366         EndFont
367         Requires        url
368         Align           Left
369 End
370
371 Style Date
372         Align           Left
373         Font
374           Size          Small
375         EndFont
376 End
377
378 Style TOC_Title
379         Category        FrontMatter
380         Margin          First_Dynamic
381         Align           Left
382         LatexType       Command
383         LatexName       toctitle
384         LeftMargin      xx
385         TopSep          0.4
386         BottomSep       0.4
387         LabelType       Static
388         LabelSep        x
389         LabelString     "TOC title:"
390         LabelFont
391           Family        Typewriter
392           Color         Blue
393         EndFont  
394 End
395
396 Style TOC_Author
397         CopyStyle       TOC_Title
398         LatexName       tocauthor
399         LabelString     "TOC author:"
400 End
401
402 Style Running_Title
403         CopyStyle       TOC_Title
404         LatexName       titlerunning
405         InTitle         1
406         LabelString     "Running title:"
407 End
408
409 Style Running_Author
410         CopyStyle       Running_Title
411         LatexName       authorrunning
412         LabelString     "Running author:"
413 End
414
415 Style Running_Chapter
416         CopyStyle       Running_Title
417         Category        Sectioning
418         InTitle         0
419         LatexName       chaptermark
420         LabelString     "Running chapter:"
421 End
422
423 Style Running_Section
424         CopyStyle       Running_Chapter
425         LatexName       sectionmark
426         LabelString     "Running section:"
427 End
428
429 Style Abstract
430         Category        FrontMatter
431         Margin          First_Dynamic
432         LatexType       Environment
433         LatexName       abstract
434         LabelType       Static
435         LabelString     "Abstract"
436         LabelFont
437           Series        Bold
438         EndFont
439         NextNoIndent    0
440         ParIndent       MM
441         LabelSep        xx
442         ItemSep         0
443         TopSep          0.7
444         BottomSep       0.7
445         ParSep          0
446         Align           Block
447         AlignPossible   Block, Left
448 End
449
450 Style Abstract*
451         CopyStyle       Abstract
452         LatexType       Command
453         LatexName       abstract*
454         LabelString     "Abstract* (not printed)"
455         LabelFont
456           Color         Blue
457         EndFont
458         TextFont        
459           Color         Blue
460         EndFont
461 End
462
463 Style Keywords
464         Margin          First_Dynamic
465         LatexType       Command
466         LatexName       keywords
467         Category        FrontMatter
468         NextNoIndent    0
469         ParIndent       MM
470         LabelSep        xx
471         ItemSep         0
472         TopSep          0.7
473         BottomSep       0.7
474         ParSep          0
475         Align           Block
476         AlignPossible   Block, Left
477         LabelType       Static
478         LabelString     "Keywords"
479         LabelFont
480           Series        Bold
481         EndFont
482 End
483
484 Style Dedication
485         Category        FrontMatter
486         Margin          Static
487         LatexType       Environment
488         LatexName       dedication
489         LeftMargin      MMMMMMMMMMMM
490         TopSep          2
491         ParIndent       MM
492         Parsep          0
493         BottomSep       2
494         Align           Left
495         LabelType       Static
496         LabelString     ""
497         LabelIndent     ""
498         Font
499           Shape         Italic
500           Size          large
501         EndFont
502 End
503
504 Style Foreword
505         Margin          First_Dynamic
506         Category        FrontMatter
507         LabelType       Static
508         LabelString     "Foreword"
509         KeepEmpty       1
510         LatexName       foreword
511         TocLevel        0
512         LatexType       Command
513         NeedProtect     1
514         NextNoIndent    1
515         ParSkip         0.4
516         TopSep          4
517         BottomSep       0.8
518         ParSep          0.8
519         Align           Block
520         Argument 1
521           LabelString   "Alternative Name"
522           Tooltip       "Alternative name"
523         EndArgument
524         Font
525           Series        Bold
526           Size          Huge
527         EndFont
528         HTMLTag         h1
529 End
530
531 Style Preface
532         CopyStyle       Foreword
533         Category        FrontMatter
534         LatexName       preface
535         InTitle         0
536         Margin          First_Dynamic
537         TopSep          4
538         BottomSep       0.8
539         LabelType       Static
540         LabelString     "Preface"
541         LabelSep        xx
542         Align           Left
543 End
544
545 Style Acknowledgement
546         Category        BackMatter
547         Margin          First_Dynamic
548         LatexType       Environment
549         LatexName       acknowledgement
550         NextNoIndent    0
551         ParIndent       MM
552         LabelSep        xx
553         ItemSep         0
554         TopSep          0.7
555         BottomSep       0.7
556         ParSep          0
557         Align           Block
558         AlignPossible   Block, Left
559         LabelType       Static
560         LabelString     "Acknowledgements"
561         Font
562           Size          Small
563         EndFont
564         LabelFont
565           Series        Bold
566           Shape         Up
567           Size          Small
568         EndFont
569 End
570
571 Style Acknowledgements
572         CopyStyle       Acknowledgement
573         LatexName       acknowledgements
574 End
575
576 Style Bibliography
577         Margin          First_Dynamic
578         LatexType       Bib_Environment
579         LatexName       thebibliography
580         Category        BackMatter
581         NextNoIndent    1
582         ToggleIndent    Never
583         LeftMargin      MM
584         ParSkip         0.4
585         ItemSep         0
586         TopSep          0.7
587         BottomSep       0.7
588         ParSep          0.5
589         Align           Block
590         AlignPossible   Block, Left
591         LabelType       Bibliography
592         LabelString     "References"
593         LabelBottomSep  0.7
594         LabelFont
595           Series        Bold
596         EndFont
597         TocLevel        0
598         IsTocCaption    0
599         Argument listpreamble:1
600           LabelString    "Bib preamble"
601           MenuString     "Bibliography Preamble"
602           Tooltip        "LaTeX code to be inserted before the first bibliography item"
603           PassThru       1
604           Font
605             Family typewriter
606             Color latex
607           EndFont
608         EndArgument
609 End
610
611 Style Description
612         Argument 1
613           LabelString   "Longest Description Label"
614           Tooltip       "Longest description label"
615         EndArgument
616         LabelFont
617           Series        Medium
618         EndFont
619         DocBookTag            variablelist
620         DocBookItemWrapperTag varlistentry
621         DocBookItemTag        listitem
622         DocBookItemInnerTag   para
623         DocBookItemLabelTag   term
624         DocBookItemLabelTagType   paragraph
625 End
626
627 Style Petit
628         CopyStyle       Standard
629         Category        MainText
630         LatexType       Environment
631         LatexName       petit
632         TopSep          0.7
633         BottomSep       0.7
634         Font
635           Size          Small
636         EndFont
637 End
638
639 Style Svgraybox
640         Category        MainText
641         Margin          Static
642         LatexType       Environment
643         LatexName       svgraybox
644         RightMargin     MMM
645         TopSep          0.5
646         ParIndent       MM
647         Parsep          0
648         BottomSep       0.5
649         Align           Block
650         AlignPossible   Block, Left, Right, Center
651         LabelType       No_Label
652         Font
653           Family        Sans
654         EndFont
655 End
656
657 Style Proof
658         Category        Reasoning
659         LatexType       Environment
660         LatexName       proof
661         Margin          First_Dynamic
662         LeftMargin      xxx
663         TopSep          0.4
664         BottomSep       0.4
665         LabelType       Static
666         LabelSep        xx
667         LabelString     "Proof."
668         LabelFont
669           Shape         Italic
670         EndFont
671         LangPreamble
672           \providecommand{\proofname}{_(Proof)}
673         EndLangPreamble
674         BabelPreamble
675           \addto\captions$$lang{\renewcommand{\proofname}{_(Proof)}}
676         EndBabelPreamble
677 End
678
679 Style Proof(QED)
680         CopyStyle       Proof
681         LatexName       svmultproof
682         EndLabelType    Box
683         Preamble
684           \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
685         EndPreamble
686 End
687
688 Style Proof(smartQED)
689         CopyStyle       Proof
690         LatexName       svmultproof2
691         EndLabelType    Box
692         Preamble
693           \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
694         EndPreamble
695 End
696
697 InsetLayout Flex:Email
698         Decoration      Conglomerate
699         LyxType         custom
700         LatexType       command
701         LatexName       email
702         LabelString     "Email"
703         Font
704           Color         foreground
705           Size          Small
706           Family        Roman
707           Shape         Up
708           Series        Medium
709           Misc          No_Emph
710           Misc          No_Noun
711           Misc          No_Bar
712         EndFont
713         LabelFont
714           Color         urltext
715           Size          Small
716         EndFont
717         ResetsFont true
718 End
719