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 numerical
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' to get rid of the errors, but this
109 also removes letterspacing, an important part of the Tufte design.
117 \begin_layout Standard
118 \begin_inset Note Note
121 \begin_layout Plain Layout
126 is left out, the current date will be used.
135 An Example of the Usage of the Tufte-Handout Style
143 \begin_layout Plain Layout
150 X Developers and The Ly
154 \begin_layout Plain Layout
164 \begin_layout Abstract
166 This document describes the
170 LaTeX document style.
171 It also provides examples and comments on the style's use.
172 It is based on the example file shiped with
176 , but adapted for the use with LyX.
179 \begin_layout Standard
188 \begin_layout Plain Layout
191 \begin_inset Flex URL
194 \begin_layout Plain Layout
196 http://ctan.org/tex-archive/macros/latex/contrib/tufte-latex
206 defines a style similar to the style
210 uses in his books and handouts.
211 Tufte's style is known for its extensive use of sidenotes, tight integration
212 of graphics with text, and well-set typography.
213 This document aims to be at once a demonstration of the features of the
218 document class and a style guide to its use.
225 \begin_layout Section
229 \begin_layout Subsection
230 Headings and paragraph design
231 \begin_inset CommandInset label
240 \begin_layout Standard
257 , both numbered and non-numbered), as demonstrated above.
260 \begin_layout Standard
261 If you need more than two levels of section headings, you'll have to define
262 them yourself at the moment;
266 \begin_layout Plain Layout
268 \begin_inset Quotes eld
271 Defining new sections
272 \begin_inset Quotes erd
280 \begin_inset CommandInset ref
282 reference "sec:defining-sections"
286 for help with defining more heading levels.
291 there are no pre-defined styles for anything below a
302 The Elements of Typographic Style
305 \begin_inset CommandInset citation
312 \begin_inset Quotes eld
315 use as many levels of headings as you need: no more, and no fewer.
316 \begin_inset Quotes erd
322 \begin_layout Standard
323 \begin_inset Flex NewThought
326 \begin_layout Plain Layout
333 \begin_inset CommandInset citation
339 Tufte starts each section with a bit of vertical space, a non-indented
340 paragraph, and sets the first few words of the sentence in
345 To accomplish this, use the
351 Edit\SpecialChar \menuseparator
352 TextStyle\SpecialChar \menuseparator
358 \begin_layout Subsection
362 \begin_layout Standard
363 One of the most prominent and distinctive features of this style is the
364 extensive use of sidenotes.
365 There is a wide margin to provide ample room for sidenotes and small figures.
366 Any footnotes will automatically be converted to sidenotes.
370 \begin_layout Plain Layout
371 This is a sidenote that was entered using a
380 Alternatively, you can also use the
384 inset directly; you'll find it in the
386 Insert\SpecialChar \menuseparator
390 \begin_inset Flex Sidenote
393 \begin_layout Plain Layout
394 This is a sidenote that was entered using a
406 \begin_layout Standard
407 If you like to place ancillary information in the margin without the sidenote
408 mark (the superscript number), you can use the
414 \begin_inset Flex Marginnote
417 \begin_layout Plain Layout
418 This is Tufte's margin note.
419 Notice that there isn't a number preceding the note, and there is no number
420 in the main text where this note was written.
425 The normal margin note will work as well, but it will look rather odd.
426 \begin_inset Marginal
429 \begin_layout Plain Layout
430 This is a normal margin note.
439 \begin_layout Subsection
443 \begin_layout Standard
444 References are placed alongside their citations as sidenotes, as well.
445 This can be accomplished using the normal citation command.
449 \begin_layout Plain Layout
450 The first paragraph of this document includes a citation.
458 \begin_layout Standard
459 The complete list of references may also be printed automatically by using
462 Insert\SpecialChar \menuseparator
463 Lists/TOC\SpecialChar \menuseparator
470 (see the end of this document for an example.) If you do not want to print
471 a bibliography at the end of your document, place the
479 inset inside a LyX note and use the LaTeX command
488 \begin_layout Section
492 \begin_layout Standard
493 Images and graphics play an integral role in Tufte's work.
494 In addition to the standard
502 floats, this class provides special figure and table environments for full-widt
506 \begin_layout Standard
507 Full page width figures and tables can be produced by using figure or table
513 To place figures or tables in the margin, use the
526 \begin_inset CommandInset ref
528 reference "fig:marginfig"
533 \begin_inset Note Note
536 \begin_layout Plain Layout
537 Note: unfortunately, the counting inside the LyX view is wrong.
538 Margin floats and normal floats are counted differently, whereas the use
539 the same counter in the output.
545 \begin_inset Float marginfigure
550 \begin_layout Plain Layout
551 \begin_inset Box Boxed
561 height_special "totalheight"
564 \begin_layout Plain Layout
566 replace the box by your figure!
574 \begin_layout Plain Layout
575 \begin_inset Caption Standard
577 \begin_layout Plain Layout
578 This is a margin figure.
579 The figure will be put in the margin.
580 \begin_inset CommandInset label
599 \begin_layout Standard
600 \begin_inset Note Greyedout
603 \begin_layout Plain Layout
608 If you are using margin figures or tables you must use the default float
609 placement option in the document settings under
625 \begin_layout Standard
631 \begin_inset CommandInset ref
633 reference "fig:fullfig"
637 is an example of the wide figure float and figure
642 \begin_inset CommandInset ref
644 reference "fig:textfig"
648 is an example of the normal figure float.
650 \begin_inset Float figure
655 \begin_layout Plain Layout
656 \begin_inset Box Boxed
666 height_special "totalheight"
669 \begin_layout Plain Layout
671 replace the box by your figure!
679 \begin_layout Plain Layout
680 \begin_inset Caption Standard
682 \begin_layout Plain Layout
683 This is a wide figure (
690 Notice that this figure takes up the full page width.
693 \begin_inset CommandInset label
712 \begin_layout Standard
713 \begin_inset VSpace 6theight%
719 \begin_layout Standard
720 \begin_inset Float figure
726 \begin_layout Plain Layout
727 \begin_inset Box Boxed
737 height_special "totalheight"
740 \begin_layout Plain Layout
742 replace the box by your figure!
750 \begin_layout Plain Layout
751 \begin_inset Caption Standard
753 \begin_layout Plain Layout
754 This is a normal figure.
757 Notice that this figure only takes up the main textblock width.
760 \begin_inset CommandInset label
779 \begin_layout Standard
785 \begin_inset CommandInset ref
787 reference "tab:normaltab"
791 shows a table created with the
795 package (this is border style
796 \begin_inset Quotes eld
800 \begin_inset Quotes erd
803 in the tabular dialog).
804 Notice the lack of vertical rules---they serve only to clutter the table's
808 \begin_layout Standard
809 \begin_inset Float table
815 \begin_layout Plain Layout
818 <lyxtabular version="3" rows="6" columns="2">
819 <features rotate="0" booktabs="true" tabularvalignment="middle">
820 <column alignment="left" valignment="top" width="0">
821 <column alignment="left" valignment="top" width="0">
823 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
826 \begin_layout Plain Layout
832 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
835 \begin_layout Plain Layout
843 <cell alignment="left" valignment="top" usebox="none">
846 \begin_layout Plain Layout
852 <cell alignment="left" valignment="top" usebox="none">
855 \begin_layout Plain Layout
856 \begin_inset Formula $\unit[8\nicefrac{1}{2}]{inches}$
866 <cell alignment="left" valignment="top" usebox="none">
869 \begin_layout Plain Layout
875 <cell alignment="left" valignment="top" usebox="none">
878 \begin_layout Plain Layout
879 \begin_inset Formula $\unit[11]{inches}$
889 <cell alignment="left" valignment="top" usebox="none">
892 \begin_layout Plain Layout
898 <cell alignment="left" valignment="top" usebox="none">
901 \begin_layout Plain Layout
902 \begin_inset Formula $\unit[6\nicefrac{1}{2}]{inches}$
912 <cell alignment="left" valignment="top" usebox="none">
915 \begin_layout Plain Layout
916 Textblock/sidenote gutter
921 <cell alignment="left" valignment="top" usebox="none">
924 \begin_layout Plain Layout
925 \begin_inset Formula $\unit[\nicefrac{3}{8}]{inches}$
935 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
938 \begin_layout Plain Layout
944 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
947 \begin_layout Plain Layout
948 \begin_inset Formula $\unit[2]{inches}$
964 \begin_layout Plain Layout
965 \begin_inset Caption Standard
967 \begin_layout Plain Layout
968 Here are the dimensions of the various margins used in the
973 \begin_inset CommandInset label
992 \begin_layout Section
993 Full-width text blocks
996 \begin_layout Standard
997 In addition to the new float types, there is a
1001 environment that stretches across the main text block and the sidenotes
1002 area and ragged left:
1005 \begin_layout Full Width
1006 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
1007 Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis.
1008 Curabitur dictum gravida mauris.
1009 Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
1010 Donec vehicula augue eu neque.
1011 Pellentesque habitant morbi tristique senectus et netus et malesuada fames
1014 Cras viverra metus rhoncus sem.
1015 Nulla et lectus vestibulum urna fringilla ultrices.
1016 Phasellus eu tellus sit amet tortor gravida placerat.
1017 Integer sapien est, iaculis in, pretium quis, viverra ac, nunc.
1018 Praesent eget sem vel leo ultrices bibendum.
1020 Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla.
1021 Curabitur auctor semper nulla.
1022 Donec varius orci eget risus.
1023 Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
1024 Duis eget orci sit amet orci dignissim rutrum.
1031 \begin_layout Section
1035 \begin_layout Subsection
1039 \begin_layout Standard
1048 typefaces are installed, this style will use them automatically.
1049 Otherwise, we'll fall back on the
1056 \begin_layout Subsection
1060 \begin_layout Standard
1061 This document class includes two new character styles and some improvements
1062 on existing commands for letterspacing.
1065 \begin_layout Standard
1066 When setting strings of
1067 \begin_inset Flex AllCaps
1070 \begin_layout Plain Layout
1077 \begin_inset Flex SmallCaps
1080 \begin_layout Plain Layout
1086 , the letterspacing---that is, the spacing between the letters---should
1087 be increased slightly.
1088 \begin_inset CommandInset citation
1090 key "Bringhurst2005"
1100 Edit\SpecialChar \menuseparator
1101 TextStyle\SpecialChar \menuseparator
1104 ) has proper letterspacing for strings of
1105 \begin_inset Flex AllCaps
1108 \begin_layout Plain Layout
1109 FULL CAPITAL LETTERS
1120 Edit\SpecialChar \menuseparator
1121 TextStyle\SpecialChar \menuseparator
1124 ) has letterspacing for
1125 \begin_inset Flex SmallCaps
1128 \begin_layout Plain Layout
1129 small capital letters
1135 These commands will also automatically convert the case of the text to
1136 upper- or lowercase, respectively.
1139 \begin_layout Standard
1144 shape has also been redefined to include letterspacing.
1145 Its case is left as is, however.
1146 This allows one to use both uppercase and lowercase letters:
1148 The Initial Letters Of The Words In This Sentence Are Capitalized.
1151 \begin_layout Section
1155 \begin_layout Subsection
1156 Document class options
1159 \begin_layout Standard
1164 class is based on the
1169 Therefore, you can pass any of the typical article options.
1170 There are a few options that are specific to the
1174 document class, however.
1177 \begin_layout Itemize
1182 option will set the paper size to A4 instead of the default US letter size.
1185 \begin_layout Itemize
1190 option will set the sidenotes in a
1194 typeface instead of the default roman.
1197 \begin_layout Itemize
1202 option will modify the running heads so that the page number is printed
1203 on the outside edge (as opposed to always printing the page number on the
1211 \begin_layout Itemize
1216 option typesets the sidenotes on the outside edge of the page.
1217 This is how books are traditionally printed, but is contrary to Tufte's
1218 book design which sets the sidenotes on the right side of the page.
1219 This option implicitly sets the
1226 \begin_layout Itemize
1231 option sets all the text fully justified (flush left and right).
1232 The default is to set the text ragged right.
1233 The body text of Tufte's books are set ragged right.
1234 This prevents needless hyphenation and makes it easier to read the text
1235 in the slightly narrower column.
1238 \begin_layout Subsection
1239 Defining new sections
1240 \begin_inset CommandInset label
1242 name "sec:defining-sections"
1249 \begin_layout Standard
1250 As mentioned on page
1251 \begin_inset space ~
1255 \begin_inset CommandInset ref
1256 LatexCommand pageref
1257 reference "sec:headings"
1265 document class only defines
1276 \begin_layout Standard
1277 If you want to define, say, a
1281 heading, you could do it as follows:
1284 \begin_layout LyX-Code
1290 \begin_layout LyX-Code
1298 \begin_layout LyX-Code
1301 @startsection{paragraph}% the name of the new section
1304 \begin_layout LyX-Code
1305 {4}% the section level number
1308 \begin_layout LyX-Code
1309 {0em}% indentation amount
1312 \begin_layout LyX-Code
1315 baselineskip}% amount of space to leave before heading
1318 \begin_layout LyX-Code
1319 {-1.5em}% amount of space to leave after heading
1322 \begin_layout LyX-Code
1330 \begin_layout LyX-Code
1334 \begin_layout LyX-Code
1340 \begin_layout Standard
1343 Document\SpecialChar \menuseparator
1344 Settings\SpecialChar \menuseparator
1347 and you'll now be able to use
1356 \begin_layout Standard
1357 For more details on defining section levels, see
1360 \begin_inset space \space{}
1366 \begin_inset CommandInset citation
1379 \begin_layout Section
1383 \begin_layout Subsection
1384 Package Dependencies
1387 \begin_layout Standard
1388 The following is a list of packages that the
1392 document class relies upon.
1393 Packages marked with an asterisk are optional.
1396 \begin_layout Itemize
1400 \begin_layout Itemize
1404 \begin_layout Itemize
1408 \begin_layout Itemize
1412 \begin_layout Itemize
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 Subsection
1454 \begin_inset space \space{}
1460 \begin_layout Standard
1461 The website for the Tufte-LaTeX
1462 \begin_inset space \space{}
1465 packages is located at
1466 \begin_inset Flex URL
1469 \begin_layout Plain Layout
1471 http://code.google.com/p/tufte-latex/
1477 On this website, you'll find links to the
1478 \begin_inset Flex SmallCaps
1481 \begin_layout Plain Layout
1487 repository of the tufte-latex project, mailing lists, bug tracker, and
1491 \begin_layout Standard
1492 \begin_inset CommandInset bibtex
1494 bibfiles "biblioExample"