]> git.lyx.org Git - lyx.git/blob - lib/layouts/svcommon.inc
Disambiguate Acknowledgment[[credits]] and Acknowledgment[[theorem]]
[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 several 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 99
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         DocBookTag             para
37 End
38
39 Input stdcounters.inc
40 Input stdfloats.inc
41 Input stdlists.inc
42 Input stdinsets.inc
43 Input stdsections.inc
44 Input stdstarsections.inc
45 Input stdlayouts.inc
46 Input stdtitle.inc
47 Input numreport.inc
48
49 ProvidesModule theorems-std
50 Input theorems-without-preamble.inc
51 NoStyle Fact
52 NoStyle Prop
53
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         DocBookTag            title
66         DocBookTagType        paragraph
67         DocBookInInfo         maybe
68 End
69
70
71
72 Style Front_Matter
73         Category        Structure
74         LatexType       Command
75         LatexName       frontmatter
76         KeepEmpty       1
77         ResetArgs       1
78         Margin          First_Dynamic
79         NextNoIndent    1
80         ParSkip         0
81         TopSep          2.5
82         BottomSep       0.5
83         ParSep          0
84         Align           Center
85         LabelType       Static
86         LabelBottomSep  0
87         LeftMargin      M
88         LabelString     "--- Front Matter ---"
89
90         Font
91           Family        Sans
92           Series        Bold
93           Size          Largest
94           Color         textlabel1
95         EndFont
96 End
97
98 Style Main_Matter
99         CopyStyle       Front_Matter
100         Category        Structure
101         LatexName       mainmatter
102         LabelString     "--- Main Matter ---"
103 End
104
105 Style Back_Matter
106         CopyStyle       Front_Matter
107         Category        Structure
108         LatexName       backmatter
109         LabelString     "--- Back Matter ---"
110 End
111
112 Style Part
113         Margin          Static
114         Align           Right
115         DocBookTag            title
116         DocBookTagType        paragraph
117         DocBookSectionTag     part
118         DocBookInInfo         maybe
119         DocBookForceAbstractTag partintro
120 End
121
122 ## The following is a variant of style Part.  It allows to place some
123 ## text on the following page which would otherwise be blank.  
124
125 Style PartBacktext
126         Category        Sectioning
127         Margin          First_Dynamic
128         LabelString     "Part \thepart"
129         LabelType       Static
130         TocLevel        0
131         LabelCounter    part
132         Labelsep        xx
133         NeedProtect     1
134         ParIndent       MM
135         TopSep          4
136         BottomSep       4
137         LaTexType       Environment
138         LatexName       svmultpartbacktext
139         LabelFont
140           Series        Bold
141           Size          Huge
142         EndFont
143         TextFont
144           Series        Medium
145           Shape         Up
146           Size          normal
147         EndFont
148         Argument 1
149           Mandatory     1
150           LabelString   "Part Title"
151           Tooltip           "Title of this part"
152           IsTocCaption  1
153           DocBookTag    title
154         EndArgument
155         Preamble
156           \newenvironment{svmultpartbacktext}[1]{\begin{partbacktext}
157           \part{#1}}{\end{partbacktext}}
158         EndPreamble
159         HTMLTag         h1
160         DocBookTag            NONE
161         DocBookSection        true
162         DocBookSectionTag     part
163         # A second paragraph of PartBacktext can only wreak havok: it should start a section, and nothing else (otherwise, it's a real nightmare to implement). This ought to be enough for now, even though the document cannot be valid.
164 End
165
166 Style Chapter
167         Align           Left
168         DocBookTag            title
169         DocBookTagType        paragraph
170         DocBookInInfo         maybe
171         DocBookSectionTag     chapter
172         TocLevel 0
173 End
174
175 Style ChapSubtitle
176         LatexName       chapsubtitle
177         LatexType       Command
178         Category        Sectioning
179         TopSep          0.7
180         Font
181           Series        Bold
182           Shape         Up
183           Size          large
184         EndFont
185         DocBookTag            subtitle
186
187 End
188
189 Style ChapAuthor
190         LatexName       chapauthor
191         LatexType       Command
192         Category        Sectioning
193         TopSep          0.7
194         Font
195           Series        Bold
196           Shape         Up
197           Size          normal
198         EndFont
199         DocBookTag            personname
200         DocBookTagType        paragraph
201         DocBookWrapperTag     author
202         DocBookInInfo         always
203 End
204
205 Style ChapMotto
206         LatexName       motto
207         LatexType       Command
208         Category        Sectioning
209         TopSep          0.7
210         BottomSep       0.7
211         Align           Left
212         LeftMargin      MMMMMMMMMMMM
213         Font
214           Series        Medium
215           Shape         Italic
216           Size          normal
217         EndFont
218 End
219
220 Style Section
221         Font
222           Series        Bold
223           Shape         Up
224           Size          large
225         EndFont
226         TocLevel        1
227 End
228
229 Style Subsection
230         Font
231           Series        Bold
232           Shape         Italic
233           Size          large
234         EndFont
235         TocLevel        2
236 End
237
238 Style Subsubsection
239         Font
240           Series        Bold
241           Shape         Up
242           Size          Normal
243         EndFont
244         TocLevel        3
245 End
246
247 Style Paragraph
248         Font
249           Series        Medium
250           Shape         Up
251           Size          Normal
252         EndFont
253         TopSep          0.7
254         BottomSep       0.4
255         TocLevel        4
256 End
257
258 Style Subparagraph
259         LeftMargin      ""
260         Font
261           Series        Medium
262           Shape         Italic
263           Size          Normal
264         EndFont
265         TopSep          0.7
266         BottomSep       0.4
267         TocLevel        4
268 End
269
270 Style Part*
271       Margin            Static
272       Align             Right
273 End
274
275 Style Chapter*
276         Align           Left
277 End
278
279 Style Section*
280         Font
281           Series        Bold
282           Shape         Up
283           Size          large
284         EndFont
285 End
286
287 Style Subsection*
288         Font
289           Series        Bold
290           Shape         Italic
291           Size          large
292         EndFont
293 End
294
295 Style Subsubsection*
296         Font
297           Series        Bold
298           Shape         Up
299           Size          Normal
300         EndFont
301 End
302
303 Style Paragraph*
304         Font
305           Series        Medium
306           Shape         Up
307           Size          Normal
308         EndFont
309         TopSep          0.7
310         BottomSep       0.4
311 End
312
313 Style Run-in_headings
314         Category        Unnumbered
315         LabelType       No_Label
316         LabelSep        xx
317         TopSep          0.7
318         Font
319           Series        Bold
320           Shape         Up
321           Size          Normal
322         EndFont
323         Margin          Static
324         LatexType       Command
325         LatexName       runinhead
326 End
327
328 Style Sub-run-in_headings
329         CopyStyle       Run-in_headings
330         Font 
331           Series        Medium
332           Shape         Italic
333           Size          Normal
334         EndFont
335         LatexName       subruninhead
336 End
337
338 Style Extrachap
339         CopyStyle       Chapter*
340         LatexName       Extrachap
341 End
342
343 Style extrachap
344         CopyStyle       Chapter*
345         LatexName       extrachap
346 End
347
348 Style Title
349         Align           Left
350         AlignPossible   Block, Center, Left, Right, Center
351         Font
352           Family        Sans
353           Series        Bold
354         EndFont
355 End
356
357 Style Subtitle
358         CopyStyle       Title
359         LatexName       subtitle
360         NextNoIndent    1
361         BottomSep       0
362         ParSep          0
363         Font
364           Size          Large
365         EndFont
366         DocBookTag            subtitle
367         DocBookTagType        paragraph
368         DocBookInInfo         maybe
369 End
370
371 Style Author
372         NextNoIndent    1
373         Align           Left
374         Font
375           Series        Bold
376           Shape         Italic
377         EndFont
378         DocBookTag            personname
379         DocBookTagType        paragraph
380         DocBookWrapperTag     author
381         DocBookWrapperTagType inline
382         DocBookInInfo         always
383 End
384
385 Style Institute
386         Category        FrontMatter
387         LatexType       Command
388         InTitle         1
389         LatexName       institute
390         Margin          First_Dynamic
391         LabelSep        x
392         LabelType       Static
393         LabelString     "Author data:"
394         LabelFont
395           Family        Typewriter
396           Color         textlabel1
397         EndFont
398         Requires        url
399         Align           Left
400         # TODO: should rather be merged with the list of authors, but this would require a lot of specific code...
401         DocBookTag            personname
402         DocBookTagType        paragraph
403         DocBookWrapperTag     author
404         DocBookInInfo         always
405 End
406
407 Style Date
408         Align           Left
409         Font
410           Size          Small
411         EndFont
412 End
413
414 Style TOC_Title
415         Category        FrontMatter
416         Margin          First_Dynamic
417         Align           Left
418         LatexType       Command
419         LatexName       toctitle
420         LeftMargin      xx
421         TopSep          0.4
422         BottomSep       0.4
423         LabelType       Static
424         LabelSep        x
425         LabelString     "TOC title:"
426         LabelFont
427           Family        Typewriter
428           Color         textlabel1
429         EndFont  
430 End
431
432 Style TOC_Author
433         CopyStyle       TOC_Title
434         LatexName       tocauthor
435         LabelString     "TOC author:"
436 End
437
438 Style Running_Title
439         CopyStyle       TOC_Title
440         LatexName       titlerunning
441         InTitle         1
442         LabelString     "Running title:"
443         DocBookTag            titleabbrev
444         DocBookTagType        paragraph
445         DocBookInInfo         maybe
446 End
447
448 Style Running_Author
449         CopyStyle       Running_Title
450         LatexName       authorrunning
451         LabelString     "Running author:"
452         DocBookTag            personname
453         DocBookTagType        paragraph
454         DocBookWrapperTag     author
455         DocBookWrapperAttr    role='abbrev'
456         DocBookWrapperTagType block
457         DocBookInInfo         always
458 End
459
460 Style Running_Chapter
461         CopyStyle       Running_Title
462         Category        Sectioning
463         InTitle         0
464         LatexName       chaptermark
465         LabelString     "Running chapter:"
466         DocBookTag            titleabbrev
467         DocBookTagType        paragraph
468         DocBookInInfo         maybe
469         DocBookSection        false
470 End
471
472 Style Running_Section
473         CopyStyle       Running_Chapter
474         LatexName       sectionmark
475         LabelString     "Running section:"
476         DocBookTag            titleabbrev
477         DocBookTagType        paragraph
478         DocBookInInfo         maybe
479 End
480
481 Style Abstract
482         Category        FrontMatter
483         Margin          First_Dynamic
484         LatexType       Environment
485         LatexName       abstract
486         LabelType       Static
487         LabelString     "Abstract"
488         LabelFont
489           Series        Bold
490         EndFont
491         NextNoIndent    0
492         ParIndent       MM
493         LabelSep        xx
494         ItemSep         0
495         TopSep          0.7
496         BottomSep       0.7
497         ParSep          0
498         Align           Block
499         AlignPossible   Block, Left
500         DocBookAbstract       true
501         DocBookInInfo         always
502         DocBookWrapperTag     abstract
503         DocBookWrapperMergeWithPrevious    true
504         DocBookTag            para
505 End
506
507 Style Abstract*
508         CopyStyle       Abstract
509         LatexType       Command
510         LatexName       abstract*
511         LabelString     "Abstract* (not printed)"
512         LabelFont
513           Color         textlabel1
514         EndFont
515         TextFont        
516           Color         textlabel1
517         EndFont
518         DocBookAbstract       true
519         DocBookInInfo         always
520         DocBookWrapperTag     abstract
521         DocBookWrapperAttr    role='not-printed'
522         DocBookWrapperMergeWithPrevious    true
523         DocBookTag            para
524 End
525
526 Style Keywords
527         Margin          First_Dynamic
528         LatexType       Command
529         LatexName       keywords
530         Category        FrontMatter
531         NextNoIndent    0
532         ParIndent       MM
533         LabelSep        xx
534         ItemSep         0
535         TopSep          0.7
536         BottomSep       0.7
537         ParSep          0
538         Align           Block
539         AlignPossible   Block, Left
540         LabelType       Static
541         LabelString     "Keywords"
542         LabelFont
543           Series        Bold
544         EndFont
545         DocBookTag          keyword
546         DocBookTagType      paragraph
547         DocBookWrapperTag   keywordset
548         DocBookInInfo       always
549 End
550
551 Style Dedication
552         Category        FrontMatter
553         Margin          Static
554         LatexType       Environment
555         LatexName       dedication
556         LeftMargin      MMMMMMMMMMMM
557         TopSep          2
558         ParIndent       MM
559         Parsep          0
560         BottomSep       2
561         Align           Left
562         LabelType       Static
563         LabelString     ""
564         LabelIndent     ""
565         Font
566           Shape         Italic
567           Size          large
568         EndFont
569         DocBookTag             para
570         DocBookTagType         paragraph
571         DocBookWrapperTag      dedication
572         DocBookWrapperTagType  block
573         DocBookWrapperMergeWithPrevious    true
574         DocBookInInfo          never
575 End
576
577 Style Foreword
578         Margin          First_Dynamic
579         Category        FrontMatter
580         LabelType       Static
581         LabelString     "Foreword"
582         KeepEmpty       1
583         LatexName       foreword
584         TocLevel        0
585         LatexType       Command
586         NeedProtect     1
587         NextNoIndent    1
588         ParSkip         0.4
589         TopSep          4
590         BottomSep       0.8
591         ParSep          0.8
592         Align           Block
593         Argument 1
594           LabelString   "Alternative Name"
595           Tooltip       "Alternative name"
596         EndArgument
597         Font
598           Series        Bold
599           Size          Huge
600         EndFont
601         DocBookTag             title
602         DocBookTagType         paragraph
603         DocBookSection         true
604         DocBookSectionTag      preface
605 End
606
607 Style Preface
608         CopyStyle       Foreword
609         Category        FrontMatter
610         LatexName       preface
611         InTitle         0
612         Margin          First_Dynamic
613         TopSep          4
614         BottomSep       0.8
615         LabelType       Static
616         LabelString     "Preface"
617         LabelSep        xx
618         Align           Left
619         DocBookTag             title
620         DocBookTagType         paragraph
621         DocBookSection         true
622         DocBookSectionTag      preface
623 End
624
625 Style Acknowledgment[[credits]]
626         Category        BackMatter
627         Margin          First_Dynamic
628         LatexType       Environment
629         LatexName       acknowledgement
630         NextNoIndent    0
631         ParIndent       MM
632         LabelSep        xx
633         ItemSep         0
634         TopSep          0.7
635         BottomSep       0.7
636         ParSep          0
637         Align           Block
638         AlignPossible   Block, Left
639         LabelType       Static
640         LabelString     "Acknowledgments[[credits]]"
641         Font
642           Size          Small
643         EndFont
644         LabelFont
645           Series        Bold
646           Shape         Up
647           Size          Small
648         EndFont
649         DocBookTag  para
650         DocBookWrapperTag  acknowledgements
651 End
652
653 Style Acknowledgments[[credits]]
654         CopyStyle       Acknowledgment[[credits]]
655         LatexName       acknowledgements
656 End
657
658 Style Acknowledgement
659         ObsoletedBy    Acknowledgment[[credits]]
660 End
661
662 Style Acknowledgements
663         ObsoletedBy    Acknowledgments[[credits]]
664 End
665
666 Style Bibliography
667         Margin          First_Dynamic
668         LatexType       Bib_Environment
669         LatexName       thebibliography
670         Category        BackMatter
671         NextNoIndent    1
672         ToggleIndent    Never
673         LeftMargin      MM
674         ParSkip         0.4
675         ItemSep         0
676         TopSep          0.7
677         BottomSep       0.7
678         ParSep          0.5
679         Align           Block
680         AlignPossible   Block, Left
681         LabelType       Bibliography
682         LabelString     "References"
683         LabelBottomSep  0.7
684         LabelFont
685           Series        Bold
686         EndFont
687         TocLevel        0
688         IsTocCaption    0
689         Argument listpreamble:1
690           LabelString    "Bib preamble"
691           MenuString     "Bibliography Preamble"
692           Tooltip        "LaTeX code to be inserted before the first bibliography item"
693           PassThru       1
694           Font
695             Family typewriter
696             Color latex
697           EndFont
698         EndArgument
699 End
700
701 Style Description
702         Argument 1
703           LabelString   "Longest Description Label"
704           Tooltip       "Longest description label"
705         EndArgument
706         LabelFont
707           Series        Medium
708         EndFont
709         DocBookTag            variablelist
710         DocBookItemWrapperTag varlistentry
711         DocBookItemTag        listitem
712         DocBookItemInnerTag   para
713         DocBookItemLabelTag   term
714         DocBookItemLabelTagType   paragraph
715 End
716
717 Style Petit
718         CopyStyle       Standard
719         Category        MainText
720         LatexType       Environment
721         LatexName       petit
722         TopSep          0.7
723         BottomSep       0.7
724         Font
725           Size          Small
726         EndFont
727 End
728
729 Style Svgraybox
730         Category        MainText
731         Margin          Static
732         LatexType       Environment
733         LatexName       svgraybox
734         RightMargin     MMM
735         TopSep          0.5
736         ParIndent       MM
737         Parsep          0
738         BottomSep       0.5
739         Align           Block
740         AlignPossible   Block, Left, Right, Center
741         LabelType       No_Label
742         Font
743           Family        Sans
744         EndFont
745 End
746
747 Style Proof
748         Category        Reasoning
749         LatexType       Environment
750         LatexName       proof
751         Margin          First_Dynamic
752         LeftMargin      xxx
753         TopSep          0.4
754         BottomSep       0.4
755         LabelType       Static
756         LabelSep        xx
757         LabelString     "Proof."
758         LabelFont
759           Shape         Italic
760         EndFont
761         LangPreamble
762           \providecommand{\proofname}{_(Proof)}
763         EndLangPreamble
764         BabelPreamble
765           \addto\captions$$lang{\renewcommand{\proofname}{_(Proof)}}
766         EndBabelPreamble
767 End
768
769 Style Proof(QED)
770         CopyStyle       Proof
771         LatexName       svmultproof
772         EndLabelType    Box
773         Preamble
774           \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
775         EndPreamble
776 End
777
778 Style Proof(smartQED)
779         CopyStyle       Proof
780         LatexName       svmultproof2
781         EndLabelType    Box
782         Preamble
783           \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
784         EndPreamble
785 End
786
787 InsetLayout Flex:Email
788         Decoration      Conglomerate
789         LyxType         custom
790         LatexType       command
791         LatexName       email
792         LabelString     "Email"
793         Font
794           Color         foreground
795           Size          Small
796           Family        Roman
797           Shape         Up
798           Series        Medium
799           Misc          No_Emph
800           Misc          No_Noun
801           Misc          No_Bar
802         EndFont
803         LabelFont
804           Color         urltext
805           Size          Small
806         EndFont
807         ResetsFont true
808 End
809