]> git.lyx.org Git - lyx.git/blob - lib/layouts/tufte-book.layout
Move the CSS for the TOC to its own InsetLayout.
[lyx.git] / lib / layouts / tufte-book.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[tufte-book,bibentry.sty,changepage.sty,fancyhdr.sty,ifmtarg.sty,letterspace.sty,multicol.sty,natbib.sty,optparams.sty,paralist.sty,placeins.sty,ragged2e.sty,setspace.sty,textcase.sty,titlesec.sty,titletoc.sty,xcolor.sty,xifthen.sty,xkeyval.sty]{Tufte Book}
3 #  \DeclareCategory{Books}
4 # tufte-book textclass definition file.
5 # Jason Waskiewicz <jason.waskiewicz@sendit.nodak.edu>, 2009/10/18
6 # Modified by Uwe Stöhr <uwestoehr@web.de>, 2009/11/15
7
8 Format 45
9
10 Provides geometry 1
11 Provides natbib-internal 1
12
13 Sides           2
14 PageStyle       Headings
15
16 ClassOptions
17         Other           nohyper
18 end
19
20 Style Standard
21         Margin          Static
22         LatexType       Paragraph
23         LatexName       dummy
24         ParIndent       MM
25         ParSkip         0.4
26         Align           Block
27         AlignPossible   Block, Left, Right, Center
28         LabelType       No_Label
29 End
30
31 # import other layouts
32 Input stdlayouts.inc
33 Input stdclass.inc
34
35 Style Title
36         InPreamble      1
37 End
38
39 Style Author
40         InPreamble      1
41 End
42
43 Style Date
44         InPreamble      1
45 End
46
47 NoStyle Abstract
48 NoStyle Chapter
49 NoCounter chapter
50 NoStyle Section
51 NoStyle Subsection
52 NoCounter subsection
53 NoStyle Subsubsection
54 NoCounter subsubsection
55 NoStyle Subsubsection*
56 NoStyle Paragraph
57 NoCounter paragraph
58 NoStyle Paragraph*
59 NoStyle Subparagraph
60 NoCounter subparagraph
61 NoStyle Subparagraph*
62
63 Style Chapter
64         Margin          Static
65         Category        Sectioning
66         LabelType       No_Label
67         LabelCounter    chapter
68         TocLevel        0
69         LatexType       Command
70         LatexName       chapter
71         NeedProtect     1
72         NextNoIndent    1
73         ParSkip         0.4
74         TopSep          4
75         BottomSep       0.8
76         ParSep          0.8
77         Align           Block
78         RefPrefix chap
79         Argument 1
80           LabelString   "Short Title|S"
81           Tooltip       "The chapter as it appears in the table of contents/running headers"
82         EndArgument
83         Font
84           Series        Bold
85           Size          Huge
86         EndFont
87 End
88
89 Style Section
90         Category        Sectioning
91         Margin          Dynamic
92         LabelType       No_Label
93         LabelCounter    section
94         TocLevel        1
95         LatexType       Command
96         LatexName       section
97         NeedProtect     1
98         NextNoIndent    1
99         LabelSep        xxx
100         ParSkip         0.4
101         TopSep          1.3
102         BottomSep       0.7
103         ParSep          0.7
104         Align           Block
105         RefPrefix sec
106         Argument 1
107           LabelString   "Short Title|S"
108           Tooltip       "The section as it appears in the table of contents/running headers"
109         EndArgument
110         Font
111           Series        Bold
112           Size          Larger
113         EndFont
114 End
115
116 Style Subsection
117         CopyStyle       Section
118         TocLevel        2
119         LatexName       subsection
120         TopSep          0.9
121         BottomSep       0.5
122         ParSep          0.5
123         RefPrefix sub
124         Font
125           Series        Bold
126           Size          Large
127         EndFont
128 End
129
130 InsetLayout Flex:Sidenote
131         LyxType         custom
132         LatexType       command
133         LatexName       sidenote
134         Decoration      classic
135         LabelString     "sidenote"
136         Font
137           Color         foreground
138           Size          Small
139           Misc          No_Emph
140           Misc          No_Noun
141           Misc          No_Bar
142         EndFont
143         LabelFont
144           Color         marginlabel
145           Size          Small
146         EndFont
147 End
148
149 InsetLayout Flex:Marginnote
150         CopyStyle       Flex:Sidenote
151         LatexName       marginnote
152         Decoration      classic
153         LabelString     "marginnote"
154         Font
155           Family        Roman
156           Shape         Up
157           Series        Medium
158         EndFont
159         MultiPar        true
160 End
161
162 InsetLayout Flex:NewThought
163         LyXType         charstyle
164         LatexType       Command
165         LatexName       newthought
166         LabelString     "new thought"
167         Font
168           Shape         SmallCaps
169         EndFont
170         LabelFont
171           Family        Roman
172           Color         red
173         EndFont
174 End
175
176 InsetLayout Flex:AllCaps
177         CopyStyle       Flex:NewThought
178         LatexName       allcaps
179         LabelString     "allcaps"
180         Font
181           Shape         Up
182           Misc          Noun
183         EndFont
184         LabelFont
185           Color         blue
186         EndFont
187 End
188
189 InsetLayout Flex:SmallCaps
190         CopyStyle       Flex:NewThought
191         LatexName       smallcaps
192         LabelString     "smallcaps"
193         LabelFont
194           Color         green
195         EndFont
196 End
197
198 Style Full_Width
199         Margin          Static
200         LaTeXType       environment
201         LaTeXName       fullwidth
202         Category        MainText
203         NextNoIndent    1
204         ParSkip         0
205         ItemSep         0
206         TopSep          0.5
207         BottomSep       0.5
208         ParSep          0
209         Align           Block
210         AlignPossible   Block, Left, Right, Center
211         LabelType       No_Label
212 End
213
214 # this steps the counters
215 Counter         marginfigure
216 End
217
218 Counter         margintable
219 End
220
221 # define the floats
222 Float
223         Type            margintable
224         GuiName         MarginTable
225         Placement       tbp
226         Extension       lot
227         NumberWithin    none
228         Style           plain
229         ListName        "List of Tables"
230         ListCommand     listoftables
231         IsPredefined true
232         UsesFloatPkg false
233 End
234
235 Float
236         Type            marginfigure
237         GuiName         MarginFigure
238         Placement       tbp
239         Extension       lof
240         NumberWithin    none
241         Style           plain
242         ListName        "List of Figures"
243         ListCommand     listoffigures
244         IsPredefined true
245         UsesFloatPkg false
246 End
247
248 Style Bibliography
249         TopSep          4
250         LabelString     "Bibliography"
251         LabelFont
252           Series        Bold
253           Size          Huge
254         EndFont
255 End