1 #LyX 1.6.5svn created this file. For more info see http://www.lyx.org/
5 \textclass tufte-handout
6 \use_default_options true
11 \font_typewriter default
12 \font_default_family default
19 \paperfontsize default
23 \pdf_bookmarksnumbered true
24 \pdf_bookmarksopen true
25 \pdf_bookmarksopenlevel 1
37 \paperorientation portrait
40 \paragraph_separation indent
42 \quotes_language english
45 \paperpagestyle default
46 \tracking_changes false
54 \begin_layout Standard
55 \begin_inset Note Note
58 \begin_layout Plain Layout
63 is left out, the current date will be used.
72 An Example of the Usage of the Tufte-Handout Style
80 \begin_layout Plain Layout
87 X Developers and The Ly
91 \begin_layout Plain Layout
101 \begin_layout Abstract
103 This document describes the
107 LaTeX document style.
108 It also provides examples and comments on the style's use.
109 It is based on the example file shiped with
113 , but adapted for the use with LyX.
116 \begin_layout Standard
125 \begin_layout Plain Layout
128 \begin_inset Flex URL
131 \begin_layout Plain Layout
133 http://ctan.org/tex-archive/macros/latex/contrib/tufte-latex
143 defines a style similar to the style
147 uses in his books and handouts.
148 Tufte's style is known for its extensive use of sidenotes, tight integration
149 of graphics with text, and well-set typography.
150 This document aims to be at once a demonstration of the features of the
155 document class and a style guide to its use.
162 \begin_layout Section
164 \begin_inset CommandInset label
166 name "sec:page-layout"
173 \begin_layout Subsection
174 Headings and paragraph design
175 \begin_inset CommandInset label
184 \begin_layout Standard
201 , both numbered and non-numbered), as demonstrated above.
204 \begin_layout Standard
205 If you need more than two levels of section headings, you'll have to define
206 them yourself at the moment;
210 \begin_layout Plain Layout
212 \begin_inset Quotes eld
215 Defining new sections
216 \begin_inset Quotes erd
224 \begin_inset CommandInset ref
226 reference "sec:defining-sections"
230 for help with defining more heading levels.
235 there are no pre-defined styles for anything below a
246 The Elements of Typographic Style
249 \begin_inset CommandInset citation
256 \begin_inset Quotes eld
259 use as many levels of headings as you need: no more, and no fewer.
260 \begin_inset Quotes erd
266 \begin_layout Standard
267 \begin_inset Flex NewThought
270 \begin_layout Plain Layout
277 \begin_inset CommandInset citation
283 Tufte starts each section with a bit of vertical space, a non-indented
284 paragraph, and sets the first few words of the sentence in
289 To accomplish this, use the
295 Edit\SpecialChar \menuseparator
296 TextStyle\SpecialChar \menuseparator
302 \begin_layout Subsection
304 \begin_inset CommandInset label
313 \begin_layout Standard
314 One of the most prominent and distinctive features of this style is the
315 extensive use of sidenotes.
316 There is a wide margin to provide ample room for sidenotes and small figures.
317 Any footnotes will automatically be converted to sidenotes.
321 \begin_layout Plain Layout
322 This is a sidenote that was entered using a
331 Alternatively, you can also use the
335 inset directly; you'll find it in the
337 Insert\SpecialChar \menuseparator
341 \begin_inset Flex Sidenote
344 \begin_layout Plain Layout
345 This is a sidenote that was entered using a
357 \begin_layout Standard
358 If you like to place ancillary information in the margin without the sidenote
359 mark (the superscript number), you can use the
365 \begin_inset Flex Marginnote
368 \begin_layout Plain Layout
369 This is Tufte's margin note.
370 Notice that there isn't a number preceding the note, and there is no number
371 in the main text where this note was written.
376 The normal margin note will work as well, but it will look rather odd.
377 \begin_inset Marginal
380 \begin_layout Plain Layout
381 This is a normal margin note.
390 \begin_layout Subsection
394 \begin_layout Standard
395 References are placed alongside their citations as sidenotes, as well.
396 This can be accomplished using the normal citation command.
400 \begin_layout Plain Layout
401 The first paragraph of this document includes a citation.
409 \begin_layout Standard
410 The complete list of references may also be printed automatically by using
413 Insert\SpecialChar \menuseparator
414 Lists/TOC\SpecialChar \menuseparator
421 (see the end of this document for an example.) If you do not want to print
422 a bibliography at the end of your document, place the
430 inset inside a LyX note and use the LaTeX command
439 \begin_layout Section
441 \begin_inset CommandInset label
443 name "sec:figures-and-tables"
450 \begin_layout Standard
451 Images and graphics play an integral role in Tufte's work.
452 In addition to the standard
460 floats, this class provides special figure and table environments for full-widt
464 \begin_layout Standard
465 Full page width figures and tables can be produced by using figure or table
471 To place figures or tables in the margin, use the
484 \begin_inset CommandInset ref
486 reference "fig:marginfig"
491 \begin_inset Note Note
494 \begin_layout Plain Layout
495 Note: unfortunately, the counting inside the LyX view is wrong.
496 Margin floats and normal floats are counted differently, whereas the use
497 the same counter in the output.
503 \begin_inset Float marginfigure
508 \begin_layout Plain Layout
509 \begin_inset Box Boxed
518 height_special "totalheight"
521 \begin_layout Plain Layout
523 replace the box by your figure!
531 \begin_layout Plain Layout
534 \begin_layout Plain Layout
535 This is a margin figure.
536 The figure will be put in the margin.
537 \begin_inset CommandInset label
556 \begin_layout Standard
562 \begin_inset CommandInset ref
564 reference "fig:fullfig"
568 is an example of the wide figure float and figure
573 \begin_inset CommandInset ref
575 reference "fig:textfig"
579 is an example of the normal figure float.
581 \begin_inset Float figure
586 \begin_layout Plain Layout
587 \begin_inset Box Boxed
596 height_special "totalheight"
599 \begin_layout Plain Layout
601 replace the box by your figure!
609 \begin_layout Plain Layout
612 \begin_layout Plain Layout
613 This is a wide figure (
620 Notice that this figure takes up the full page width.
623 \begin_inset CommandInset label
642 \begin_layout Standard
643 \begin_inset Float figure
649 \begin_layout Plain Layout
650 \begin_inset Box Boxed
659 height_special "totalheight"
662 \begin_layout Plain Layout
664 replace the box by your figure!
672 \begin_layout Plain Layout
675 \begin_layout Plain Layout
676 This is a normal figure.
679 Notice that this figure only takes up the main textblock width.
682 \begin_inset CommandInset label
701 \begin_layout Standard
707 \begin_inset CommandInset ref
709 reference "tab:normaltab"
713 shows a table created with the
717 package (this is border style
718 \begin_inset Quotes eld
722 \begin_inset Quotes erd
725 in the tabular dialog).
726 Notice the lack of vertical rules---they serve only to clutter the table's
730 \begin_layout Standard
731 \begin_inset Float table
737 \begin_layout Plain Layout
740 <lyxtabular version="3" rows="6" columns="2">
741 <features booktabs="true">
742 <column alignment="left" valignment="top" width="0">
743 <column alignment="left" valignment="top" width="0">
745 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
748 \begin_layout Plain Layout
754 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
757 \begin_layout Plain Layout
765 <cell alignment="left" valignment="top" usebox="none">
768 \begin_layout Plain Layout
774 <cell alignment="left" valignment="top" usebox="none">
777 \begin_layout Plain Layout
778 \begin_inset Formula $\unit[8\nicefrac{1}{2}]{inches}$
788 <cell alignment="left" valignment="top" usebox="none">
791 \begin_layout Plain Layout
797 <cell alignment="left" valignment="top" usebox="none">
800 \begin_layout Plain Layout
801 \begin_inset Formula $\unit[11]{inches}$
811 <cell alignment="left" valignment="top" usebox="none">
814 \begin_layout Plain Layout
820 <cell alignment="left" valignment="top" usebox="none">
823 \begin_layout Plain Layout
824 \begin_inset Formula $\unit[6\nicefrac{1}{2}]{inches}$
834 <cell alignment="left" valignment="top" usebox="none">
837 \begin_layout Plain Layout
838 Textblock/sidenote gutter
843 <cell alignment="left" valignment="top" usebox="none">
846 \begin_layout Plain Layout
847 \begin_inset Formula $\unit[\nicefrac{3}{8}]{inches}$
857 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
860 \begin_layout Plain Layout
866 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
869 \begin_layout Plain Layout
870 \begin_inset Formula $\unit[2]{inches}$
886 \begin_layout Plain Layout
889 \begin_layout Plain Layout
890 Here are the dimensions of the various margins used in the
895 \begin_inset CommandInset label
914 \begin_layout Section
915 Full-width text blocks
918 \begin_layout Standard
919 In addition to the new float types, there is a
923 environment that stretches across the main text block and the sidenotes
924 area and ragged left:
927 \begin_layout Full Width
928 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
929 Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis.
930 Curabitur dictum gravida mauris.
931 Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
932 Donec vehicula augue eu neque.
933 Pellentesque habitant morbi tristique senectus et netus et malesuada fames
936 Cras viverra metus rhoncus sem.
937 Nulla et lectus vestibulum urna fringilla ultrices.
938 Phasellus eu tellus sit amet tortor gravida placerat.
939 Integer sapien est, iaculis in, pretium quis, viverra ac, nunc.
940 Praesent eget sem vel leo ultrices bibendum.
942 Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla.
943 Curabitur auctor semper nulla.
944 Donec varius orci eget risus.
945 Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
946 Duis eget orci sit amet orci dignissim rutrum.
953 \begin_layout Section
955 \begin_inset CommandInset label
957 name "sec:typography"
964 \begin_layout Subsection
966 \begin_inset CommandInset label
975 \begin_layout Standard
984 typefaces are installed, this style will use them automatically.
985 Otherwise, we'll fall back on the
992 \begin_layout Subsection
994 \begin_inset CommandInset label
996 name "sec:letterspacing"
1003 \begin_layout Standard
1004 This document class includes two new character styles and some improvements
1005 on existing commands for letterspacing.
1008 \begin_layout Standard
1009 When setting strings of
1010 \begin_inset Flex AllCaps
1013 \begin_layout Plain Layout
1020 \begin_inset Flex SmallCaps
1023 \begin_layout Plain Layout
1029 , the letterspacing---that is, the spacing between the letters---should
1030 be increased slightly.
1031 \begin_inset CommandInset citation
1033 key "Bringhurst2005"
1043 Edit\SpecialChar \menuseparator
1044 TextStyle\SpecialChar \menuseparator
1047 ) has proper letterspacing for strings of
1048 \begin_inset Flex AllCaps
1051 \begin_layout Plain Layout
1052 FULL CAPITAL LETTERS
1063 Edit\SpecialChar \menuseparator
1064 TextStyle\SpecialChar \menuseparator
1067 ) has letterspacing for
1068 \begin_inset Flex SmallCaps
1071 \begin_layout Plain Layout
1072 small capital letters
1078 These commands will also automatically convert the case of the text to
1079 upper- or lowercase, respectively.
1082 \begin_layout Standard
1087 shape has also been redefined to include letterspacing.
1088 Its case is left as is, however.
1089 This allows one to use both uppercase and lowercase letters:
1091 The Initial Letters Of The Words In This Sentence Are Capitalized.
1094 \begin_layout Section
1096 \begin_inset CommandInset label
1098 name "sec:customization"
1105 \begin_layout Subsection
1106 Document class options
1107 \begin_inset CommandInset label
1116 \begin_layout Standard
1121 class is based on the
1126 Therefore, you can pass any of the typical article options.
1127 There are a few options that are specific to the
1131 document class, however.
1134 \begin_layout Itemize
1139 option will set the paper size to A4 instead of the default US letter size.
1142 \begin_layout Itemize
1147 option will set the sidenotes in a
1151 typeface instead of the default roman.
1154 \begin_layout Itemize
1159 option will modify the running heads so that the page number is printed
1160 on the outside edge (as opposed to always printing the page number on the
1168 \begin_layout Itemize
1173 option typesets the sidenotes on the outside edge of the page.
1174 This is how books are traditionally printed, but is contrary to Tufte's
1175 book design which sets the sidenotes on the right side of the page.
1176 This option implicitly sets the
1183 \begin_layout Itemize
1188 option sets all the text fully justified (flush left and right).
1189 The default is to set the text ragged right.
1190 The body text of Tufte's books are set ragged right.
1191 This prevents needless hyphenation and makes it easier to read the text
1192 in the slightly narrower column.
1195 \begin_layout Subsection
1196 Defining new sections
1197 \begin_inset CommandInset label
1199 name "sec:defining-sections"
1206 \begin_layout Standard
1207 As mentioned on page
1208 \begin_inset space ~
1212 \begin_inset CommandInset ref
1213 LatexCommand pageref
1214 reference "sec:headings"
1222 document class only defines
1233 \begin_layout Standard
1234 If you want to define, say, a
1238 heading, you could do it as follows:
1241 \begin_layout LyX-Code
1247 \begin_layout LyX-Code
1255 \begin_layout LyX-Code
1258 @startsection{paragraph}% the name of the new section
1261 \begin_layout LyX-Code
1262 {4}% the section level number
1265 \begin_layout LyX-Code
1266 {0em}% indentation amount
1269 \begin_layout LyX-Code
1272 baselineskip}% amount of space to leave before heading
1275 \begin_layout LyX-Code
1276 {-1.5em}% amount of space to leave after heading
1279 \begin_layout LyX-Code
1287 \begin_layout LyX-Code
1291 \begin_layout LyX-Code
1297 \begin_layout Standard
1300 Document\SpecialChar \menuseparator
1301 Settings\SpecialChar \menuseparator
1304 and you'll now be able to use
1313 \begin_layout Standard
1314 For more details on defining section levels, see
1317 \begin_inset space \space{}
1323 \begin_inset CommandInset citation
1336 \begin_layout Section
1338 \begin_inset CommandInset label
1347 \begin_layout Subsection
1348 Package Dependencies
1349 \begin_inset CommandInset label
1351 name "sec:dependencies"
1358 \begin_layout Standard
1359 The following is a list of packages that the
1363 document class relies upon.
1364 Packages marked with an asterisk are optional.
1367 \begin_layout Itemize
1371 \begin_layout Itemize
1375 \begin_layout Itemize
1379 \begin_layout Itemize
1383 \begin_layout Itemize
1387 \begin_layout Itemize
1391 \begin_layout Itemize
1395 \begin_layout Itemize
1399 \begin_layout Itemize
1403 \begin_layout Itemize
1407 \begin_layout Itemize
1411 \begin_layout Itemize
1415 \begin_layout Itemize
1419 \begin_layout Itemize
1423 \begin_layout Subsection
1425 \begin_inset space \space{}
1429 \begin_inset CommandInset label
1438 \begin_layout Standard
1439 The website for the Tufte-LaTeX
1440 \begin_inset space \space{}
1443 packages is located at
1444 \begin_inset Flex URL
1447 \begin_layout Plain Layout
1449 http://code.google.com/p/tufte-latex/
1455 On this website, you'll find links to the
1456 \begin_inset Flex SmallCaps
1459 \begin_layout Plain Layout
1465 repository of the tufte-latex project, mailing lists, bug tracker, and
1469 \begin_layout Standard
1470 \begin_inset CommandInset bibtex
1472 bibfiles "biblioExample"