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