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