]> git.lyx.org Git - features.git/blob - lib/layouts/tufte-book.layout
d29e86ee15feab10cc9fa2864305432aaf6055a4
[features.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,hardwrap.sty,ifmtarg.sty,ifplatform.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 65
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         NeedProtect             1
38 End
39
40 Style Author
41         InPreamble              1
42         NeedProtect             1
43 End
44
45 Style Date
46         InPreamble              1
47         NeedProtect             1
48 End
49
50 NoStyle Abstract
51 NoStyle Chapter
52 NoCounter chapter
53 NoStyle Section
54 NoStyle Subsection
55 NoCounter subsection
56 NoStyle Subsubsection
57 NoCounter subsubsection
58 NoStyle Subsubsection*
59 NoStyle Paragraph
60 NoCounter paragraph
61 NoStyle Paragraph*
62 NoStyle Subparagraph
63 NoCounter subparagraph
64 NoStyle Subparagraph*
65
66 Style Chapter
67         Margin                  Static
68         Category                Sectioning
69         LabelType               No_Label
70         LabelCounter    chapter
71         TocLevel                0
72         LatexType               Command
73         LatexName               chapter
74         NeedProtect             1
75         NextNoIndent    1
76         ParSkip                 0.4
77         TopSep                  4
78         BottomSep               0.8
79         ParSep                  0.8
80         Align                   Block
81         RefPrefix               chap
82         Argument 1
83           LabelString   "Short Title|S"
84           Tooltip               "The chapter as it appears in the table of contents/running headers"
85           InsertCotext  1
86         EndArgument
87         Font
88           Series                Bold
89           Size                  Huge
90         EndFont
91 End
92
93 Style Section
94         Category                Sectioning
95         Margin                  Dynamic
96         LabelType               No_Label
97         LabelCounter    section
98         TocLevel                1
99         LatexType               Command
100         LatexName               section
101         NeedProtect             1
102         NextNoIndent    1
103         LabelSep                xxx
104         ParSkip                 0.4
105         TopSep                  1.3
106         BottomSep               0.7
107         ParSep                  0.7
108         Align                   Block
109         RefPrefix               sec
110         Argument 1
111           LabelString   "Short Title|S"
112           Tooltip               "The section as it appears in the table of contents/running headers"
113           InsertCotext  1
114         EndArgument
115         Font
116           Series                Bold
117           Size                  Larger
118         EndFont
119 End
120
121 Style Subsection
122         CopyStyle               Section
123         TocLevel                2
124         LatexName               subsection
125         TopSep                  0.9
126         BottomSep               0.5
127         ParSep                  0.5
128         RefPrefix               subsec
129         Font
130           Series                Bold
131           Size                  Large
132         EndFont
133 End
134
135 InsetLayout Flex:Sidenote
136         LyxType                 custom
137         LatexType               command
138         LatexName               sidenote
139         Decoration              classic
140         LabelString             "sidenote"
141         Font
142           Color                 foreground
143           Size                  Small
144           Misc                  No_Emph
145           Misc                  No_Noun
146           Misc                  No_Bar
147         EndFont
148         LabelFont
149           Color                 marginlabel
150           Size                  Small
151         EndFont
152         ResetsFont              true
153 End
154
155 InsetLayout Flex:Marginnote
156         CopyStyle               Flex:Sidenote
157         LatexName               marginnote
158         Decoration              classic
159         LabelString             "marginnote"
160         Font
161           Family                Roman
162           Shape                 Up
163           Series                Medium
164         EndFont
165         MultiPar                true
166 End
167
168 InsetLayout Flex:NewThought
169         LyXType                 charstyle
170         LatexType               Command
171         LatexName               newthought
172         LabelString             "new thought"
173         Font
174           Shape                 SmallCaps
175         EndFont
176         LabelFont
177           Family                Roman
178           Color                 red
179         EndFont
180         ResetsFont              true
181 End
182
183 InsetLayout Flex:AllCaps
184         CopyStyle               Flex:NewThought
185         LatexName               allcaps
186         LabelString             "allcaps"
187         Font
188           Shape                 Up
189           Misc                  Noun
190         EndFont
191         LabelFont
192           Color                 blue
193         EndFont
194 End
195
196 InsetLayout Flex:SmallCaps
197         CopyStyle               Flex:NewThought
198         LatexName               smallcaps
199         LabelString             "smallcaps"
200         LabelFont
201           Color                 green
202         EndFont
203 End
204
205 Style Full_Width
206         Margin                  Static
207         LaTeXType               environment
208         LaTeXName               fullwidth
209         Category                MainText
210         NextNoIndent    1
211         ParSkip                 0
212         ItemSep                 0
213         TopSep                  0.5
214         BottomSep               0.5
215         ParSep                  0
216         Align                   Block
217         AlignPossible   Block, Left, Right, Center
218         LabelType               No_Label
219 End
220
221 # this steps the counters
222 Counter         marginfigure
223 End
224
225 Counter         margintable
226 End
227
228 # define the floats
229 Float
230         Type                    margintable
231         GuiName                 MarginTable
232         Placement               tbp
233         AllowedPlacement none
234         AllowsSideways  0
235         AllowsWide              0
236         Extension               lot
237         NumberWithin    none
238         Style                   plain
239         ListName                "List of Tables"
240         ListCommand             listoftables
241         IsPredefined    true
242         UsesFloatPkg    false
243 End
244
245 Float
246         Type                    marginfigure
247         GuiName                 MarginFigure
248         Placement               tbp
249         AllowedPlacement none
250         AllowsSideways  0
251         AllowsWide              0
252         Extension               lof
253         NumberWithin    none
254         Style                   plain
255         ListName                "List of Figures"
256         ListCommand             listoffigures
257         IsPredefined    true
258         UsesFloatPkg    false
259 End
260
261 Style Bibliography
262         TopSep                  4
263         LabelString             "Bibliography"
264         LabelFont
265           Series                Bold
266           Size                  Huge
267         EndFont
268 End