]> git.lyx.org Git - features.git/blob - lib/layouts/svcommon.inc
- svcommon.inc: fix definition of proof and abstract*; whitespace
[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,     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
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         LatexType       Command
429         LatexName       abstract*
430         LabelString     "Abstract* (not printed)"
431         LabelFont
432           Color         Blue
433         EndFont
434         TextFont        
435           Color         Blue
436         EndFont
437 End
438
439 Style Keywords
440         Margin          First_Dynamic
441         LatexType       Command
442         LatexName       keywords
443         NextNoIndent    0
444         ParIndent       MM
445         LabelSep        xx
446         ItemSep         0
447         TopSep          0.7
448         BottomSep       0.7
449         ParSep          0
450         Align           Block
451         AlignPossible   Block, Left
452         LabelType       Static
453         LabelString     "Keywords"
454         LabelFont
455           Series        Bold
456         EndFont
457 End
458
459 Style Dedication
460         Category        FrontMatter
461         Margin          Static
462         LatexType       Environment
463         LatexName       dedication
464         LeftMargin      MMMMMMMMMMMM
465         TopSep          2
466         ParIndent       MM
467         Parsep          0
468         BottomSep       2
469         Align           Left
470         LabelType       Static
471         LabelString     ""
472         LabelIndent     ""
473         Font
474           Shape         Italic
475           Size          large
476         EndFont
477 End
478
479 Style Foreword
480         Margin          First_Dynamic
481         Category        FrontMatter
482         LabelType       Static
483         LabelString     "Foreword"
484         KeepEmpty       1
485         LatexName       foreword
486         TocLevel        0
487         LatexType       Command
488         NeedProtect     1
489         NextNoIndent    1
490         ParSkip         0.4
491         TopSep          4
492         BottomSep       0.8
493         ParSep          0.8
494         Align           Block
495         OptionalArgs    1
496         Font
497           Series        Bold
498           Size          Huge
499         EndFont
500         HTMLTag         h1
501 End
502
503 Style Preface
504         CopyStyle       Foreword
505         Category        "For Authors"
506         LatexName       preface
507         KeepEmpty       1
508         OptionalArgs    0
509         InTitle         0
510         Margin          First_Dynamic
511         TopSep          4
512         BottomSep       0.8
513         LabelType       Static
514         LabelString     "Preface"
515         LabelSep        xx
516         Align           Left
517 End
518
519 Style Acknowledgement
520         Category        BackMatter
521         Margin          First_Dynamic
522         LatexType       Environment
523         LatexName       acknowledgement
524         NextNoIndent    0
525         ParIndent       MM
526         LabelSep        xx
527         ItemSep         0
528         TopSep          0.7
529         BottomSep       0.7
530         ParSep          0
531         Align           Block
532         AlignPossible   Block, Left
533         LabelType       Static
534         LabelString     "Acknowledgements"
535         Font
536           Size          Small
537         EndFont
538         LabelFont
539           Series        Bold
540           Shape         Up
541           Size          Small
542         EndFont
543 End
544
545 Style Acknowledgements
546         CopyStyle       Acknowledgement
547         LatexName       acknowledgements
548 End
549
550 Style Bibliography
551         Margin          First_Dynamic
552         LatexType       Bib_Environment
553         LatexName       thebibliography
554         Category        BackMatter
555         NextNoIndent    1
556         LeftMargin      MM
557         ParSkip         0.4
558         ItemSep         0
559         TopSep          0.7
560         BottomSep       0.7
561         ParSep          0.5
562         Align           Block
563         AlignPossible   Block, Left
564         LabelType       Bibliography
565         LabelString     "References"
566         LabelBottomSep  0.7
567         LabelFont
568           Series        Bold
569         EndFont
570 End
571
572 Style Description
573         OptionalArgs    1
574         LabelFont
575           Series        Medium
576         EndFont
577 End
578
579 Style Petit
580         CopyStyle       Standard
581         Category        MainText
582         LatexType       Environment
583         LatexName       petit
584         TopSep          0.7
585         BottomSep       0.7
586         Font
587           Size          Small
588         EndFont
589 End
590
591 Style Svgraybox
592         Category        MainText
593         Margin          Static
594         LatexType       Environment
595         LatexName       svgraybox
596         RightMargin     MMM
597         TopSep          0.5
598         ParIndent       MM
599         Parsep          0
600         BottomSep       0.5
601         Align           Block
602         AlignPossible   Block, Left, Right, Center
603         LabelType       No_Label
604         Font
605           Family        Sans
606         EndFont
607 End
608
609 Style Proof
610         LatexName       proof
611         LabelString     "Proof"
612         LangPreamble
613                 \providecommand{\proofname}{_(Proof)}
614         EndLangPreamble
615         BabelPreamble
616                 \addto\captions$$lang{\renewcommand{\proofname}{_(Proof)}}
617         EndBabelPreamble
618 End
619
620 Style Proof(QED)
621         CopyStyle       Proof
622         LatexName       svmultproof
623         EndLabelType    Box
624         Preamble
625                 \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
626         EndPreamble
627 End
628
629 Style Proof(smartQED)
630         CopyStyle       Proof
631         LatexName       svmultproof2
632         EndLabelType    Filled_Box
633         Preamble
634           \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
635         EndPreamble
636 End
637
638 InsetLayout Flex:Email
639             Decoration  Conglomerate
640         LyxType         custom
641         LatexType       command
642         LatexName       email
643         LabelString     "Email"
644         Font
645           Color         foreground
646           Size          Small
647           Family        Roman
648           Shape         Up
649           Series        Medium
650           Misc          No_Emph
651           Misc          No_Noun
652           Misc          No_Bar
653         EndFont
654         LabelFont
655           Color         urltext
656           Size          Small
657         EndFont
658 End
659
660 InsetLayout     Flex:and
661        ContentAsLabel   1
662        CustomPars       0
663        Decoration       Classic
664        LatexName        and
665        LatexType        Command
666        LabelString      "and"
667        LyxType          Custom
668        KeepEmpty        1
669 End
670
671 # InsetLayout   Flex:and
672 #        CopyStyle      Flex:Email
673 #        LatexName      and
674 #        LabelString    "and"
675 #        Font   
676 #        EndFont
677 #        KeepEmpty      1
678 # End