1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
7 \textclass tufte-handout
8 \use_default_options true
9 \maintain_unincluded_children false
11 \language_package default
14 \font_roman "default" "default"
15 \font_sans "helvet" "default"
16 \font_typewriter "default" "default"
17 \font_math "auto" "auto"
18 \font_default_family default
19 \use_non_tex_fonts false
22 \font_sf_scale 100 100
23 \font_tt_scale 100 100
25 \default_output_format pdf2
27 \bibtex_command bibtex
28 \index_command default
29 \paperfontsize default
33 \pdf_bookmarksnumbered true
34 \pdf_bookmarksopen true
35 \pdf_bookmarksopenlevel 1
43 \use_package amsmath 1
44 \use_package amssymb 1
47 \use_package mathdots 1
48 \use_package mathtools 0
50 \use_package stackrel 0
51 \use_package stmaryrd 0
52 \use_package undertilde 0
54 \cite_engine_type default
58 \paperorientation portrait
62 \notefontcolor #0000ff
69 \paragraph_separation indent
70 \paragraph_indentation default
71 \quotes_language english
74 \paperpagestyle default
75 \tracking_changes false
84 \begin_layout Standard
85 \begin_inset Note Note
88 \begin_layout Plain Layout
93 : To be able to view your file as PDF you must have the \SpecialChar LaTeX
98 installed to your \SpecialChar LaTeX
100 If you are using MiK\SpecialChar TeX
101 , you will automatically be asked to install this package
102 when previewing your file, if you are using \SpecialChar TeX
103 Live, use \SpecialChar TeX
104 Live's package manager.
107 \begin_layout Plain Layout
112 : If you wish to compile to PDF with plain \SpecialChar LaTeX
113 (instead of pdf\SpecialChar TeX
114 ), there is currently
115 a bug in the Tufte class that causes errors.
116 You can add the class option 'nols' (put this in the
117 \begin_inset Quotes eld
121 \begin_inset Quotes erd
124 field of Document\SpecialChar menuseparator
125 Settings \SpecialChar menuseparator
126 Document Class) to get rid of the errors, but
127 this also removes letterspacing, an important part of the Tufte design.
135 \begin_layout Standard
136 \begin_inset Note Note
139 \begin_layout Plain Layout
144 is left out, the current date will be used.
153 An Example of the Usage of the Tufte-Handout Style
157 Tufte-LaTeX Developers and The LyX Team
160 \begin_layout Abstract
162 This document describes the
168 It also provides examples and comments on the style's use.
169 It is based on the example file shiped with
173 , but adapted for the use with \SpecialChar LyX
177 \begin_layout Standard
186 \begin_layout Plain Layout
189 \begin_inset Flex URL
192 \begin_layout Plain Layout
194 http://ctan.org/tex-archive/macros/latex/contrib/tufte-latex
204 defines a style similar to the style
208 uses in his books and handouts.
209 Tufte's style is known for its extensive use of sidenotes, tight integration
210 of graphics with text, and well-set typography.
211 This document aims to be at once a demonstration of the features of the
216 document class and a style guide to its use.
223 \begin_layout Section
227 \begin_layout Subsection
228 Headings and paragraph design
229 \begin_inset CommandInset label
238 \begin_layout Standard
255 , both numbered and non-numbered), as demonstrated above.
258 \begin_layout Standard
259 If you need more than two levels of section headings, you'll have to define
260 them yourself at the moment;
264 \begin_layout Plain Layout
266 \begin_inset Quotes eld
269 Defining new sections
270 \begin_inset Quotes erd
278 \begin_inset CommandInset ref
280 reference "sec:defining-sections"
284 for help with defining more heading levels.
289 there are no pre-defined styles for anything below a
300 The Elements of Typographic Style
303 \begin_inset CommandInset citation
310 \begin_inset Quotes eld
313 use as many levels of headings as you need: no more, and no fewer.
314 \begin_inset Quotes erd
320 \begin_layout Standard
321 \begin_inset Flex NewThought
324 \begin_layout Plain Layout
331 \begin_inset CommandInset citation
337 Tufte starts each section with a bit of vertical space, a non-indented
338 paragraph, and sets the first few words of the sentence in
343 To accomplish this, use the
349 Edit\SpecialChar menuseparator
350 TextStyle\SpecialChar menuseparator
356 \begin_layout Subsection
360 \begin_layout Standard
361 One of the most prominent and distinctive features of this style is the
362 extensive use of sidenotes.
363 There is a wide margin to provide ample room for sidenotes and small figures.
364 Any footnotes will automatically be converted to sidenotes.
368 \begin_layout Plain Layout
369 This is a sidenote that was entered using a
378 Alternatively, you can also use the
382 inset directly; you'll find it in the
384 Insert\SpecialChar menuseparator
388 \begin_inset Flex Sidenote
391 \begin_layout Plain Layout
392 This is a sidenote that was entered using a
404 \begin_layout Standard
405 If you like to place ancillary information in the margin without the sidenote
406 mark (the superscript number), you can use the
412 \begin_inset Flex Marginnote
415 \begin_layout Plain Layout
416 This is Tufte's margin note.
417 Notice that there isn't a number preceding the note, and there is no number
418 in the main text where this note was written.
423 The normal margin note will work as well, but it will look rather odd.
424 \begin_inset Marginal
427 \begin_layout Plain Layout
428 This is a normal margin note.
437 \begin_layout Subsection
441 \begin_layout Standard
442 References are placed alongside their citations as sidenotes, as well.
443 This can be accomplished using the normal citation command.
447 \begin_layout Plain Layout
448 The first paragraph of this document includes a citation.
456 \begin_layout Standard
457 The complete list of references may also be printed automatically by using
460 Insert\SpecialChar menuseparator
461 Lists/TOC\SpecialChar menuseparator
469 (see the end of this document for an example.) If you do not want to print
470 a bibliography at the end of your document, place the
479 inset inside a \SpecialChar LyX
480 note and use the \SpecialChar LaTeX
490 \begin_layout Section
494 \begin_layout Standard
495 Images and graphics play an integral role in Tufte's work.
496 In addition to the standard
504 floats, this class provides special figure and table environments for full-widt
508 \begin_layout Standard
509 Full page width figures and tables can be produced by using figure or table
515 To place figures or tables in the margin, use the
528 \begin_inset CommandInset ref
530 reference "fig:marginfig"
535 \begin_inset Note Note
538 \begin_layout Plain Layout
539 Note: unfortunately, the counting inside the \SpecialChar LyX
541 Margin floats and normal floats are counted differently, whereas the use
542 the same counter in the output.
548 \begin_inset Float marginfigure
553 \begin_layout Plain Layout
554 \begin_inset Box Boxed
564 height_special "totalheight"
569 backgroundcolor "none"
572 \begin_layout Plain Layout
574 replace the box by your figure!
582 \begin_layout Plain Layout
583 \begin_inset Caption Standard
585 \begin_layout Plain Layout
586 This is a margin figure.
587 The figure will be put in the margin.
588 \begin_inset CommandInset label
607 \begin_layout Standard
608 \begin_inset Note Greyedout
611 \begin_layout Plain Layout
616 If you are using margin figures or tables you must use the default float
617 placement option in the document settings under
633 \begin_layout Standard
639 \begin_inset CommandInset ref
641 reference "fig:fullfig"
645 is an example of the wide figure float and figure
650 \begin_inset CommandInset ref
652 reference "fig:textfig"
656 is an example of the normal figure float.
658 \begin_inset Float figure
663 \begin_layout Plain Layout
664 \begin_inset Box Boxed
674 height_special "totalheight"
679 backgroundcolor "none"
682 \begin_layout Plain Layout
684 replace the box by your figure!
692 \begin_layout Plain Layout
693 \begin_inset Caption Standard
695 \begin_layout Plain Layout
696 This is a wide figure (
703 Notice that this figure takes up the full page width.
706 \begin_inset CommandInset label
725 \begin_layout Standard
726 \begin_inset VSpace 6theight%
732 \begin_layout Standard
733 \begin_inset Float figure
739 \begin_layout Plain Layout
740 \begin_inset Box Boxed
750 height_special "totalheight"
755 backgroundcolor "none"
758 \begin_layout Plain Layout
760 replace the box by your figure!
768 \begin_layout Plain Layout
769 \begin_inset Caption Standard
771 \begin_layout Plain Layout
772 This is a normal figure.
775 Notice that this figure only takes up the main textblock width.
778 \begin_inset CommandInset label
797 \begin_layout Standard
803 \begin_inset CommandInset ref
805 reference "tab:normaltab"
809 shows a table created with the
813 package (this is border style
814 \begin_inset Quotes eld
818 \begin_inset Quotes erd
821 in the tabular dialog).
822 Notice the lack of vertical rules—they serve only to clutter the table's
826 \begin_layout Standard
827 \begin_inset Float table
833 \begin_layout Plain Layout
836 <lyxtabular version="3" rows="6" columns="2">
837 <features booktabs="true" tabularvalignment="middle">
838 <column alignment="left" valignment="top">
839 <column alignment="left" valignment="top">
841 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
844 \begin_layout Plain Layout
850 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
853 \begin_layout Plain Layout
861 <cell alignment="left" valignment="top" usebox="none">
864 \begin_layout Plain Layout
870 <cell alignment="left" valignment="top" usebox="none">
873 \begin_layout Plain Layout
874 \begin_inset Formula $\unit[8\nicefrac{1}{2}]{inches}$
884 <cell alignment="left" valignment="top" usebox="none">
887 \begin_layout Plain Layout
893 <cell alignment="left" valignment="top" usebox="none">
896 \begin_layout Plain Layout
897 \begin_inset Formula $\unit[11]{inches}$
907 <cell alignment="left" valignment="top" usebox="none">
910 \begin_layout Plain Layout
916 <cell alignment="left" valignment="top" usebox="none">
919 \begin_layout Plain Layout
920 \begin_inset Formula $\unit[6\nicefrac{1}{2}]{inches}$
930 <cell alignment="left" valignment="top" usebox="none">
933 \begin_layout Plain Layout
934 Textblock/sidenote gutter
939 <cell alignment="left" valignment="top" usebox="none">
942 \begin_layout Plain Layout
943 \begin_inset Formula $\unit[\nicefrac{3}{8}]{inches}$
953 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
956 \begin_layout Plain Layout
962 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
965 \begin_layout Plain Layout
966 \begin_inset Formula $\unit[2]{inches}$
982 \begin_layout Plain Layout
983 \begin_inset Caption Standard
985 \begin_layout Plain Layout
986 Here are the dimensions of the various margins used in the
991 \begin_inset CommandInset label
1010 \begin_layout Section
1011 Full-width text blocks
1014 \begin_layout Standard
1015 In addition to the new float types, there is a
1019 environment that stretches across the main text block and the sidenotes
1020 area and ragged left:
1023 \begin_layout Full Width
1024 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
1025 Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis.
1026 Curabitur dictum gravida mauris.
1027 Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
1028 Donec vehicula augue eu neque.
1029 Pellentesque habitant morbi tristique senectus et netus et malesuada fames
1032 Cras viverra metus rhoncus sem.
1033 Nulla et lectus vestibulum urna fringilla ultrices.
1034 Phasellus eu tellus sit amet tortor gravida placerat.
1035 Integer sapien est, iaculis in, pretium quis, viverra ac, nunc.
1036 Praesent eget sem vel leo ultrices bibendum.
1038 Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla.
1039 Curabitur auctor semper nulla.
1040 Donec varius orci eget risus.
1041 Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
1042 Duis eget orci sit amet orci dignissim rutrum.
1049 \begin_layout Section
1053 \begin_layout Subsection
1057 \begin_layout Standard
1066 typefaces are installed, this style will use them automatically.
1067 Otherwise, we'll fall back on the
1074 \begin_layout Subsection
1078 \begin_layout Standard
1079 This document class includes two new character styles and some improvements
1080 on existing commands for letterspacing.
1083 \begin_layout Standard
1084 When setting strings of
1085 \begin_inset Flex AllCaps
1088 \begin_layout Plain Layout
1095 \begin_inset Flex SmallCaps
1098 \begin_layout Plain Layout
1104 , the letterspacing—that is, the spacing between the letters—should be increased
1106 \begin_inset CommandInset citation
1108 key "Bringhurst2005"
1118 Edit\SpecialChar menuseparator
1119 TextStyle\SpecialChar menuseparator
1122 ) has proper letterspacing for strings of
1123 \begin_inset Flex AllCaps
1126 \begin_layout Plain Layout
1127 FULL CAPITAL LETTERS
1138 Edit\SpecialChar menuseparator
1139 TextStyle\SpecialChar menuseparator
1142 ) has letterspacing for
1143 \begin_inset Flex SmallCaps
1146 \begin_layout Plain Layout
1147 small capital letters
1153 These commands will also automatically convert the case of the text to
1154 upper- or lowercase, respectively.
1157 \begin_layout Standard
1162 shape has also been redefined to include letterspacing.
1163 Its case is left as is, however.
1164 This allows one to use both uppercase and lowercase letters:
1166 The Initial Letters Of The Words In This Sentence Are Capitalized.
1169 \begin_layout Section
1173 \begin_layout Subsection
1174 Document class options
1177 \begin_layout Standard
1182 class is based on the
1187 Therefore, you can pass any of the typical article options.
1188 There are a few options that are specific to the
1192 document class, however.
1195 \begin_layout Itemize
1200 option will set the paper size to A4 instead of the default US letter size.
1203 \begin_layout Itemize
1208 option will set the sidenotes in a
1212 typeface instead of the default roman.
1215 \begin_layout Itemize
1220 option will modify the running heads so that the page number is printed
1221 on the outside edge (as opposed to always printing the page number on the
1229 \begin_layout Itemize
1234 option typesets the sidenotes on the outside edge of the page.
1235 This is how books are traditionally printed, but is contrary to Tufte's
1236 book design which sets the sidenotes on the right side of the page.
1237 This option implicitly sets the
1244 \begin_layout Itemize
1249 option sets all the text fully justified (flush left and right).
1250 The default is to set the text ragged right.
1251 The body text of Tufte's books are set ragged right.
1252 This prevents needless hyphenation and makes it easier to read the text
1253 in the slightly narrower column.
1256 \begin_layout Subsection
1257 Defining new sections
1258 \begin_inset CommandInset label
1260 name "sec:defining-sections"
1267 \begin_layout Standard
1268 As mentioned on page
1269 \begin_inset space ~
1273 \begin_inset CommandInset ref
1274 LatexCommand pageref
1275 reference "sec:headings"
1283 document class only defines
1294 \begin_layout Standard
1295 If you want to define, say, a
1299 heading, you could do it as follows:
1302 \begin_layout LyX-Code
1308 \begin_layout LyX-Code
1316 \begin_layout LyX-Code
1319 @startsection{paragraph}% the name of the new section
1322 \begin_layout LyX-Code
1323 {4}% the section level number
1326 \begin_layout LyX-Code
1327 {0em}% indentation amount
1330 \begin_layout LyX-Code
1333 baselineskip}% amount of space to leave before heading
1336 \begin_layout LyX-Code
1337 {-1.5em}% amount of space to leave after heading
1340 \begin_layout LyX-Code
1348 \begin_layout LyX-Code
1352 \begin_layout LyX-Code
1358 \begin_layout Standard
1361 Document\SpecialChar menuseparator
1362 Settings\SpecialChar menuseparator
1365 and you'll now be able to use
1371 in \SpecialChar LaTeX
1375 \begin_layout Standard
1376 For more details on defining section levels, see
1378 The \SpecialChar LaTeX
1380 \begin_inset space \space{}
1386 \begin_inset CommandInset citation
1399 \begin_layout Section
1403 \begin_layout Subsection
1404 Package Dependencies
1407 \begin_layout Standard
1408 The following is a list of packages that the
1412 document class relies upon.
1413 Packages marked with an asterisk are optional.
1416 \begin_layout Itemize
1420 \begin_layout Itemize
1424 \begin_layout Itemize
1428 \begin_layout Itemize
1432 \begin_layout Itemize
1436 \begin_layout Itemize
1440 \begin_layout Itemize
1444 \begin_layout Itemize
1448 \begin_layout Itemize
1452 \begin_layout Itemize
1456 \begin_layout Itemize
1460 \begin_layout Itemize
1464 \begin_layout Itemize
1468 \begin_layout Itemize
1472 \begin_layout Subsection
1473 Tufte-\SpecialChar LaTeX
1475 \begin_inset space \space{}
1481 \begin_layout Standard
1482 The website for the Tufte-\SpecialChar LaTeX
1484 \begin_inset space \space{}
1487 packages is located at
1488 \begin_inset Flex URL
1491 \begin_layout Plain Layout
1493 https://tufte-latex.github.io/tufte-latex/
1499 On this website, you'll find links to the
1500 \begin_inset Flex SmallCaps
1503 \begin_layout Plain Layout
1509 repository of the tufte-latex project, mailing lists, bug tracker, and
1513 \begin_layout Standard
1514 \begin_inset CommandInset bibtex
1516 bibfiles "biblioExample"