]> git.lyx.org Git - lyx.git/blob - lib/layouts/svmono.layout
Fix bug #7630.
[lyx.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 35
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       Command
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 Chapter
69         Align           Left
70 End
71
72 Style Chapter*
73   Align   Left
74 End
75
76 Style Preface
77         CopyStyle       Title
78         Category        Unnumbered
79         LatexName       svmultpreface
80         KeepEmpty       1
81         OptionalArgs    1
82         InTitle         0
83         Margin          First_Dynamic
84         LabelType       Static
85         LabelString     "Preface:"
86         LabelSep        xxx
87         Align           Left
88         Preamble
89           \newcommand{\svmultpreface}[1]{\ifthenelse{\equal{#1}{}}{\preface}{\preface[#1]}}
90         EndPreamble
91         Requires        ifthen
92 End
93
94 # Additional math environments
95 Style Case
96         CopyStyle       Claim
97         LatexName       case
98         LabelString     "Case #."
99 End
100
101 Style Problem
102         CopyStyle       Claim
103         LatexName       prob
104         LabelString     "Problem #."
105 End
106
107 Style Solution
108         CopyStyle       Claim
109         LatexName       sol
110         LabelString     "Solution #."
111         OptionalArgs    1
112 End
113
114 Style Proof(QED)
115         CopyStyle       Proof
116         LatexName       svmultproof
117         EndLabelType    Box
118         Preamble
119                 \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
120         EndPreamble
121 End
122
123 Style Proof(smartQED)
124         CopyStyle       Proof
125         LatexName       svmultproof2
126         EndLabelType    Filled_Box
127         Preamble
128           \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
129         EndPreamble
130 End
131