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