]> git.lyx.org Git - lyx.git/blob - lib/layouts/tufte-book.layout
Merge remote-tracking branch 'origin/master' into features/latexargs
[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 40
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        Section
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"
81                 Shortcut      S
82                 Tooltip       "The chapter as it appears in the table of contents/running headers"
83         EndArgument
84         Font
85           Series        Bold
86           Size          Huge
87         EndFont
88 End
89
90 Style Section
91         Category        Section
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"
109                 Shortcut      S
110                 Tooltip       "The section as it appears in the table of contents/running headers"
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 End
150
151 InsetLayout Flex:Marginnote
152         CopyStyle       Flex:Sidenote
153         LatexName       marginnote
154         Decoration      classic
155         LabelString     "marginnote"
156         Font
157           Family        Roman
158           Shape         Up
159           Series        Medium
160         EndFont
161         MultiPar        true
162 End
163
164 InsetLayout Flex:NewThought
165         LyXType         charstyle
166         LatexType       Command
167         LatexName       newthought
168         LabelString     "new thought"
169         Font
170           Shape         SmallCaps
171         EndFont
172         LabelFont
173           Family        Roman
174           Color         red
175         EndFont
176 End
177
178 InsetLayout Flex:AllCaps
179         CopyStyle       Flex:NewThought
180         LatexName       allcaps
181         LabelString     "allcaps"
182         Font
183           Shape         Up
184           Misc          Noun
185         EndFont
186         LabelFont
187           Color         blue
188         EndFont
189 End
190
191 InsetLayout Flex:SmallCaps
192         CopyStyle       Flex:NewThought
193         LatexName       smallcaps
194         LabelString     "smallcaps"
195         LabelFont
196           Color         green
197         EndFont
198 End
199
200 Style Full_Width
201         Margin          Static
202         LaTeXType       environment
203         LaTeXName       fullwidth
204         Category        MainText
205         NextNoIndent    1
206         ParSkip         0
207         ItemSep         0
208         TopSep          0.5
209         BottomSep       0.5
210         ParSep          0
211         Align           Block
212         AlignPossible   Block, Left, Right, Center
213         LabelType       No_Label
214 End
215
216 # this steps the counters
217 Counter         marginfigure
218 End
219
220 Counter         margintable
221 End
222
223 # define the floats
224 Float
225         Type            margintable
226         GuiName         MarginTable
227         Placement       tbp
228         Extension       lot
229         NumberWithin    none
230         Style           plain
231         ListName        "List of Tables"
232         ListCommand     listoftables
233         IsPredefined true
234         UsesFloatPkg false
235 End
236
237 Float
238         Type            marginfigure
239         GuiName         MarginFigure
240         Placement       tbp
241         Extension       lof
242         NumberWithin    none
243         Style           plain
244         ListName        "List of Figures"
245         ListCommand     listoffigures
246         IsPredefined true
247         UsesFloatPkg false
248 End
249
250 Style Bibliography
251         TopSep                4
252         LabelString           "Bibliography"
253         LabelFont
254           Series              Bold
255           Size                Huge
256         EndFont
257 End