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