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.
181 \begin_layout Section*
183 \begin_inset CommandInset label
185 name "sec:page-layout"
192 \begin_layout Subsection*
193 Headings and paragraph design
194 \begin_inset CommandInset label
203 \begin_layout Standard
220 ) demonstrated above.
223 \begin_layout Standard
224 If you need more than two levels of section headings, you'll have to define
225 them yourself at the moment;
229 \begin_layout Plain Layout
231 \begin_inset Quotes eld
234 Defining new sections
235 \begin_inset Quotes erd
243 \begin_inset CommandInset ref
245 reference "sec:defining-sections"
249 for help with defining more heading levels.
254 there are no pre-defined styles for anything below a
265 The Elements of Typographic Style
268 \begin_inset CommandInset citation
275 \begin_inset Quotes eld
278 use as many levels of headings as you need: no more, and no fewer.
279 \begin_inset Quotes erd
285 \begin_layout Standard
286 \begin_inset Flex NewThought
289 \begin_layout Plain Layout
296 \begin_inset CommandInset citation
302 Tufte starts each section with a bit of vertical space, a non-indented
303 paragraph, and sets the first few words of the sentence in
308 To accomplish this, use the
314 Edit\SpecialChar \menuseparator
315 TextStyle\SpecialChar \menuseparator
321 \begin_layout Subsection*
323 \begin_inset CommandInset label
332 \begin_layout Standard
333 One of the most prominent and distinctive features of this style is the
334 extensive use of sidenotes.
335 There is a wide margin to provide ample room for sidenotes and small figures.
336 Any footnotes will automatically be converted to sidenotes.
340 \begin_layout Plain Layout
341 This is a sidenote that was entered using a
350 Alternatively, you can also use directly the sidenote inset.
351 \begin_inset Flex Sidenote
354 \begin_layout Plain Layout
355 This is a sidenote that was entered using a
367 \begin_layout Standard
368 If you like to place ancillary information in the margin without the sidenote
369 mark (the superscript number), you can use the
375 \begin_inset Flex Marginnote
378 \begin_layout Plain Layout
379 This is Tufte's margin note.
380 Notice that there isn't a number preceding the note, and there is no number
381 in the main text where this note was written.
386 The normal margin note will work as well, but it will look rather odd.
387 \begin_inset Marginal
390 \begin_layout Plain Layout
391 This is a normal margin note.
400 \begin_layout Subsection*
404 \begin_layout Standard
405 References are placed alongside their citations as sidenotes, as well.
406 This can be accomplished using the normal citation command.
410 \begin_layout Plain Layout
411 The first paragraph of this document includes a citation.
419 \begin_layout Standard
420 The complete list of references may also be printed automatically by using
423 Insert\SpecialChar \menuseparator
424 Lists/TOC\SpecialChar \menuseparator
431 (see the end of this document for an example.) If you do not want to print
432 a bibliography at the end of your document, use the LaTeX command
441 \begin_layout Section*
443 \begin_inset CommandInset label
445 name "sec:figures-and-tables"
452 \begin_layout Standard
453 Images and graphics play an integral role in Tufte's work.
454 In addition to the standard
462 floats, this class provides special figure and table environments for full-widt
466 \begin_layout Standard
467 Full page width figures and tables can be produced by using figure or table
473 To place figures or tables in the margin, use the
486 \begin_inset CommandInset ref
488 reference "fig:marginfig"
493 \begin_inset Note Note
496 \begin_layout Plain Layout
497 Note: unfortunately, the counting inside the LyX view is wrong.
498 Margin floats and normal floats are counted differently, whereas the use
499 the same counter in the output.
505 \begin_inset Float marginfigure
510 \begin_layout Plain Layout
511 \begin_inset Box Boxed
520 height_special "totalheight"
523 \begin_layout Plain Layout
525 replace the box by your figure!
533 \begin_layout Plain Layout
536 \begin_layout Plain Layout
537 This is a margin figure.
538 The figure will be put in the margin.
539 \begin_inset CommandInset label
558 \begin_layout Standard
564 \begin_inset CommandInset ref
566 reference "fig:fullfig"
570 is an example of the wide figure float and figure
575 \begin_inset CommandInset ref
577 reference "fig:textfig"
581 is an example of the normal figure float.
583 \begin_inset Float figure
588 \begin_layout Plain Layout
589 \begin_inset Box Boxed
598 height_special "totalheight"
601 \begin_layout Plain Layout
603 replace the box by your figure!
611 \begin_layout Plain Layout
614 \begin_layout Plain Layout
615 This is a wide figure (
622 Notice that this figure takes up the full page width.
625 \begin_inset CommandInset label
644 \begin_layout Standard
645 \begin_inset Float figure
651 \begin_layout Plain Layout
652 \begin_inset Box Boxed
661 height_special "totalheight"
664 \begin_layout Plain Layout
666 replace the box by your figure!
674 \begin_layout Plain Layout
677 \begin_layout Plain Layout
678 This is a normal figure.
681 Notice that this figure only takes up the main textblock width.
684 \begin_inset CommandInset label
703 \begin_layout Standard
709 \begin_inset CommandInset ref
711 reference "tab:normaltab"
715 shows a table created with the
719 package (this is border style
720 \begin_inset Quotes eld
724 \begin_inset Quotes erd
727 in the tabular dialog).
728 Notice the lack of vertical rules---they serve only to clutter the table's
732 \begin_layout Standard
733 \begin_inset Float table
739 \begin_layout Plain Layout
744 \begin_layout Plain Layout
755 <lyxtabular version="3" rows="6" columns="2">
756 <features booktabs="true">
757 <column alignment="left" valignment="top" width="0">
758 <column alignment="left" valignment="top" width="0">
760 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
763 \begin_layout Plain Layout
769 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
772 \begin_layout Plain Layout
780 <cell alignment="left" valignment="top" usebox="none">
783 \begin_layout Plain Layout
789 <cell alignment="left" valignment="top" usebox="none">
792 \begin_layout Plain Layout
796 \begin_layout Plain Layout
809 \begin_layout Plain Layout
817 \begin_inset Formula $\nicefrac{1}{2}$
824 \begin_layout Plain Layout
835 \begin_layout Plain Layout
846 \begin_layout Plain Layout
860 <cell alignment="left" valignment="top" usebox="none">
863 \begin_layout Plain Layout
869 <cell alignment="left" valignment="top" usebox="none">
872 \begin_layout Plain Layout
876 \begin_layout Plain Layout
889 \begin_layout Plain Layout
900 \begin_layout Plain Layout
911 \begin_layout Plain Layout
922 \begin_layout Plain Layout
936 <cell alignment="left" valignment="top" usebox="none">
939 \begin_layout Plain Layout
945 <cell alignment="left" valignment="top" usebox="none">
948 \begin_layout Plain Layout
952 \begin_layout Plain Layout
965 \begin_layout Plain Layout
973 \begin_inset Formula $\nicefrac{1}{2}$
980 \begin_layout Plain Layout
991 \begin_layout Plain Layout
1002 \begin_layout Plain Layout
1016 <cell alignment="left" valignment="top" usebox="none">
1019 \begin_layout Plain Layout
1020 Textblock/sidenote gutter
1025 <cell alignment="left" valignment="top" usebox="none">
1028 \begin_layout Plain Layout
1032 \begin_layout Plain Layout
1045 \begin_layout Plain Layout
1053 \begin_inset Formula $\nicefrac{3}{8}$
1060 \begin_layout Plain Layout
1071 \begin_layout Plain Layout
1082 \begin_layout Plain Layout
1096 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
1099 \begin_layout Plain Layout
1105 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
1108 \begin_layout Plain Layout
1112 \begin_layout Plain Layout
1125 \begin_layout Plain Layout
1136 \begin_layout Plain Layout
1147 \begin_layout Plain Layout
1158 \begin_layout Plain Layout
1178 \begin_layout Plain Layout
1179 \begin_inset Caption
1181 \begin_layout Plain Layout
1182 Here are the dimensions of the various margins used in the
1187 \begin_inset CommandInset label
1189 name "tab:normaltab"
1206 \begin_layout Section*
1207 Full-width text blocks
1210 \begin_layout Standard
1211 In addition to the new float types, there is a
1215 environment that stretches across the main text block and the sidenotes
1216 area and ragged left:
1219 \begin_layout Full Width
1220 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
1221 Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis.
1222 Curabitur dictum gravida mauris.
1223 Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
1224 Donec vehicula augue eu neque.
1225 Pellentesque habitant morbi tristique senectus et netus et malesuada fames
1228 Cras viverra metus rhoncus sem.
1229 Nulla et lectus vestibulum urna fringilla ultrices.
1230 Phasellus eu tellus sit amet tortor gravida placerat.
1231 Integer sapien est, iaculis in, pretium quis, viverra ac, nunc.
1232 Praesent eget sem vel leo ultrices bibendum.
1234 Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla.
1235 Curabitur auctor semper nulla.
1236 Donec varius orci eget risus.
1237 Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
1238 Duis eget orci sit amet orci dignissim rutrum.
1245 \begin_layout Section*
1247 \begin_inset CommandInset label
1249 name "sec:typography"
1256 \begin_layout Subsection*
1258 \begin_inset CommandInset label
1260 name "sec:typefaces"
1267 \begin_layout Standard
1276 typefaces are installed, this style will use them automatically.
1277 Otherwise, we'll fall back on the
1284 \begin_layout Subsection*
1286 \begin_inset CommandInset label
1288 name "sec:letterspacing"
1295 \begin_layout Standard
1296 This document class includes two new character styles and some improvements
1297 on existing commands for letterspacing.
1300 \begin_layout Standard
1301 When setting strings of
1302 \begin_inset Flex AllCaps
1305 \begin_layout Plain Layout
1312 \begin_inset Flex SmallCaps
1315 \begin_layout Plain Layout
1321 , the letterspacing---that is, the spacing between the letters---should
1322 be increased slightly.
1323 \begin_inset CommandInset citation
1325 key "Bringhurst2005"
1335 Edit\SpecialChar \menuseparator
1336 TextStyle\SpecialChar \menuseparator
1339 ) has proper letterspacing for strings of
1340 \begin_inset Flex AllCaps
1343 \begin_layout Plain Layout
1344 FULL CAPITAL LETTERS
1355 Edit\SpecialChar \menuseparator
1356 TextStyle\SpecialChar \menuseparator
1359 ) has letterspacing for
1360 \begin_inset Flex SmallCaps
1363 \begin_layout Plain Layout
1364 small capital letters
1370 These commands will also automatically convert the case of the text to
1371 upper- or lowercase, respectively.
1374 \begin_layout Standard
1379 shape has also been redefined to include letterspacing.
1380 Its case is left as is, however.
1381 This allows one to use both uppercase and lowercase letters:
1383 The Initial Letters Of The Words In This Sentence Are Capitalized.
1386 \begin_layout Section*
1388 \begin_inset CommandInset label
1390 name "sec:customization"
1397 \begin_layout Subsection*
1398 Document class options
1399 \begin_inset CommandInset label
1408 \begin_layout Standard
1413 class is based on the
1418 Therefore, you can pass any of the typical article options.
1419 There are a few options that are specific to the
1423 document class, however.
1426 \begin_layout Itemize
1431 option will set the paper size to A4 instead of the default US letter size.
1434 \begin_layout Itemize
1439 option will set the sidenotes in a
1443 typeface instead of the default roman.
1446 \begin_layout Itemize
1451 option will modify the running heads so that the page number is printed
1452 on the outside edge (as opposed to always printing the page number on the
1460 \begin_layout Itemize
1465 option typesets the sidenotes on the outside edge of the page.
1466 This is how books are traditionally printed, but is contrary to Tufte's
1467 book design which sets the sidenotes on the right side of the page.
1468 This option implicitly sets the
1475 \begin_layout Itemize
1480 option sets all the text fully justified (flush left and right).
1481 The default is to set the text ragged right.
1482 The body text of Tufte's books are set ragged right.
1483 This prevents needless hyphenation and makes it easier to read the text
1484 in the slightly narrower column.
1487 \begin_layout Subsection*
1488 Defining new sections
1489 \begin_inset CommandInset label
1491 name "sec:defining-sections"
1498 \begin_layout Standard
1499 As mentioned on page
1500 \begin_inset space ~
1504 \begin_inset CommandInset ref
1505 LatexCommand pageref
1506 reference "sec:headings"
1514 document class only defines
1525 \begin_layout Standard
1526 If you wanted to define, say, a
1530 heading, you could do it as follows:
1533 \begin_layout LyX-Code
1539 \begin_layout LyX-Code
1547 \begin_layout LyX-Code
1550 @startsection{paragraph}% the name of the new section
1553 \begin_layout LyX-Code
1554 {4}% the section level number
1557 \begin_layout LyX-Code
1558 {0em}% indentation amount
1561 \begin_layout LyX-Code
1564 baselineskip}% amount of space to leave before heading
1567 \begin_layout LyX-Code
1568 {-1.5em}% amount of space to leave after heading
1571 \begin_layout LyX-Code
1579 \begin_layout LyX-Code
1583 \begin_layout LyX-Code
1589 \begin_layout Standard
1592 Document\SpecialChar \menuseparator
1593 Settings\SpecialChar \menuseparator
1596 and you'll now be able to use
1605 \begin_layout Standard
1606 For more details on defining section levels, see
1609 \begin_inset space \space{}
1615 \begin_inset CommandInset citation
1617 key "Mittelbach2004"
1628 \begin_layout Section*
1630 \begin_inset CommandInset label
1639 \begin_layout Subsection*
1640 Package Dependencies
1641 \begin_inset CommandInset label
1643 name "sec:dependencies"
1650 \begin_layout Standard
1651 The following is a list of packages that the
1655 document class relies upon.
1656 Packages marked with an asterisk are optional.
1659 \begin_layout Itemize
1663 \begin_layout Itemize
1667 \begin_layout Itemize
1671 \begin_layout Itemize
1675 \begin_layout Itemize
1679 \begin_layout Itemize
1683 \begin_layout Itemize
1687 \begin_layout Itemize
1691 \begin_layout Itemize
1695 \begin_layout Itemize
1699 \begin_layout Itemize
1703 \begin_layout Itemize
1707 \begin_layout Itemize
1711 \begin_layout Itemize
1715 \begin_layout Subsection*
1717 \begin_inset space \space{}
1721 \begin_inset CommandInset label
1730 \begin_layout Standard
1731 The website for the Tufte-LaTeX
1732 \begin_inset space \space{}
1735 packages is located at
1736 \begin_inset Flex URL
1739 \begin_layout Plain Layout
1741 http://code.google.com/p/tufte-latex/
1747 On our website, you'll find links to our
1748 \begin_inset Flex SmallCaps
1751 \begin_layout Plain Layout
1757 repository, mailing lists, bug tracker, and documentation.
1760 \begin_layout Standard
1761 \begin_inset CommandInset bibtex
1763 bibfiles "biblioExample"