1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
5 \textclass tufte-handout
6 \use_default_options true
7 \maintain_unincluded_children false
9 \language_package default
14 \font_typewriter default
16 \font_default_family default
17 \use_non_tex_fonts false
23 \default_output_format pdf2
25 \bibtex_command bibtex
26 \index_command default
27 \paperfontsize default
31 \pdf_bookmarksnumbered true
32 \pdf_bookmarksopen true
33 \pdf_bookmarksopenlevel 1
41 \use_package amsmath 1
42 \use_package amssymb 1
45 \use_package mathdots 1
46 \use_package mathtools 0
48 \use_package stackrel 0
49 \use_package stmaryrd 0
50 \use_package undertilde 0
52 \cite_engine_type default
56 \paperorientation portrait
60 \notefontcolor #0000ff
67 \paragraph_separation indent
68 \paragraph_indentation default
69 \quotes_language english
72 \paperpagestyle default
73 \tracking_changes false
82 \begin_layout Standard
83 \begin_inset Note Note
86 \begin_layout Plain Layout
91 : To be able to view your file as PDF you must have the LaTeX-package
95 installed to your LaTeX system.
96 If you are using MiKTeX, you will automatically be asked to install this
97 package when previewing your file, if you are using TeXLive, use TeXLive's
101 \begin_layout Plain Layout
106 : If you wish to compile to PDF with plain LaTeX (instead of pdfTeX), there
107 is currently a bug in the Tufte class that causes errors.
108 You can add the class option 'nols' (put this in the
109 \begin_inset Quotes eld
113 \begin_inset Quotes erd
116 field of Document\SpecialChar \menuseparator
117 Settings \SpecialChar \menuseparator
118 Document Class) to get rid of the errors, but
119 this also removes letterspacing, an important part of the Tufte design.
127 \begin_layout Standard
128 \begin_inset Note Note
131 \begin_layout Plain Layout
136 is left out, the current date will be used.
145 An Example of the Usage of the Tufte-Handout Style
153 \begin_layout Plain Layout
160 X Developers and The Ly
164 \begin_layout Plain Layout
174 \begin_layout Abstract
176 This document describes the
180 LaTeX document style.
181 It also provides examples and comments on the style's use.
182 It is based on the example file shiped with
186 , but adapted for the use with LyX.
189 \begin_layout Standard
198 \begin_layout Plain Layout
201 \begin_inset Flex URL
204 \begin_layout Plain Layout
206 http://ctan.org/tex-archive/macros/latex/contrib/tufte-latex
216 defines a style similar to the style
220 uses in his books and handouts.
221 Tufte's style is known for its extensive use of sidenotes, tight integration
222 of graphics with text, and well-set typography.
223 This document aims to be at once a demonstration of the features of the
228 document class and a style guide to its use.
235 \begin_layout Section
239 \begin_layout Subsection
240 Headings and paragraph design
241 \begin_inset CommandInset label
250 \begin_layout Standard
267 , both numbered and non-numbered), as demonstrated above.
270 \begin_layout Standard
271 If you need more than two levels of section headings, you'll have to define
272 them yourself at the moment;
276 \begin_layout Plain Layout
278 \begin_inset Quotes eld
281 Defining new sections
282 \begin_inset Quotes erd
290 \begin_inset CommandInset ref
292 reference "sec:defining-sections"
296 for help with defining more heading levels.
301 there are no pre-defined styles for anything below a
312 The Elements of Typographic Style
315 \begin_inset CommandInset citation
322 \begin_inset Quotes eld
325 use as many levels of headings as you need: no more, and no fewer.
326 \begin_inset Quotes erd
332 \begin_layout Standard
333 \begin_inset Flex NewThought
336 \begin_layout Plain Layout
343 \begin_inset CommandInset citation
349 Tufte starts each section with a bit of vertical space, a non-indented
350 paragraph, and sets the first few words of the sentence in
355 To accomplish this, use the
361 Edit\SpecialChar \menuseparator
362 TextStyle\SpecialChar \menuseparator
368 \begin_layout Subsection
372 \begin_layout Standard
373 One of the most prominent and distinctive features of this style is the
374 extensive use of sidenotes.
375 There is a wide margin to provide ample room for sidenotes and small figures.
376 Any footnotes will automatically be converted to sidenotes.
380 \begin_layout Plain Layout
381 This is a sidenote that was entered using a
390 Alternatively, you can also use the
394 inset directly; you'll find it in the
396 Insert\SpecialChar \menuseparator
400 \begin_inset Flex Sidenote
403 \begin_layout Plain Layout
404 This is a sidenote that was entered using a
416 \begin_layout Standard
417 If you like to place ancillary information in the margin without the sidenote
418 mark (the superscript number), you can use the
424 \begin_inset Flex Marginnote
427 \begin_layout Plain Layout
428 This is Tufte's margin note.
429 Notice that there isn't a number preceding the note, and there is no number
430 in the main text where this note was written.
435 The normal margin note will work as well, but it will look rather odd.
436 \begin_inset Marginal
439 \begin_layout Plain Layout
440 This is a normal margin note.
449 \begin_layout Subsection
453 \begin_layout Standard
454 References are placed alongside their citations as sidenotes, as well.
455 This can be accomplished using the normal citation command.
459 \begin_layout Plain Layout
460 The first paragraph of this document includes a citation.
468 \begin_layout Standard
469 The complete list of references may also be printed automatically by using
472 Insert\SpecialChar \menuseparator
473 Lists/TOC\SpecialChar \menuseparator
480 (see the end of this document for an example.) If you do not want to print
481 a bibliography at the end of your document, place the
489 inset inside a LyX note and use the LaTeX command
498 \begin_layout Section
502 \begin_layout Standard
503 Images and graphics play an integral role in Tufte's work.
504 In addition to the standard
512 floats, this class provides special figure and table environments for full-widt
516 \begin_layout Standard
517 Full page width figures and tables can be produced by using figure or table
523 To place figures or tables in the margin, use the
536 \begin_inset CommandInset ref
538 reference "fig:marginfig"
543 \begin_inset Note Note
546 \begin_layout Plain Layout
547 Note: unfortunately, the counting inside the LyX view is wrong.
548 Margin floats and normal floats are counted differently, whereas the use
549 the same counter in the output.
555 \begin_inset Float marginfigure
560 \begin_layout Plain Layout
561 \begin_inset Box Boxed
571 height_special "totalheight"
574 \begin_layout Plain Layout
576 replace the box by your figure!
584 \begin_layout Plain Layout
585 \begin_inset Caption Standard
587 \begin_layout Plain Layout
588 This is a margin figure.
589 The figure will be put in the margin.
590 \begin_inset CommandInset label
609 \begin_layout Standard
610 \begin_inset Note Greyedout
613 \begin_layout Plain Layout
618 If you are using margin figures or tables you must use the default float
619 placement option in the document settings under
635 \begin_layout Standard
641 \begin_inset CommandInset ref
643 reference "fig:fullfig"
647 is an example of the wide figure float and figure
652 \begin_inset CommandInset ref
654 reference "fig:textfig"
658 is an example of the normal figure float.
660 \begin_inset Float figure
665 \begin_layout Plain Layout
666 \begin_inset Box Boxed
676 height_special "totalheight"
679 \begin_layout Plain Layout
681 replace the box by your figure!
689 \begin_layout Plain Layout
690 \begin_inset Caption Standard
692 \begin_layout Plain Layout
693 This is a wide figure (
700 Notice that this figure takes up the full page width.
703 \begin_inset CommandInset label
722 \begin_layout Standard
723 \begin_inset VSpace 6theight%
729 \begin_layout Standard
730 \begin_inset Float figure
736 \begin_layout Plain Layout
737 \begin_inset Box Boxed
747 height_special "totalheight"
750 \begin_layout Plain Layout
752 replace the box by your figure!
760 \begin_layout Plain Layout
761 \begin_inset Caption Standard
763 \begin_layout Plain Layout
764 This is a normal figure.
767 Notice that this figure only takes up the main textblock width.
770 \begin_inset CommandInset label
789 \begin_layout Standard
795 \begin_inset CommandInset ref
797 reference "tab:normaltab"
801 shows a table created with the
805 package (this is border style
806 \begin_inset Quotes eld
810 \begin_inset Quotes erd
813 in the tabular dialog).
814 Notice the lack of vertical rules---they serve only to clutter the table's
818 \begin_layout Standard
819 \begin_inset Float table
825 \begin_layout Plain Layout
828 <lyxtabular version="3" rows="6" columns="2">
829 <features rotate="0" booktabs="true" tabularvalignment="middle">
830 <column alignment="left" valignment="top">
831 <column alignment="left" valignment="top">
833 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
836 \begin_layout Plain Layout
842 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
845 \begin_layout Plain Layout
853 <cell alignment="left" valignment="top" usebox="none">
856 \begin_layout Plain Layout
862 <cell alignment="left" valignment="top" usebox="none">
865 \begin_layout Plain Layout
866 \begin_inset Formula $\unit[8\nicefrac{1}{2}]{inches}$
876 <cell alignment="left" valignment="top" usebox="none">
879 \begin_layout Plain Layout
885 <cell alignment="left" valignment="top" usebox="none">
888 \begin_layout Plain Layout
889 \begin_inset Formula $\unit[11]{inches}$
899 <cell alignment="left" valignment="top" usebox="none">
902 \begin_layout Plain Layout
908 <cell alignment="left" valignment="top" usebox="none">
911 \begin_layout Plain Layout
912 \begin_inset Formula $\unit[6\nicefrac{1}{2}]{inches}$
922 <cell alignment="left" valignment="top" usebox="none">
925 \begin_layout Plain Layout
926 Textblock/sidenote gutter
931 <cell alignment="left" valignment="top" usebox="none">
934 \begin_layout Plain Layout
935 \begin_inset Formula $\unit[\nicefrac{3}{8}]{inches}$
945 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
948 \begin_layout Plain Layout
954 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
957 \begin_layout Plain Layout
958 \begin_inset Formula $\unit[2]{inches}$
974 \begin_layout Plain Layout
975 \begin_inset Caption Standard
977 \begin_layout Plain Layout
978 Here are the dimensions of the various margins used in the
983 \begin_inset CommandInset label
1002 \begin_layout Section
1003 Full-width text blocks
1006 \begin_layout Standard
1007 In addition to the new float types, there is a
1011 environment that stretches across the main text block and the sidenotes
1012 area and ragged left:
1015 \begin_layout Full Width
1016 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
1017 Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis.
1018 Curabitur dictum gravida mauris.
1019 Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
1020 Donec vehicula augue eu neque.
1021 Pellentesque habitant morbi tristique senectus et netus et malesuada fames
1024 Cras viverra metus rhoncus sem.
1025 Nulla et lectus vestibulum urna fringilla ultrices.
1026 Phasellus eu tellus sit amet tortor gravida placerat.
1027 Integer sapien est, iaculis in, pretium quis, viverra ac, nunc.
1028 Praesent eget sem vel leo ultrices bibendum.
1030 Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla.
1031 Curabitur auctor semper nulla.
1032 Donec varius orci eget risus.
1033 Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
1034 Duis eget orci sit amet orci dignissim rutrum.
1041 \begin_layout Section
1045 \begin_layout Subsection
1049 \begin_layout Standard
1058 typefaces are installed, this style will use them automatically.
1059 Otherwise, we'll fall back on the
1066 \begin_layout Subsection
1070 \begin_layout Standard
1071 This document class includes two new character styles and some improvements
1072 on existing commands for letterspacing.
1075 \begin_layout Standard
1076 When setting strings of
1077 \begin_inset Flex AllCaps
1080 \begin_layout Plain Layout
1087 \begin_inset Flex SmallCaps
1090 \begin_layout Plain Layout
1096 , the letterspacing---that is, the spacing between the letters---should
1097 be increased slightly.
1098 \begin_inset CommandInset citation
1100 key "Bringhurst2005"
1110 Edit\SpecialChar \menuseparator
1111 TextStyle\SpecialChar \menuseparator
1114 ) has proper letterspacing for strings of
1115 \begin_inset Flex AllCaps
1118 \begin_layout Plain Layout
1119 FULL CAPITAL LETTERS
1130 Edit\SpecialChar \menuseparator
1131 TextStyle\SpecialChar \menuseparator
1134 ) has letterspacing for
1135 \begin_inset Flex SmallCaps
1138 \begin_layout Plain Layout
1139 small capital letters
1145 These commands will also automatically convert the case of the text to
1146 upper- or lowercase, respectively.
1149 \begin_layout Standard
1154 shape has also been redefined to include letterspacing.
1155 Its case is left as is, however.
1156 This allows one to use both uppercase and lowercase letters:
1158 The Initial Letters Of The Words In This Sentence Are Capitalized.
1161 \begin_layout Section
1165 \begin_layout Subsection
1166 Document class options
1169 \begin_layout Standard
1174 class is based on the
1179 Therefore, you can pass any of the typical article options.
1180 There are a few options that are specific to the
1184 document class, however.
1187 \begin_layout Itemize
1192 option will set the paper size to A4 instead of the default US letter size.
1195 \begin_layout Itemize
1200 option will set the sidenotes in a
1204 typeface instead of the default roman.
1207 \begin_layout Itemize
1212 option will modify the running heads so that the page number is printed
1213 on the outside edge (as opposed to always printing the page number on the
1221 \begin_layout Itemize
1226 option typesets the sidenotes on the outside edge of the page.
1227 This is how books are traditionally printed, but is contrary to Tufte's
1228 book design which sets the sidenotes on the right side of the page.
1229 This option implicitly sets the
1236 \begin_layout Itemize
1241 option sets all the text fully justified (flush left and right).
1242 The default is to set the text ragged right.
1243 The body text of Tufte's books are set ragged right.
1244 This prevents needless hyphenation and makes it easier to read the text
1245 in the slightly narrower column.
1248 \begin_layout Subsection
1249 Defining new sections
1250 \begin_inset CommandInset label
1252 name "sec:defining-sections"
1259 \begin_layout Standard
1260 As mentioned on page
1261 \begin_inset space ~
1265 \begin_inset CommandInset ref
1266 LatexCommand pageref
1267 reference "sec:headings"
1275 document class only defines
1286 \begin_layout Standard
1287 If you want to define, say, a
1291 heading, you could do it as follows:
1294 \begin_layout LyX-Code
1300 \begin_layout LyX-Code
1308 \begin_layout LyX-Code
1311 @startsection{paragraph}% the name of the new section
1314 \begin_layout LyX-Code
1315 {4}% the section level number
1318 \begin_layout LyX-Code
1319 {0em}% indentation amount
1322 \begin_layout LyX-Code
1325 baselineskip}% amount of space to leave before heading
1328 \begin_layout LyX-Code
1329 {-1.5em}% amount of space to leave after heading
1332 \begin_layout LyX-Code
1340 \begin_layout LyX-Code
1344 \begin_layout LyX-Code
1350 \begin_layout Standard
1353 Document\SpecialChar \menuseparator
1354 Settings\SpecialChar \menuseparator
1357 and you'll now be able to use
1366 \begin_layout Standard
1367 For more details on defining section levels, see
1370 \begin_inset space \space{}
1376 \begin_inset CommandInset citation
1389 \begin_layout Section
1393 \begin_layout Subsection
1394 Package Dependencies
1397 \begin_layout Standard
1398 The following is a list of packages that the
1402 document class relies upon.
1403 Packages marked with an asterisk are optional.
1406 \begin_layout Itemize
1410 \begin_layout Itemize
1414 \begin_layout Itemize
1418 \begin_layout Itemize
1422 \begin_layout Itemize
1426 \begin_layout Itemize
1430 \begin_layout Itemize
1434 \begin_layout Itemize
1438 \begin_layout Itemize
1442 \begin_layout Itemize
1446 \begin_layout Itemize
1450 \begin_layout Itemize
1454 \begin_layout Itemize
1458 \begin_layout Itemize
1462 \begin_layout Subsection
1464 \begin_inset space \space{}
1470 \begin_layout Standard
1471 The website for the Tufte-LaTeX
1472 \begin_inset space \space{}
1475 packages is located at
1476 \begin_inset Flex URL
1479 \begin_layout Plain Layout
1481 http://code.google.com/p/tufte-latex/
1487 On this website, you'll find links to the
1488 \begin_inset Flex SmallCaps
1491 \begin_layout Plain Layout
1497 repository of the tufte-latex project, mailing lists, bug tracker, and
1501 \begin_layout Standard
1502 \begin_inset CommandInset bibtex
1504 bibfiles "biblioExample"