]> git.lyx.org Git - features.git/blob - lib/layouts/svmono.layout
Fix bug #7289. Confusingly, svjour.inc declares "NoStyle Chapter", and then
[features.git] / lib / layouts / svmono.layout
1 #% Do not delete the line below; configure depends on this
2 #       \DeclareLaTeXClass[svmono,natbib.sty]{book (Springer svmono)}
3 #  Author: Koji Yokota <yokota@res.otaru-uc.ac.jp>
4 #
5 #  Class and style files and templates are found at:
6 #       ftp://ftp.springer.de/pub/tex/latex/svmonogl/
7 #
8 Format 33
9 Input svjour.inc
10
11 ClassOptions
12         FontSize         10
13 End
14
15 # Additional paragraphs
16 Style Petit
17         CopyStyle       Standard
18         Category        MainText
19         LatexType       Environment
20         LatexName       petit
21         LeftMargin      MMM
22         RightMargin     MMM
23         Font
24           Size          Small
25         EndFont
26 End
27
28 Style Front_Matter
29         Category        Structure
30         LatexType       Environment
31         LatexName       frontmatter
32         KeepEmpty       1
33         OptionalArgs    0
34         Margin          First_Dynamic
35         NextNoIndent    1
36         ParSkip         0
37         TopSep          2.5
38         BottomSep       0.5
39         ParSep          0
40         Align           Center
41         LabelType       Static
42         LabelBottomSep  0
43         LeftMargin      M
44         LabelString     "--- Front Matter ---"
45
46         Font
47           Family        Sans
48           Series        Bold
49           Size          Largest
50           Color         Blue
51         EndFont
52 End
53
54 Style Main_Matter
55         CopyStyle       Front_Matter
56         Category        Structure
57         LatexName       mainmatter
58         LabelString     "--- Main Matter ---"
59 End
60
61 Style Back_Matter
62         CopyStyle       Front_Matter
63         Category        Structure
64         LatexName       backmatter
65         LabelString     "--- Back Matter ---"
66 End
67
68 Style Part
69         Category        Section
70         Margin          Dynamic
71         LabelString     "Part \thepart"
72         LabelType       Counter
73         TocLevel        0
74         LabelCounter    part
75         LatexType       Command
76         LatexName       part
77         NeedProtect     1
78         NextNoIndent    1
79         Labelsep        xxx
80         ParSkip         0.4
81         TopSep          4
82         BottomSep       4
83         ParSep          0.8
84         Align           Center
85         Alignpossible   Center
86         Font
87           Series        Bold
88           Size          Huge
89         EndFont
90 End
91
92 Style Part*
93         CopyStyle       Part
94         Category        Unnumbered
95         Margin          Static
96         LatexName       part*
97         LabelType       No_Label
98         LabelCounter    ""
99 End
100
101 Style Chapter
102         Align           Left
103 End
104
105 Style Chapter*
106   Align   Left
107 End
108
109 Style Preface
110         CopyStyle       Title
111         Category        Unnumbered
112         LatexName       svmultpreface
113         KeepEmpty       1
114         OptionalArgs    1
115         InTitle         0
116         Margin          Static
117         LeftMargin      "PPrreeffaaccee:xxx"
118         LabelType       Static
119         LabelString     "Preface:"
120         LabelSep        xxx
121         Align           Left
122         Preamble
123           \newcommand{\svmultpreface}[1]{\ifthenelse{\equal{#1}{}}{\preface}{\preface[#1]}}
124         EndPreamble
125         Requires        ifthen
126 End
127
128 # Additional math environments
129 Style Case
130         CopyStyle       Claim
131         LatexName       case
132         LabelString     "Case #."
133 End
134
135 Style Problem
136         CopyStyle       Claim
137         LatexName       prob
138         LabelString     "Problem #."
139 End
140
141 Style Solution
142         CopyStyle       Claim
143         LatexName       sol
144         LabelString     "Solution #."
145         OptionalArgs    1
146 End
147
148 Style Proof(QED)
149         CopyStyle       Proof
150         LatexName       svmultproof
151         EndLabelType    Box
152         Preamble
153                 \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
154         EndPreamble
155 End
156
157 Style Proof(smartQED)
158         CopyStyle       Proof
159         LatexName       svmultproof2
160         EndLabelType    Filled_Box
161         Preamble
162           \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
163         EndPreamble
164 End
165