1 #LyX 1.6.5svn created this file. For more info see http://www.lyx.org/
5 \textclass tufte-handout
6 \use_default_options false
11 \font_typewriter default
12 \font_default_family default
19 \paperfontsize default
28 \paperorientation portrait
31 \paragraph_separation indent
33 \quotes_language english
36 \paperpagestyle default
37 \tracking_changes false
45 \begin_layout Standard
46 \begin_inset Note Note
49 \begin_layout Plain Layout
56 Insert\SpecialChar \menuseparator
65 Document\SpecialChar \menuseparator
68 menu cannot be used for tufte document classes!
74 \begin_inset Note Note
77 \begin_layout Plain Layout
82 is left out, the current date will be used.
91 An Example of the Usage of the Tufte-Handout Style
99 \begin_layout Plain Layout
106 eX Developers and The Ly
110 \begin_layout Plain Layout
120 \begin_layout Abstract
122 This document describes the
126 LaTeX document style.
127 It also provides examples and comments on the style's use.
128 It is based on the example file shiped with
132 , but adapted for the use with LyX.
135 \begin_layout Standard
144 \begin_layout Plain Layout
147 \begin_inset Flex URL
150 \begin_layout Plain Layout
152 http://ctan.org/tex-archive/macros/latex/contrib/tufte-latex
162 defines a style similar to the style
166 uses in his books and handouts.
167 Tufte's style is known for its extensive use of sidenotes, tight integration
168 of graphics with text, and well-set typography.
169 This document aims to be at once a demonstration of the features of the
174 document class and a style guide to its use.
177 \begin_layout Section
179 \begin_inset CommandInset label
181 name "sec:page-layout"
188 \begin_layout Subsection
189 Headings and paragraph design
190 \begin_inset CommandInset label
199 \begin_layout Standard
216 ) demonstrated above.
219 \begin_layout Standard
220 If you need more than two levels of section headings, you'll have to define
221 them yourself at the moment;
225 \begin_layout Plain Layout
227 \begin_inset Quotes eld
230 Defining new sections
231 \begin_inset Quotes erd
239 \begin_inset CommandInset ref
241 reference "sec:defining-sections"
245 for help with defining more heading levels.
250 there are no pre-defined styles for anything below a
261 The Elements of Typographic Style
264 \begin_inset CommandInset citation
271 \begin_inset Quotes eld
274 use as many levels of headings as you need: no more, and no fewer.
275 \begin_inset Quotes erd
281 \begin_layout Standard
282 \begin_inset Flex NewThought
285 \begin_layout Plain Layout
292 \begin_inset CommandInset citation
298 Tufte starts each section with a bit of vertical space, a non-indented
299 paragraph, and sets the first few words of the sentence in
304 To accomplish this, use the
310 Edit\SpecialChar \menuseparator
311 TextStyle\SpecialChar \menuseparator
317 \begin_layout Subsection
319 \begin_inset CommandInset label
328 \begin_layout Standard
329 One of the most prominent and distinctive features of this style is the
330 extensive use of sidenotes.
331 There is a wide margin to provide ample room for sidenotes and small figures.
332 Any footnotes will automatically be converted to sidenotes.
336 \begin_layout Plain Layout
337 This is a sidenote that was entered using a
346 Alternatively, you can also use directly the sidenote inset.
347 \begin_inset Flex Sidenote
350 \begin_layout Plain Layout
351 This is a sidenote that was entered using a
363 \begin_layout Standard
364 If you like to place ancillary information in the margin without the sidenote
365 mark (the superscript number), you can use the
371 \begin_inset Flex Marginnote
374 \begin_layout Plain Layout
375 This is Tufte's margin note.
376 Notice that there isn't a number preceding the note, and there is no number
377 in the main text where this note was written.
382 The normal margin note will work as well, but it will look rather odd.
383 \begin_inset Marginal
386 \begin_layout Plain Layout
387 This is a normal margin note.
396 \begin_layout Subsection
400 \begin_layout Standard
401 References are placed alongside their citations as sidenotes, as well.
402 This can be accomplished using the normal citation command.
406 \begin_layout Plain Layout
407 The first paragraph of this document includes a citation.
415 \begin_layout Standard
416 The complete list of references may also be printed automatically by using
419 Insert\SpecialChar \menuseparator
420 Lists/TOC\SpecialChar \menuseparator
427 (see the end of this document for an example.) If you do not want to print
428 a bibliography at the end of your document, use the LaTeX command
437 \begin_layout Section
439 \begin_inset CommandInset label
441 name "sec:figures-and-tables"
448 \begin_layout Standard
449 Images and graphics play an integral role in Tufte's work.
450 In addition to the standard
458 floats, this class provides special figure and table environments for full-widt
462 \begin_layout Standard
463 Full page width figures and tables can be produced by using figure or table
469 To place figures or tables in the margin, use the
482 \begin_inset CommandInset ref
484 reference "fig:marginfig"
489 \begin_inset Note Note
492 \begin_layout Plain Layout
493 Note: unfortunately, the counting inside the LyX view is wrong.
494 Margin floats and normal floats are counted differently, whereas the use
495 the same counter in the output.
501 \begin_inset Float marginfigure
506 \begin_layout Plain Layout
507 \begin_inset Box Boxed
516 height_special "totalheight"
519 \begin_layout Plain Layout
521 replace the box by your figure!
529 \begin_layout Plain Layout
532 \begin_layout Plain Layout
533 This is a margin figure.
534 The figure will be put in the margin.
535 \begin_inset CommandInset label
554 \begin_layout Standard
560 \begin_inset CommandInset ref
562 reference "fig:fullfig"
566 is an example of the wide figure float and figure
571 \begin_inset CommandInset ref
573 reference "fig:textfig"
577 is an example of the normal figure float.
579 \begin_inset Float figure
584 \begin_layout Plain Layout
585 \begin_inset Box Boxed
594 height_special "totalheight"
597 \begin_layout Plain Layout
599 replace the box by your figure!
607 \begin_layout Plain Layout
610 \begin_layout Plain Layout
611 This is a wide figure (
618 Notice that this figure takes up the full page width.
621 \begin_inset CommandInset label
640 \begin_layout Standard
641 \begin_inset Float figure
647 \begin_layout Plain Layout
648 \begin_inset Box Boxed
657 height_special "totalheight"
660 \begin_layout Plain Layout
662 replace the box by your figure!
670 \begin_layout Plain Layout
673 \begin_layout Plain Layout
674 This is a normal figure.
677 Notice that this figure only takes up the main textblock width.
680 \begin_inset CommandInset label
699 \begin_layout Standard
705 \begin_inset CommandInset ref
707 reference "tab:normaltab"
711 shows a table created with the
715 package (this is border style
716 \begin_inset Quotes eld
720 \begin_inset Quotes erd
723 in the tabular dialog).
724 Notice the lack of vertical rules---they serve only to clutter the table's
728 \begin_layout Standard
729 \begin_inset Float table
735 \begin_layout Plain Layout
740 \begin_layout Plain Layout
751 <lyxtabular version="3" rows="6" columns="2">
752 <features booktabs="true">
753 <column alignment="left" valignment="top" width="0">
754 <column alignment="left" valignment="top" width="0">
756 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
759 \begin_layout Plain Layout
765 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
768 \begin_layout Plain Layout
776 <cell alignment="left" valignment="top" usebox="none">
779 \begin_layout Plain Layout
785 <cell alignment="left" valignment="top" usebox="none">
788 \begin_layout Plain Layout
792 \begin_layout Plain Layout
805 \begin_layout Plain Layout
813 \begin_inset Formula $\nicefrac{1}{2}$
820 \begin_layout Plain Layout
831 \begin_layout Plain Layout
842 \begin_layout Plain Layout
856 <cell alignment="left" valignment="top" usebox="none">
859 \begin_layout Plain Layout
865 <cell alignment="left" valignment="top" usebox="none">
868 \begin_layout Plain Layout
872 \begin_layout Plain Layout
885 \begin_layout Plain Layout
896 \begin_layout Plain Layout
907 \begin_layout Plain Layout
918 \begin_layout Plain Layout
932 <cell alignment="left" valignment="top" usebox="none">
935 \begin_layout Plain Layout
941 <cell alignment="left" valignment="top" usebox="none">
944 \begin_layout Plain Layout
948 \begin_layout Plain Layout
961 \begin_layout Plain Layout
969 \begin_inset Formula $\nicefrac{1}{2}$
976 \begin_layout Plain Layout
987 \begin_layout Plain Layout
998 \begin_layout Plain Layout
1012 <cell alignment="left" valignment="top" usebox="none">
1015 \begin_layout Plain Layout
1016 Textblock/sidenote gutter
1021 <cell alignment="left" valignment="top" usebox="none">
1024 \begin_layout Plain Layout
1028 \begin_layout Plain Layout
1041 \begin_layout Plain Layout
1049 \begin_inset Formula $\nicefrac{3}{8}$
1056 \begin_layout Plain Layout
1067 \begin_layout Plain Layout
1078 \begin_layout Plain Layout
1092 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
1095 \begin_layout Plain Layout
1101 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
1104 \begin_layout Plain Layout
1108 \begin_layout Plain Layout
1121 \begin_layout Plain Layout
1132 \begin_layout Plain Layout
1143 \begin_layout Plain Layout
1154 \begin_layout Plain Layout
1174 \begin_layout Plain Layout
1175 \begin_inset Caption
1177 \begin_layout Plain Layout
1178 Here are the dimensions of the various margins used in the
1183 \begin_inset CommandInset label
1185 name "tab:normaltab"
1202 \begin_layout Section
1203 Full-width text blocks
1206 \begin_layout Standard
1207 In addition to the new float types, there is a
1211 environment that stretches across the main text block and the sidenotes
1212 area and ragged left:
1215 \begin_layout Full Width
1216 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
1217 Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis.
1218 Curabitur dictum gravida mauris.
1219 Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
1220 Donec vehicula augue eu neque.
1221 Pellentesque habitant morbi tristique senectus et netus et malesuada fames
1224 Cras viverra metus rhoncus sem.
1225 Nulla et lectus vestibulum urna fringilla ultrices.
1226 Phasellus eu tellus sit amet tortor gravida placerat.
1227 Integer sapien est, iaculis in, pretium quis, viverra ac, nunc.
1228 Praesent eget sem vel leo ultrices bibendum.
1230 Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla.
1231 Curabitur auctor semper nulla.
1232 Donec varius orci eget risus.
1233 Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
1234 Duis eget orci sit amet orci dignissim rutrum.
1238 \begin_layout Section
1240 \begin_inset CommandInset label
1242 name "sec:typography"
1249 \begin_layout Subsection
1251 \begin_inset CommandInset label
1253 name "sec:typefaces"
1260 \begin_layout Standard
1269 typefaces are installed, this style will use them automatically.
1270 Otherwise, we'll fall back on the
1277 \begin_layout Subsection
1279 \begin_inset CommandInset label
1281 name "sec:letterspacing"
1288 \begin_layout Standard
1289 This document class includes two new character styles and some improvements
1290 on existing commands for letterspacing.
1293 \begin_layout Standard
1294 When setting strings of
1295 \begin_inset Flex AllCaps
1298 \begin_layout Plain Layout
1305 \begin_inset Flex SmallCaps
1308 \begin_layout Plain Layout
1314 , the letterspacing---that is, the spacing between the letters---should
1315 be increased slightly.
1316 \begin_inset CommandInset citation
1318 key "Bringhurst2005"
1328 Edit\SpecialChar \menuseparator
1329 TextStyle\SpecialChar \menuseparator
1332 ) has proper letterspacing for strings of
1333 \begin_inset Flex AllCaps
1336 \begin_layout Plain Layout
1337 FULL CAPITAL LETTERS
1348 Edit\SpecialChar \menuseparator
1349 TextStyle\SpecialChar \menuseparator
1352 ) has letterspacing for
1353 \begin_inset Flex SmallCaps
1356 \begin_layout Plain Layout
1357 small capital letters
1363 These commands will also automatically convert the case of the text to
1364 upper- or lowercase, respectively.
1367 \begin_layout Standard
1372 shape has also been redefined to include letterspacing.
1373 Its case is left as is, however.
1374 This allows one to use both uppercase and lowercase letters:
1376 The Initial Letters Of The Words In This Sentence Are Capitalized.
1379 \begin_layout Section
1381 \begin_inset CommandInset label
1383 name "sec:customization"
1390 \begin_layout Subsection
1391 Document class options
1392 \begin_inset CommandInset label
1401 \begin_layout Standard
1406 class is based on the
1411 Therefore, you can pass any of the typical article options.
1412 There are a few options that are specific to the
1416 document class, however.
1419 \begin_layout Itemize
1424 option will set the paper size to A4 instead of the default US letter size.
1427 \begin_layout Itemize
1432 option will set the sidenotes in a
1436 typeface instead of the default roman.
1439 \begin_layout Itemize
1444 option will modify the running heads so that the page number is printed
1445 on the outside edge (as opposed to always printing the page number on the
1453 \begin_layout Itemize
1458 option typesets the sidenotes on the outside edge of the page.
1459 This is how books are traditionally printed, but is contrary to Tufte's
1460 book design which sets the sidenotes on the right side of the page.
1461 This option implicitly sets the
1468 \begin_layout Itemize
1473 option sets all the text fully justified (flush left and right).
1474 The default is to set the text ragged right.
1475 The body text of Tufte's books are set ragged right.
1476 This prevents needless hyphenation and makes it easier to read the text
1477 in the slightly narrower column.
1480 \begin_layout Subsection
1481 Defining new sections
1482 \begin_inset CommandInset label
1484 name "sec:defining-sections"
1491 \begin_layout Standard
1492 As mentioned on page
1493 \begin_inset space ~
1497 \begin_inset CommandInset ref
1498 LatexCommand pageref
1499 reference "sec:headings"
1507 document class only defines
1518 \begin_layout Standard
1519 If you wanted to define, say, a
1523 heading, you could do it as follows:
1526 \begin_layout LyX-Code
1532 \begin_layout LyX-Code
1540 \begin_layout LyX-Code
1543 @startsection{paragraph}% the name of the new section
1546 \begin_layout LyX-Code
1547 {4}% the section level number
1550 \begin_layout LyX-Code
1551 {0em}% indentation amount
1554 \begin_layout LyX-Code
1557 baselineskip}% amount of space to leave before heading
1560 \begin_layout LyX-Code
1561 {-1.5em}% amount of space to leave after heading
1564 \begin_layout LyX-Code
1572 \begin_layout LyX-Code
1576 \begin_layout LyX-Code
1582 \begin_layout Standard
1585 Document\SpecialChar \menuseparator
1586 Settings\SpecialChar \menuseparator
1589 and you'll now be able to use
1598 \begin_layout Standard
1599 For more details on defining section levels, see
1602 \begin_inset space \space{}
1608 \begin_inset CommandInset citation
1610 key "Mittelbach2004"
1621 \begin_layout Section
1623 \begin_inset CommandInset label
1632 \begin_layout Subsection
1633 Package Dependencies
1634 \begin_inset CommandInset label
1636 name "sec:dependencies"
1643 \begin_layout Standard
1644 The following is a list of packages that the
1648 document class relies upon.
1649 Packages marked with an asterisk are optional.
1652 \begin_layout Itemize
1656 \begin_layout Itemize
1660 \begin_layout Itemize
1664 \begin_layout Itemize
1668 \begin_layout Itemize
1672 \begin_layout Itemize
1676 \begin_layout Itemize
1680 \begin_layout Itemize
1684 \begin_layout Itemize
1688 \begin_layout Itemize
1692 \begin_layout Itemize
1696 \begin_layout Itemize
1700 \begin_layout Itemize
1704 \begin_layout Itemize
1708 \begin_layout Subsection
1710 \begin_inset space \space{}
1714 \begin_inset CommandInset label
1723 \begin_layout Standard
1724 The website for the Tufte-LaTeX
1725 \begin_inset space \space{}
1728 packages is located at
1729 \begin_inset Flex URL
1732 \begin_layout Plain Layout
1734 http://code.google.com/p/tufte-latex/
1740 On our website, you'll find links to our
1741 \begin_inset Flex SmallCaps
1744 \begin_layout Plain Layout
1750 repository, mailing lists, bug tracker, and documentation.
1753 \begin_layout Standard
1754 \begin_inset CommandInset bibtex
1756 bibfiles "biblioExample"