]> git.lyx.org Git - features.git/blob - lib/layouts/svcommon.inc
Update layout formats
[features.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 80
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         Argument listpreamble:1
599           LabelString    "Bib preamble"
600           MenuString     "Bibliography Preamble"
601           Tooltip        "LaTeX code to be inserted before the first bibliography item"
602           PassThru       1
603           Font
604             Family typewriter
605             Color latex
606           EndFont
607         EndArgument
608 End
609
610 Style Description
611         Argument 1
612           LabelString   "Longest Description Label"
613           Tooltip       "Longest description label"
614         EndArgument
615         LabelFont
616           Series        Medium
617         EndFont
618 End
619
620 Style Petit
621         CopyStyle       Standard
622         Category        MainText
623         LatexType       Environment
624         LatexName       petit
625         TopSep          0.7
626         BottomSep       0.7
627         Font
628           Size          Small
629         EndFont
630 End
631
632 Style Svgraybox
633         Category        MainText
634         Margin          Static
635         LatexType       Environment
636         LatexName       svgraybox
637         RightMargin     MMM
638         TopSep          0.5
639         ParIndent       MM
640         Parsep          0
641         BottomSep       0.5
642         Align           Block
643         AlignPossible   Block, Left, Right, Center
644         LabelType       No_Label
645         Font
646           Family        Sans
647         EndFont
648 End
649
650 Style Proof
651         Category        Reasoning
652         LatexType       Environment
653         LatexName       proof
654         Margin          First_Dynamic
655         LeftMargin      xxx
656         TopSep          0.4
657         BottomSep       0.4
658         LabelType       Static
659         LabelSep        xx
660         LabelString     "Proof."
661         LabelFont
662           Shape         Italic
663         EndFont
664         LangPreamble
665           \providecommand{\proofname}{_(Proof)}
666         EndLangPreamble
667         BabelPreamble
668           \addto\captions$$lang{\renewcommand{\proofname}{_(Proof)}}
669         EndBabelPreamble
670 End
671
672 Style Proof(QED)
673         CopyStyle       Proof
674         LatexName       svmultproof
675         EndLabelType    Box
676         Preamble
677           \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
678         EndPreamble
679 End
680
681 Style Proof(smartQED)
682         CopyStyle       Proof
683         LatexName       svmultproof2
684         EndLabelType    Box
685         Preamble
686           \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
687         EndPreamble
688 End
689
690 InsetLayout Flex:Email
691         Decoration      Conglomerate
692         LyxType         custom
693         LatexType       command
694         LatexName       email
695         LabelString     "Email"
696         Font
697           Color         foreground
698           Size          Small
699           Family        Roman
700           Shape         Up
701           Series        Medium
702           Misc          No_Emph
703           Misc          No_Noun
704           Misc          No_Bar
705         EndFont
706         LabelFont
707           Color         urltext
708           Size          Small
709         EndFont
710         ResetsFont true
711 End
712