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 X 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 , both numbered and non-numbered), as 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 the
354 inset directly; you'll find it in the
356 Insert\SpecialChar \menuseparator
360 \begin_inset Flex Sidenote
363 \begin_layout Plain Layout
364 This is a sidenote that was entered using a
376 \begin_layout Standard
377 If you like to place ancillary information in the margin without the sidenote
378 mark (the superscript number), you can use the
384 \begin_inset Flex Marginnote
387 \begin_layout Plain Layout
388 This is Tufte's margin note.
389 Notice that there isn't a number preceding the note, and there is no number
390 in the main text where this note was written.
395 The normal margin note will work as well, but it will look rather odd.
396 \begin_inset Marginal
399 \begin_layout Plain Layout
400 This is a normal margin note.
409 \begin_layout Subsection*
413 \begin_layout Standard
414 References are placed alongside their citations as sidenotes, as well.
415 This can be accomplished using the normal citation command.
419 \begin_layout Plain Layout
420 The first paragraph of this document includes a citation.
428 \begin_layout Standard
429 The complete list of references may also be printed automatically by using
432 Insert\SpecialChar \menuseparator
433 Lists/TOC\SpecialChar \menuseparator
440 (see the end of this document for an example.) If you do not want to print
441 a bibliography at the end of your document, place the
449 inset inside a LyX note and use the LaTeX command
458 \begin_layout Section*
460 \begin_inset CommandInset label
462 name "sec:figures-and-tables"
469 \begin_layout Standard
470 Images and graphics play an integral role in Tufte's work.
471 In addition to the standard
479 floats, this class provides special figure and table environments for full-widt
483 \begin_layout Standard
484 Full page width figures and tables can be produced by using figure or table
490 To place figures or tables in the margin, use the
503 \begin_inset CommandInset ref
505 reference "fig:marginfig"
510 \begin_inset Note Note
513 \begin_layout Plain Layout
514 Note: unfortunately, the counting inside the LyX view is wrong.
515 Margin floats and normal floats are counted differently, whereas the use
516 the same counter in the output.
522 \begin_inset Float marginfigure
527 \begin_layout Plain Layout
528 \begin_inset Box Boxed
537 height_special "totalheight"
540 \begin_layout Plain Layout
542 replace the box by your figure!
550 \begin_layout Plain Layout
553 \begin_layout Plain Layout
554 This is a margin figure.
555 The figure will be put in the margin.
556 \begin_inset CommandInset label
575 \begin_layout Standard
581 \begin_inset CommandInset ref
583 reference "fig:fullfig"
587 is an example of the wide figure float and figure
592 \begin_inset CommandInset ref
594 reference "fig:textfig"
598 is an example of the normal figure float.
600 \begin_inset Float figure
605 \begin_layout Plain Layout
606 \begin_inset Box Boxed
615 height_special "totalheight"
618 \begin_layout Plain Layout
620 replace the box by your figure!
628 \begin_layout Plain Layout
631 \begin_layout Plain Layout
632 This is a wide figure (
639 Notice that this figure takes up the full page width.
642 \begin_inset CommandInset label
661 \begin_layout Standard
662 \begin_inset Float figure
668 \begin_layout Plain Layout
669 \begin_inset Box Boxed
678 height_special "totalheight"
681 \begin_layout Plain Layout
683 replace the box by your figure!
691 \begin_layout Plain Layout
694 \begin_layout Plain Layout
695 This is a normal figure.
698 Notice that this figure only takes up the main textblock width.
701 \begin_inset CommandInset label
720 \begin_layout Standard
726 \begin_inset CommandInset ref
728 reference "tab:normaltab"
732 shows a table created with the
736 package (this is border style
737 \begin_inset Quotes eld
741 \begin_inset Quotes erd
744 in the tabular dialog).
745 Notice the lack of vertical rules---they serve only to clutter the table's
749 \begin_layout Standard
750 \begin_inset Float table
756 \begin_layout Plain Layout
761 \begin_layout Plain Layout
772 <lyxtabular version="3" rows="6" columns="2">
773 <features booktabs="true">
774 <column alignment="left" valignment="top" width="0">
775 <column alignment="left" valignment="top" width="0">
777 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
780 \begin_layout Plain Layout
786 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
789 \begin_layout Plain Layout
797 <cell alignment="left" valignment="top" usebox="none">
800 \begin_layout Plain Layout
806 <cell alignment="left" valignment="top" usebox="none">
809 \begin_layout Plain Layout
813 \begin_layout Plain Layout
826 \begin_layout Plain Layout
834 \begin_inset Formula $\nicefrac{1}{2}$
841 \begin_layout Plain Layout
852 \begin_layout Plain Layout
863 \begin_layout Plain Layout
877 <cell alignment="left" valignment="top" usebox="none">
880 \begin_layout Plain Layout
886 <cell alignment="left" valignment="top" usebox="none">
889 \begin_layout Plain Layout
893 \begin_layout Plain Layout
906 \begin_layout Plain Layout
917 \begin_layout Plain Layout
928 \begin_layout Plain Layout
939 \begin_layout Plain Layout
953 <cell alignment="left" valignment="top" usebox="none">
956 \begin_layout Plain Layout
962 <cell alignment="left" valignment="top" usebox="none">
965 \begin_layout Plain Layout
969 \begin_layout Plain Layout
982 \begin_layout Plain Layout
990 \begin_inset Formula $\nicefrac{1}{2}$
997 \begin_layout Plain Layout
1008 \begin_layout Plain Layout
1019 \begin_layout Plain Layout
1033 <cell alignment="left" valignment="top" usebox="none">
1036 \begin_layout Plain Layout
1037 Textblock/sidenote gutter
1042 <cell alignment="left" valignment="top" usebox="none">
1045 \begin_layout Plain Layout
1049 \begin_layout Plain Layout
1062 \begin_layout Plain Layout
1070 \begin_inset Formula $\nicefrac{3}{8}$
1077 \begin_layout Plain Layout
1088 \begin_layout Plain Layout
1099 \begin_layout Plain Layout
1113 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
1116 \begin_layout Plain Layout
1122 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
1125 \begin_layout Plain Layout
1129 \begin_layout Plain Layout
1142 \begin_layout Plain Layout
1153 \begin_layout Plain Layout
1164 \begin_layout Plain Layout
1175 \begin_layout Plain Layout
1195 \begin_layout Plain Layout
1196 \begin_inset Caption
1198 \begin_layout Plain Layout
1199 Here are the dimensions of the various margins used in the
1204 \begin_inset CommandInset label
1206 name "tab:normaltab"
1223 \begin_layout Section*
1224 Full-width text blocks
1227 \begin_layout Standard
1228 In addition to the new float types, there is a
1232 environment that stretches across the main text block and the sidenotes
1233 area and ragged left:
1236 \begin_layout Full Width
1237 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
1238 Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis.
1239 Curabitur dictum gravida mauris.
1240 Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
1241 Donec vehicula augue eu neque.
1242 Pellentesque habitant morbi tristique senectus et netus et malesuada fames
1245 Cras viverra metus rhoncus sem.
1246 Nulla et lectus vestibulum urna fringilla ultrices.
1247 Phasellus eu tellus sit amet tortor gravida placerat.
1248 Integer sapien est, iaculis in, pretium quis, viverra ac, nunc.
1249 Praesent eget sem vel leo ultrices bibendum.
1251 Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla.
1252 Curabitur auctor semper nulla.
1253 Donec varius orci eget risus.
1254 Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
1255 Duis eget orci sit amet orci dignissim rutrum.
1262 \begin_layout Section*
1264 \begin_inset CommandInset label
1266 name "sec:typography"
1273 \begin_layout Subsection*
1275 \begin_inset CommandInset label
1277 name "sec:typefaces"
1284 \begin_layout Standard
1293 typefaces are installed, this style will use them automatically.
1294 Otherwise, we'll fall back on the
1301 \begin_layout Subsection*
1303 \begin_inset CommandInset label
1305 name "sec:letterspacing"
1312 \begin_layout Standard
1313 This document class includes two new character styles and some improvements
1314 on existing commands for letterspacing.
1317 \begin_layout Standard
1318 When setting strings of
1319 \begin_inset Flex AllCaps
1322 \begin_layout Plain Layout
1329 \begin_inset Flex SmallCaps
1332 \begin_layout Plain Layout
1338 , the letterspacing---that is, the spacing between the letters---should
1339 be increased slightly.
1340 \begin_inset CommandInset citation
1342 key "Bringhurst2005"
1352 Edit\SpecialChar \menuseparator
1353 TextStyle\SpecialChar \menuseparator
1356 ) has proper letterspacing for strings of
1357 \begin_inset Flex AllCaps
1360 \begin_layout Plain Layout
1361 FULL CAPITAL LETTERS
1372 Edit\SpecialChar \menuseparator
1373 TextStyle\SpecialChar \menuseparator
1376 ) has letterspacing for
1377 \begin_inset Flex SmallCaps
1380 \begin_layout Plain Layout
1381 small capital letters
1387 These commands will also automatically convert the case of the text to
1388 upper- or lowercase, respectively.
1391 \begin_layout Standard
1396 shape has also been redefined to include letterspacing.
1397 Its case is left as is, however.
1398 This allows one to use both uppercase and lowercase letters:
1400 The Initial Letters Of The Words In This Sentence Are Capitalized.
1403 \begin_layout Section*
1405 \begin_inset CommandInset label
1407 name "sec:customization"
1414 \begin_layout Subsection*
1415 Document class options
1416 \begin_inset CommandInset label
1425 \begin_layout Standard
1430 class is based on the
1435 Therefore, you can pass any of the typical article options.
1436 There are a few options that are specific to the
1440 document class, however.
1443 \begin_layout Itemize
1448 option will set the paper size to A4 instead of the default US letter size.
1451 \begin_layout Itemize
1456 option will set the sidenotes in a
1460 typeface instead of the default roman.
1463 \begin_layout Itemize
1468 option will modify the running heads so that the page number is printed
1469 on the outside edge (as opposed to always printing the page number on the
1477 \begin_layout Itemize
1482 option typesets the sidenotes on the outside edge of the page.
1483 This is how books are traditionally printed, but is contrary to Tufte's
1484 book design which sets the sidenotes on the right side of the page.
1485 This option implicitly sets the
1492 \begin_layout Itemize
1497 option sets all the text fully justified (flush left and right).
1498 The default is to set the text ragged right.
1499 The body text of Tufte's books are set ragged right.
1500 This prevents needless hyphenation and makes it easier to read the text
1501 in the slightly narrower column.
1504 \begin_layout Subsection*
1505 Defining new sections
1506 \begin_inset CommandInset label
1508 name "sec:defining-sections"
1515 \begin_layout Standard
1516 As mentioned on page
1517 \begin_inset space ~
1521 \begin_inset CommandInset ref
1522 LatexCommand pageref
1523 reference "sec:headings"
1531 document class only defines
1542 \begin_layout Standard
1543 If you want to define, say, a
1547 heading, you could do it as follows:
1550 \begin_layout LyX-Code
1556 \begin_layout LyX-Code
1564 \begin_layout LyX-Code
1567 @startsection{paragraph}% the name of the new section
1570 \begin_layout LyX-Code
1571 {4}% the section level number
1574 \begin_layout LyX-Code
1575 {0em}% indentation amount
1578 \begin_layout LyX-Code
1581 baselineskip}% amount of space to leave before heading
1584 \begin_layout LyX-Code
1585 {-1.5em}% amount of space to leave after heading
1588 \begin_layout LyX-Code
1596 \begin_layout LyX-Code
1600 \begin_layout LyX-Code
1606 \begin_layout Standard
1609 Document\SpecialChar \menuseparator
1610 Settings\SpecialChar \menuseparator
1613 and you'll now be able to use
1622 \begin_layout Standard
1623 For more details on defining section levels, see
1626 \begin_inset space \space{}
1632 \begin_inset CommandInset citation
1645 \begin_layout Section*
1647 \begin_inset CommandInset label
1656 \begin_layout Subsection*
1657 Package Dependencies
1658 \begin_inset CommandInset label
1660 name "sec:dependencies"
1667 \begin_layout Standard
1668 The following is a list of packages that the
1672 document class relies upon.
1673 Packages marked with an asterisk are optional.
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 Itemize
1712 \begin_layout Itemize
1716 \begin_layout Itemize
1720 \begin_layout Itemize
1724 \begin_layout Itemize
1728 \begin_layout Itemize
1732 \begin_layout Subsection*
1734 \begin_inset space \space{}
1738 \begin_inset CommandInset label
1747 \begin_layout Standard
1748 The website for the Tufte-LaTeX
1749 \begin_inset space \space{}
1752 packages is located at
1753 \begin_inset Flex URL
1756 \begin_layout Plain Layout
1758 http://code.google.com/p/tufte-latex/
1764 On this website, you'll find links to the
1765 \begin_inset Flex SmallCaps
1768 \begin_layout Plain Layout
1774 repository of the tufte-latex project, mailing lists, bug tracker, and
1778 \begin_layout Standard
1779 \begin_inset CommandInset bibtex
1781 bibfiles "biblioExample"