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