1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/
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 \use_dash_ligatures false
27 \default_output_format pdf2
29 \bibtex_command bibtex
30 \index_command default
31 \paperfontsize default
35 \pdf_bookmarksnumbered true
36 \pdf_bookmarksopen true
37 \pdf_bookmarksopenlevel 1
45 \use_package amsmath 1
46 \use_package amssymb 1
49 \use_package mathdots 1
50 \use_package mathtools 1
52 \use_package stackrel 1
53 \use_package stmaryrd 1
54 \use_package undertilde 1
56 \cite_engine_type default
60 \paperorientation portrait
65 \notefontcolor #0000ff
72 \paragraph_separation indent
73 \paragraph_indentation default
75 \math_numbering_side default
80 \paperpagestyle default
81 \tracking_changes false
90 \begin_layout Standard
91 \begin_inset Note Note
94 \begin_layout Plain Layout
99 : To be able to view your file as PDF you must have the \SpecialChar LaTeX
104 installed to your \SpecialChar LaTeX
106 If you are using MiK\SpecialChar TeX
107 , you will automatically be asked to install this package
108 when previewing your file, if you are using \SpecialChar TeX
109 Live, use \SpecialChar TeX
110 Live's package manager.
113 \begin_layout Plain Layout
118 : If you wish to compile to PDF with plain \SpecialChar LaTeX
119 (instead of pdf\SpecialChar TeX
120 ), there is currently
121 a bug in the Tufte class that causes errors.
122 You can add the class option 'nols' (put this in the
123 \begin_inset Quotes eld
127 \begin_inset Quotes erd
130 field of Document\SpecialChar menuseparator
131 Settings \SpecialChar menuseparator
132 Document Class) to get rid of the errors, but
133 this also removes letterspacing, an important part of the Tufte design.
141 \begin_layout Standard
142 \begin_inset Note Note
145 \begin_layout Plain Layout
150 is left out, the current date will be used.
159 An Example of the Usage of the Tufte-Handout Style
163 Tufte-LaTeX Developers and The LyX Team
166 \begin_layout Abstract
168 This document describes the
174 It also provides examples and comments on the style's use.
175 It is based on the example file shiped with
179 , but adapted for the use with \SpecialChar LyX
183 \begin_layout Standard
192 \begin_layout Plain Layout
195 \begin_inset Flex URL
198 \begin_layout Plain Layout
200 http://ctan.org/tex-archive/macros/latex/contrib/tufte-latex
210 defines a style similar to the style
214 uses in his books and handouts.
215 Tufte's style is known for its extensive use of sidenotes, tight integration
216 of graphics with text, and well-set typography.
217 This document aims to be at once a demonstration of the features of the
222 document class and a style guide to its use.
229 \begin_layout Section
233 \begin_layout Subsection
234 Headings and paragraph design
235 \begin_inset CommandInset label
244 \begin_layout Standard
261 , both numbered and non-numbered), as demonstrated above.
264 \begin_layout Standard
265 If you need more than two levels of section headings, you'll have to define
266 them yourself at the moment;
270 \begin_layout Plain Layout
272 \begin_inset Quotes eld
275 Defining new sections
276 \begin_inset Quotes erd
284 \begin_inset CommandInset ref
286 reference "sec:defining-sections"
290 for help with defining more heading levels.
295 there are no pre-defined styles for anything below a
306 The Elements of Typographic Style
309 \begin_inset CommandInset citation
317 \begin_inset Quotes eld
320 use as many levels of headings as you need: no more, and no fewer.
321 \begin_inset Quotes erd
327 \begin_layout Standard
328 \begin_inset Flex NewThought
331 \begin_layout Plain Layout
338 \begin_inset CommandInset citation
345 Tufte starts each section with a bit of vertical space, a non-indented
346 paragraph, and sets the first few words of the sentence in
351 To accomplish this, use the
357 Edit\SpecialChar menuseparator
358 TextStyle\SpecialChar menuseparator
364 \begin_layout Subsection
368 \begin_layout Standard
369 One of the most prominent and distinctive features of this style is the
370 extensive use of sidenotes.
371 There is a wide margin to provide ample room for sidenotes and small figures.
372 Any footnotes will automatically be converted to sidenotes.
376 \begin_layout Plain Layout
377 This is a sidenote that was entered using a
386 Alternatively, you can also use the
390 inset directly; you'll find it in the
392 Insert\SpecialChar menuseparator
396 \begin_inset Flex Sidenote
399 \begin_layout Plain Layout
400 This is a sidenote that was entered using a
412 \begin_layout Standard
413 If you like to place ancillary information in the margin without the sidenote
414 mark (the superscript number), you can use the
420 \begin_inset Flex Marginnote
423 \begin_layout Plain Layout
424 This is Tufte's margin note.
425 Notice that there isn't a number preceding the note, and there is no number
426 in the main text where this note was written.
431 The normal margin note will work as well, but it will look rather odd.
432 \begin_inset Marginal
435 \begin_layout Plain Layout
436 This is a normal margin note.
445 \begin_layout Subsection
449 \begin_layout Standard
450 References are placed alongside their citations as sidenotes, as well.
451 This can be accomplished using the normal citation command.
455 \begin_layout Plain Layout
456 The first paragraph of this document includes a citation.
464 \begin_layout Standard
465 The complete list of references may also be printed automatically by using
468 Insert\SpecialChar menuseparator
469 Lists/TOC\SpecialChar menuseparator
477 (see the end of this document for an example.) If you do not want to print
478 a bibliography at the end of your document, place the
487 inset inside a \SpecialChar LyX
488 note and use the \SpecialChar LaTeX
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 \SpecialChar LyX
549 Margin floats and normal floats are counted differently, whereas the use
550 the same counter in the output.
556 \begin_inset Float marginfigure
561 \begin_layout Plain Layout
562 \begin_inset Box Boxed
572 height_special "totalheight"
577 backgroundcolor "none"
580 \begin_layout Plain Layout
582 replace the box by your figure!
590 \begin_layout Plain Layout
591 \begin_inset Caption Standard
593 \begin_layout Plain Layout
594 This is a margin figure.
595 The figure will be put in the margin.
596 \begin_inset CommandInset label
615 \begin_layout Standard
616 \begin_inset Note Greyedout
619 \begin_layout Plain Layout
624 If you are using margin figures or tables you must use the default float
625 placement option in the document settings under
641 \begin_layout Standard
647 \begin_inset CommandInset ref
649 reference "fig:fullfig"
653 is an example of the wide figure float and figure
658 \begin_inset CommandInset ref
660 reference "fig:textfig"
664 is an example of the normal figure float.
666 \begin_inset Float figure
671 \begin_layout Plain Layout
672 \begin_inset Box Boxed
682 height_special "totalheight"
687 backgroundcolor "none"
690 \begin_layout Plain Layout
692 replace the box by your figure!
700 \begin_layout Plain Layout
701 \begin_inset Caption Standard
703 \begin_layout Plain Layout
704 This is a wide figure (
711 Notice that this figure takes up the full page width.
714 \begin_inset CommandInset label
733 \begin_layout Standard
734 \begin_inset VSpace 6theight%
740 \begin_layout Standard
741 \begin_inset Float figure
747 \begin_layout Plain Layout
748 \begin_inset Box Boxed
758 height_special "totalheight"
763 backgroundcolor "none"
766 \begin_layout Plain Layout
768 replace the box by your figure!
776 \begin_layout Plain Layout
777 \begin_inset Caption Standard
779 \begin_layout Plain Layout
780 This is a normal figure.
783 Notice that this figure only takes up the main textblock width.
786 \begin_inset CommandInset label
805 \begin_layout Standard
811 \begin_inset CommandInset ref
813 reference "tab:normaltab"
817 shows a table created with the
821 package (this is border style
822 \begin_inset Quotes eld
826 \begin_inset Quotes erd
829 in the tabular dialog).
830 Notice the lack of vertical rules—they serve only to clutter the table's
834 \begin_layout Standard
835 \begin_inset Float table
841 \begin_layout Plain Layout
844 <lyxtabular version="3" rows="6" columns="2">
845 <features booktabs="true" tabularvalignment="middle">
846 <column alignment="left" valignment="top">
847 <column alignment="left" valignment="top">
849 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
852 \begin_layout Plain Layout
858 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
861 \begin_layout Plain Layout
869 <cell alignment="left" valignment="top" usebox="none">
872 \begin_layout Plain Layout
878 <cell alignment="left" valignment="top" usebox="none">
881 \begin_layout Plain Layout
882 \begin_inset Formula $\unit[8\nicefrac{1}{2}]{inches}$
892 <cell alignment="left" valignment="top" usebox="none">
895 \begin_layout Plain Layout
901 <cell alignment="left" valignment="top" usebox="none">
904 \begin_layout Plain Layout
905 \begin_inset Formula $\unit[11]{inches}$
915 <cell alignment="left" valignment="top" usebox="none">
918 \begin_layout Plain Layout
924 <cell alignment="left" valignment="top" usebox="none">
927 \begin_layout Plain Layout
928 \begin_inset Formula $\unit[6\nicefrac{1}{2}]{inches}$
938 <cell alignment="left" valignment="top" usebox="none">
941 \begin_layout Plain Layout
942 Textblock/sidenote gutter
947 <cell alignment="left" valignment="top" usebox="none">
950 \begin_layout Plain Layout
951 \begin_inset Formula $\unit[\nicefrac{3}{8}]{inches}$
961 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
964 \begin_layout Plain Layout
970 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
973 \begin_layout Plain Layout
974 \begin_inset Formula $\unit[2]{inches}$
990 \begin_layout Plain Layout
991 \begin_inset Caption Standard
993 \begin_layout Plain Layout
994 Here are the dimensions of the various margins used in the
999 \begin_inset CommandInset label
1001 name "tab:normaltab"
1018 \begin_layout Section
1019 Full-width text blocks
1022 \begin_layout Standard
1023 In addition to the new float types, there is a
1027 environment that stretches across the main text block and the sidenotes
1028 area and ragged left:
1031 \begin_layout Full Width
1032 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
1033 Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis.
1034 Curabitur dictum gravida mauris.
1035 Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
1036 Donec vehicula augue eu neque.
1037 Pellentesque habitant morbi tristique senectus et netus et malesuada fames
1040 Cras viverra metus rhoncus sem.
1041 Nulla et lectus vestibulum urna fringilla ultrices.
1042 Phasellus eu tellus sit amet tortor gravida placerat.
1043 Integer sapien est, iaculis in, pretium quis, viverra ac, nunc.
1044 Praesent eget sem vel leo ultrices bibendum.
1046 Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla.
1047 Curabitur auctor semper nulla.
1048 Donec varius orci eget risus.
1049 Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
1050 Duis eget orci sit amet orci dignissim rutrum.
1057 \begin_layout Section
1061 \begin_layout Subsection
1065 \begin_layout Standard
1074 typefaces are installed, this style will use them automatically.
1075 Otherwise, we'll fall back on the
1082 \begin_layout Subsection
1086 \begin_layout Standard
1087 This document class includes two new character styles and some improvements
1088 on existing commands for letterspacing.
1091 \begin_layout Standard
1092 When setting strings of
1093 \begin_inset Flex AllCaps
1096 \begin_layout Plain Layout
1103 \begin_inset Flex SmallCaps
1106 \begin_layout Plain Layout
1112 , the letterspacing—that is, the spacing between the letters—should be increased
1114 \begin_inset CommandInset citation
1116 key "Bringhurst2005"
1127 Edit\SpecialChar menuseparator
1128 TextStyle\SpecialChar menuseparator
1131 ) has proper letterspacing for strings of
1132 \begin_inset Flex AllCaps
1135 \begin_layout Plain Layout
1136 FULL CAPITAL LETTERS
1147 Edit\SpecialChar menuseparator
1148 TextStyle\SpecialChar menuseparator
1151 ) has letterspacing for
1152 \begin_inset Flex SmallCaps
1155 \begin_layout Plain Layout
1156 small capital letters
1162 These commands will also automatically convert the case of the text to
1163 upper- or lowercase, respectively.
1166 \begin_layout Standard
1171 shape has also been redefined to include letterspacing.
1172 Its case is left as is, however.
1173 This allows one to use both uppercase and lowercase letters:
1175 The Initial Letters Of The Words In This Sentence Are Capitalized.
1178 \begin_layout Section
1182 \begin_layout Subsection
1183 Document class options
1186 \begin_layout Standard
1191 class is based on the
1196 Therefore, you can pass any of the typical article options.
1197 There are a few options that are specific to the
1201 document class, however.
1204 \begin_layout Itemize
1209 option will set the paper size to A4 instead of the default US letter size.
1212 \begin_layout Itemize
1217 option will set the sidenotes in a
1221 typeface instead of the default roman.
1224 \begin_layout Itemize
1229 option will modify the running heads so that the page number is printed
1230 on the outside edge (as opposed to always printing the page number on the
1238 \begin_layout Itemize
1243 option typesets the sidenotes on the outside edge of the page.
1244 This is how books are traditionally printed, but is contrary to Tufte's
1245 book design which sets the sidenotes on the right side of the page.
1246 This option implicitly sets the
1253 \begin_layout Itemize
1258 option sets all the text fully justified (flush left and right).
1259 The default is to set the text ragged right.
1260 The body text of Tufte's books are set ragged right.
1261 This prevents needless hyphenation and makes it easier to read the text
1262 in the slightly narrower column.
1265 \begin_layout Subsection
1266 Defining new sections
1267 \begin_inset CommandInset label
1269 name "sec:defining-sections"
1276 \begin_layout Standard
1277 As mentioned on page
1278 \begin_inset space ~
1282 \begin_inset CommandInset ref
1283 LatexCommand pageref
1284 reference "sec:headings"
1292 document class only defines
1303 \begin_layout Standard
1304 If you want to define, say, a
1308 heading, you could do it as follows:
1311 \begin_layout LyX-Code
1317 \begin_layout LyX-Code
1325 \begin_layout LyX-Code
1328 @startsection{paragraph}% the name of the new section
1331 \begin_layout LyX-Code
1332 {4}% the section level number
1335 \begin_layout LyX-Code
1336 {0em}% indentation amount
1339 \begin_layout LyX-Code
1342 baselineskip}% amount of space to leave before heading
1345 \begin_layout LyX-Code
1346 {-1.5em}% amount of space to leave after heading
1349 \begin_layout LyX-Code
1357 \begin_layout LyX-Code
1361 \begin_layout LyX-Code
1367 \begin_layout Standard
1370 Document\SpecialChar menuseparator
1371 Settings\SpecialChar menuseparator
1374 and you'll now be able to use
1380 in \SpecialChar LaTeX
1384 \begin_layout Standard
1385 For more details on defining section levels, see
1387 The \SpecialChar LaTeX
1389 \begin_inset space \space{}
1395 \begin_inset CommandInset citation
1409 \begin_layout Section
1413 \begin_layout Subsection
1414 Package Dependencies
1417 \begin_layout Standard
1418 The following is a list of packages that the
1422 document class relies upon.
1423 Packages marked with an asterisk are optional.
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 Itemize
1466 \begin_layout Itemize
1470 \begin_layout Itemize
1474 \begin_layout Itemize
1478 \begin_layout Itemize
1482 \begin_layout Subsection
1483 Tufte-\SpecialChar LaTeX
1485 \begin_inset space \space{}
1491 \begin_layout Standard
1492 The website for the Tufte-\SpecialChar LaTeX
1494 \begin_inset space \space{}
1497 packages is located at
1498 \begin_inset Flex URL
1501 \begin_layout Plain Layout
1503 https://tufte-latex.github.io/tufte-latex/
1509 On this website, you'll find links to the
1510 \begin_inset Flex SmallCaps
1513 \begin_layout Plain Layout
1519 repository of the tufte-latex project, mailing lists, bug tracker, and
1523 \begin_layout Standard
1524 \begin_inset CommandInset bibtex
1526 bibfiles "biblioExample"