]> git.lyx.org Git - lyx.git/blob - lib/layouts/svmult.layout
- Springer layouts: add style "Sol" and fix layout of problem/solutions.lyx
[lyx.git] / lib / layouts / svmult.layout
1 #% Do not delete the line below; configure depends on this
2 #       \DeclareLaTeXClass[svmult,natbib.sty]{book (Springer svmult)}
3 #  Author: Koji Yokota <yokota@res.otaru-uc.ac.jp>
4 #          adapted: Marcus Kriele <mkriele@mac.com> and Uwe Stöhr (April 2011)
5 #
6 #  Supports: SVMULT DOCUMENT CLASS -- version 5.4 (25-Jun-07)
7 #  Class and style files and templates are found at:
8 #       http://www.springer.com/authors
9 #
10 Format 35
11
12
13 Input svcommon.inc
14
15 ClassOptions
16         FontSize         ""
17 End
18
19 NoStyle Acknowledgements
20 NoCounter chapter
21
22 #Counter svmultlsti
23 #       LabelString     "Contributor \Roman{svmultlsti}:"
24 #End
25
26 # Additional headings
27
28 #Style MiniTOC
29 #       CopyStyle       Running_Title
30 #       LatexType       Command
31 #       LatexName       svmulttoc
32 #       LeftMargin      "TOC depth (provide a number):xxx"
33 #       LabelString     "TOC depth (provide a number):"
34 #       Preamble
35 #           \newcommand{\svmulttoc}[1]{\setcounter{minitocdepth}{#1}\dominitoc}
36 #       EndPreamble
37 #End
38
39
40 Style Title*
41         CopyStyle       Title
42         LatexName       title*
43         LabelString     "Title*: "
44         LabelSep        "xxx"
45         LabelType       Static
46         Margin          First_Dynamic
47         HTMLTitle       true
48         LabelFont
49         Color   Blue
50         EndFont
51 End
52
53
54 #Style Title
55 #       TopSep          2
56 #       LabelString     "Chapter \thechapter"
57 #       LabelType       Counter
58 #       LabelCounter    chapter
59 #       TocLevel        1
60 #       InTitle         0
61 #End
62
63
64 #Style Contributors
65 #       CopyStyle       Foreword
66 #       LabelString     "List of Contributors"
67 #       LatexName       contributors
68 #End
69
70 #Style List_of_Abbreviations_&_Symbols_[Deprecated]
71 #       InTitle         1
72 #       CopyStyle       Description
73 #       LatexName       abbrsymblist
74 #End
75
76 #Style List_of_Abbreviations_&_Symbols
77 #       InTitle         1
78 #       CopyStyle       Description
79 #       LatexName       abbrsymblist
80 #       ObsoletedBy     List_of_Abbreviations_&_Symbols_[Deprecated]
81 #End
82
83 Style Author
84         Font
85           Series        Medium
86           Family        Roman
87           Size          Normal
88           Shape         Up
89         EndFont
90 End
91
92 Style Abstract
93         LatexType       Command
94         LatexName       abstract
95         Category        FrontMatter
96         LabelString     "Abstract"
97 End
98
99 #Counter  svmultlsti
100 #       LabelString     "Contributor \Roman{svmultlsti}"
101 #       Within          chapter
102 #End
103
104 Style List_of_Contributors
105         Category        "For editors"
106         Margin          First_Dynamic
107         LatexType       Item_Environment
108         LatexName       svmultlstcnt
109         NextNoIndent    1
110         InTitle         0
111         LabelType       Counter
112         LabelCounter    svmultlsti
113         LabelSep        xxx
114         LabelFont
115           Series        Bold
116           Shape         Italic
117           Color         Blue
118         EndFont
119         ParSkip         0.0
120         ItemSep         0.2
121         TopSep          0.7
122         BottomSep       0.7
123         ParSep          0.3
124         Align           Block
125         AlignPossible   Block, Left
126         Preamble
127           \newcounter{svmultlsti}%
128           \newenvironment{svmultlstcnt}{%
129             \setcounter{svmultlsti}{0}\let\svmultitem\item%
130             \renewcommand{\item}{%
131               \ifthenelse{\value{svmultlsti} = 0}{}{\and}%
132               \stepcounter{svmultlsti}}%
133             \setcounter{svmultlsti}{0}\begin{thecontriblist}}{%
134           \end{thecontriblist}\let\item\svmultitem%
135           \setcounter{svmultlsti}{0}}
136         EndPreamble
137         Requires        ifthen
138 End
139
140 #InsetLayout Flex:Inst
141 #       Decoration      Classic
142 #       LabelString     "Institute # [deprecated]"
143 #       LatexType       Command
144 #       LatexName       inst
145 #       LyxType         custom
146 #       Font
147 #         Size          Small
148 #         Color         Red
149 #       EndFont
150 #End
151
152 Style Part
153         Category        "For editors"
154 End
155
156 Style PartBacktext
157         Category        "For editors"
158 End
159
160 Style Chapter
161         Category        "For editors"
162 End
163
164 Style ChapAuthor
165         Category        "For editors"
166 End
167
168 Style ChapSubtitle
169         Category        "For editors"
170 End
171
172 Style extrachap
173         Category        "For editors"
174 End
175
176 Style Extrachap
177         Category        "For editors"
178 End
179
180 Style Dedication
181         Category        "For editors"
182 End
183
184 Style Foreword
185         Category        "For editors"
186 End
187
188 Style Preface
189         Category        "For editors"
190 End
191
192 Style Acknowledgement
193         Category        "For editors"
194 End
195
196 Style Contributors
197         Category        "For editors"
198 End
199
200 Style ChapMotto
201         Category        FrontMatter
202 End
203