]> git.lyx.org Git - lyx.git/blob - lib/layouts/tufte-book.layout
Update all layout files to format 21.
[lyx.git] / lib / layouts / tufte-book.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[tufte-book]{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 21
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 NoStyle Abstract
35 NoStyle Chapter
36 NoStyle Section
37 NoStyle Subsection
38 NoStyle Subsubsection
39 NoStyle Subsubsection*
40 NoStyle Paragraph
41 NoStyle Paragraph*
42 NoStyle Subparagraph
43 NoStyle Subparagraph*
44
45 Style Chapter
46         Margin          Static
47         Category        Section
48         LabelType       None
49         LabelCounter    chapter
50         TocLevel        0
51         LatexType       Command
52         LatexName       chapter
53         NeedProtect     1
54         NextNoIndent    1
55         ParSkip         0.4
56         TopSep          4
57         BottomSep       0.8
58         ParSep          0.8
59         Align           Block
60         OptionalArgs    1
61         Font
62           Series        Bold
63           Size          Huge
64         EndFont
65 End
66
67 Style Section
68         Category        Section
69         Margin          Dynamic
70         LabelType       None
71         LabelCounter    section
72         TocLevel        1
73         LatexType       Command
74         LatexName       section
75         NeedProtect     1
76         NextNoIndent    1
77         LabelSep        xxx
78         ParSkip         0.4
79         TopSep          1.3
80         BottomSep       0.7
81         ParSep          0.7
82         Align           Block
83         OptionalArgs    1
84         Font
85           Series        Bold
86           Size          Larger
87         EndFont
88 End
89
90 Style Subsection
91         CopyStyle       Section
92         TocLevel        2
93         LatexName       subsection
94         TopSep          0.9
95         BottomSep       0.5
96         ParSep          0.5
97         Font
98           Series        Bold
99           Size          Large
100         EndFont
101 End
102
103 InsetLayout Sidenote
104         LyxType         custom
105         LatexType       command
106         LatexName       sidenote
107         Decoration      classic
108         LabelString     "sidenote"
109         Font
110           Color         foreground
111           Size          Small
112           Misc          No_Emph
113           Misc          No_Noun
114           Misc          No_Bar
115         EndFont
116         LabelFont
117           Color         marginlabel
118           Size          Small
119         EndFont
120 End
121
122 InsetLayout Marginnote
123         CopyStyle       Sidenote
124         LatexName       marginnote
125         Decoration      classic
126         LabelString     "marginnote"
127         Font
128           Family        Roman
129           Shape         Up
130           Series        Medium
131         EndFont
132         MultiPar        true
133 End
134
135 InsetLayout NewThought
136         LyXType         charstyle
137         LatexType       Command
138         LatexName       newthought
139         LabelString     "new thought"
140         Font
141           Shape         SmallCaps
142         EndFont
143         LabelFont
144           Family        Roman
145           Color         red
146         EndFont
147 End
148
149 InsetLayout AllCaps
150         CopyStyle       NewThought
151         LatexName       allcaps
152         LabelString     "allcaps"
153         Font
154           Shape         Up
155           Misc          Noun
156         EndFont
157         LabelFont
158           Color         blue
159         EndFont
160 End
161
162 InsetLayout SmallCaps
163         CopyStyle       NewThought
164         LatexName       smallcaps
165         LabelString     "smallcaps"
166         LabelFont
167           Color         green
168         EndFont
169 End
170
171 Style Full_Width
172         Margin          Static
173         LaTeXType       environment
174         LaTeXName       fullwidth
175         Category        MainText
176         NextNoIndent    1
177         ParSkip         0
178         ItemSep         0
179         TopSep          0.5
180         BottomSep       0.5
181         ParSep          0
182         Align           Block
183         AlignPossible   Block, Left, Right, Center
184         LabelType       No_Label
185 End
186
187 # this steps the counters
188 Counter         marginfigure
189 End
190
191 Counter         margintable
192 End
193
194 # define the floats
195 Float
196         Type            margintable
197         GuiName         MarginTable
198         Placement       tbp
199         Extension       lot
200         NumberWithin    none
201         Style           plain
202         ListName        "List of Tables"
203         LaTeXBuiltin    true
204 End
205
206 Float
207         Type            marginfigure
208         GuiName         MarginFigure
209         Placement       tbp
210         Extension       lof
211         NumberWithin    none
212         Style           plain
213         ListName        "List of Figures"
214         LaTeXBuiltin    true
215 End
216
217 Style Bibliography
218         TopSep                4
219         LabelString           "Bibliography"
220         LabelFont
221           Series              Bold
222           Size                Huge
223         EndFont
224 End