1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/Handouts/
7 \textclass tufte-handout
8 \use_default_options true
9 \maintain_unincluded_children no
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_typewriter_osf false
24 \font_sf_scale 100 100
25 \font_tt_scale 100 100
27 \use_dash_ligatures false
29 \default_output_format pdf2
31 \bibtex_command bibtex
32 \index_command default
33 \paperfontsize default
37 \pdf_bookmarksnumbered true
38 \pdf_bookmarksopen true
39 \pdf_bookmarksopenlevel 1
47 \use_package amsmath 1
48 \use_package amssymb 1
51 \use_package mathdots 1
52 \use_package mathtools 1
54 \use_package stackrel 1
55 \use_package stmaryrd 1
56 \use_package undertilde 1
58 \cite_engine_type authoryear
62 \paperorientation portrait
67 \notefontcolor #0000ff
75 \paragraph_separation indent
76 \paragraph_indentation default
78 \math_numbering_side default
83 \paperpagestyle default
84 \tracking_changes false
85 \postpone_fragile_content false
94 \begin_layout Standard
95 \begin_inset Note Note
98 \begin_layout Plain Layout
103 : To be able to view your file as PDF you must have the \SpecialChar LaTeX
108 installed to your \SpecialChar LaTeX
110 If you are using MiK\SpecialChar TeX
111 , you will automatically be asked to install this package
112 when previewing your file, if you are using \SpecialChar TeX
113 Live, use \SpecialChar TeX
114 Live's package manager.
117 \begin_layout Plain Layout
122 : If you wish to compile to PDF with plain \SpecialChar LaTeX
123 (instead of pdf\SpecialChar TeX
124 ), there is currently
125 a bug in the Tufte class that causes errors.
126 You can add the class option 'nols' (put this in the
127 \begin_inset Quotes eld
131 \begin_inset Quotes erd
134 field of Document\SpecialChar menuseparator
135 Settings \SpecialChar menuseparator
136 Document Class) to get rid of the errors, but
137 this also removes letterspacing, an important part of the Tufte design.
145 \begin_layout Standard
146 \begin_inset Note Note
149 \begin_layout Plain Layout
154 is left out, the current date will be used.
163 An Example of the Usage of the Tufte-Handout Style
167 Tufte-LaTeX Developers and The LyX Team
170 \begin_layout Abstract
172 This document describes the
178 It also provides examples and comments on the style's use.
179 It is based on the example file shiped with
183 , but adapted for the use with \SpecialChar LyX
187 \begin_layout Standard
196 \begin_layout Plain Layout
199 \begin_inset Flex URL
202 \begin_layout Plain Layout
204 http://ctan.org/tex-archive/macros/latex/contrib/tufte-latex
214 defines a style similar to the style
218 uses in his books and handouts.
219 Tufte's style is known for its extensive use of sidenotes, tight integration
220 of graphics with text, and well-set typography.
221 This document aims to be at once a demonstration of the features of the
226 document class and a style guide to its use.
233 \begin_layout Section
237 \begin_layout Subsection
238 Headings and paragraph design
239 \begin_inset CommandInset label
248 \begin_layout Standard
265 , both numbered and non-numbered), as demonstrated above.
268 \begin_layout Standard
269 If you need more than two levels of section headings, you'll have to define
270 them yourself at the moment;
274 \begin_layout Plain Layout
276 \begin_inset Quotes eld
279 Defining new sections
280 \begin_inset Quotes erd
288 \begin_inset CommandInset ref
290 reference "sec:defining-sections"
294 for help with defining more heading levels.
299 there are no pre-defined styles for anything below a
310 The Elements of Typographic Style
313 \begin_inset CommandInset citation
321 \begin_inset Quotes eld
324 use as many levels of headings as you need: no more, and no fewer.
325 \begin_inset Quotes erd
331 \begin_layout Standard
332 \begin_inset Flex NewThought
335 \begin_layout Plain Layout
342 \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
481 (see the end of this document for an example.) If you do not want to print
482 a bibliography at the end of your document, place the
491 inset inside a \SpecialChar LyX
492 note and use the \SpecialChar LaTeX
502 \begin_layout Section
506 \begin_layout Standard
507 Images and graphics play an integral role in Tufte's work.
508 In addition to the standard
516 floats, this class provides special figure and table environments for full-widt
520 \begin_layout Standard
521 Full page width figures and tables can be produced by using figure or table
527 To place figures or tables in the margin, use the
540 \begin_inset CommandInset ref
542 reference "fig:marginfig"
547 \begin_inset Note Note
550 \begin_layout Plain Layout
551 Note: unfortunately, the counting inside the \SpecialChar LyX
553 Margin floats and normal floats are counted differently, whereas the use
554 the same counter in the output.
560 \begin_inset Float marginfigure
567 \begin_layout Plain Layout
568 \begin_inset Box Boxed
578 height_special "totalheight"
583 backgroundcolor "none"
586 \begin_layout Plain Layout
588 replace the box by your figure!
596 \begin_layout Plain Layout
597 \begin_inset Caption Standard
599 \begin_layout Plain Layout
600 This is a margin figure.
601 The figure will be put in the margin.
602 \begin_inset CommandInset label
621 \begin_layout Standard
622 \begin_inset Note Greyedout
625 \begin_layout Plain Layout
630 If you are using margin figures or tables you must use the default float
631 placement option in the document settings under
647 \begin_layout Standard
653 \begin_inset CommandInset ref
655 reference "fig:fullfig"
659 is an example of the wide figure float and figure
664 \begin_inset CommandInset ref
666 reference "fig:textfig"
670 is an example of the normal figure float.
672 \begin_inset Float figure
679 \begin_layout Plain Layout
680 \begin_inset Box Boxed
690 height_special "totalheight"
695 backgroundcolor "none"
698 \begin_layout Plain Layout
700 replace the box by your figure!
708 \begin_layout Plain Layout
709 \begin_inset Caption Standard
711 \begin_layout Plain Layout
712 This is a wide figure (
719 Notice that this figure takes up the full page width.
722 \begin_inset CommandInset label
741 \begin_layout Standard
742 \begin_inset VSpace 6theight%
748 \begin_layout Standard
749 \begin_inset Float figure
756 \begin_layout Plain Layout
757 \begin_inset Box Boxed
767 height_special "totalheight"
772 backgroundcolor "none"
775 \begin_layout Plain Layout
777 replace the box by your figure!
785 \begin_layout Plain Layout
786 \begin_inset Caption Standard
788 \begin_layout Plain Layout
789 This is a normal figure.
792 Notice that this figure only takes up the main textblock width.
795 \begin_inset CommandInset label
814 \begin_layout Standard
820 \begin_inset CommandInset ref
822 reference "tab:normaltab"
826 shows a table created with the
830 package (this is border style
831 \begin_inset Quotes eld
835 \begin_inset Quotes erd
838 in the tabular dialog).
839 Notice the lack of vertical rules—they serve only to clutter the table's
843 \begin_layout Standard
844 \begin_inset Float table
851 \begin_layout Plain Layout
854 <lyxtabular version="3" rows="6" columns="2">
855 <features booktabs="true" tabularvalignment="middle">
856 <column alignment="left" valignment="top">
857 <column alignment="left" valignment="top">
859 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
862 \begin_layout Plain Layout
868 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
871 \begin_layout Plain Layout
879 <cell alignment="left" valignment="top" usebox="none">
882 \begin_layout Plain Layout
888 <cell alignment="left" valignment="top" usebox="none">
891 \begin_layout Plain Layout
892 \begin_inset Formula $\unit[8\nicefrac{1}{2}]{inches}$
902 <cell alignment="left" valignment="top" usebox="none">
905 \begin_layout Plain Layout
911 <cell alignment="left" valignment="top" usebox="none">
914 \begin_layout Plain Layout
915 \begin_inset Formula $\unit[11]{inches}$
925 <cell alignment="left" valignment="top" usebox="none">
928 \begin_layout Plain Layout
934 <cell alignment="left" valignment="top" usebox="none">
937 \begin_layout Plain Layout
938 \begin_inset Formula $\unit[6\nicefrac{1}{2}]{inches}$
948 <cell alignment="left" valignment="top" usebox="none">
951 \begin_layout Plain Layout
952 Textblock/sidenote gutter
957 <cell alignment="left" valignment="top" usebox="none">
960 \begin_layout Plain Layout
961 \begin_inset Formula $\unit[\nicefrac{3}{8}]{inches}$
971 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
974 \begin_layout Plain Layout
980 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
983 \begin_layout Plain Layout
984 \begin_inset Formula $\unit[2]{inches}$
1000 \begin_layout Plain Layout
1001 \begin_inset Caption Standard
1003 \begin_layout Plain Layout
1004 Here are the dimensions of the various margins used in the
1009 \begin_inset CommandInset label
1011 name "tab:normaltab"
1028 \begin_layout Section
1029 Full-width text blocks
1032 \begin_layout Standard
1033 In addition to the new float types, there is a
1037 environment that stretches across the main text block and the sidenotes
1038 area and ragged left:
1041 \begin_layout Full Width
1042 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
1043 Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis.
1044 Curabitur dictum gravida mauris.
1045 Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
1046 Donec vehicula augue eu neque.
1047 Pellentesque habitant morbi tristique senectus et netus et malesuada fames
1050 Cras viverra metus rhoncus sem.
1051 Nulla et lectus vestibulum urna fringilla ultrices.
1052 Phasellus eu tellus sit amet tortor gravida placerat.
1053 Integer sapien est, iaculis in, pretium quis, viverra ac, nunc.
1054 Praesent eget sem vel leo ultrices bibendum.
1056 Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla.
1057 Curabitur auctor semper nulla.
1058 Donec varius orci eget risus.
1059 Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
1060 Duis eget orci sit amet orci dignissim rutrum.
1067 \begin_layout Section
1071 \begin_layout Subsection
1075 \begin_layout Standard
1084 typefaces are installed, this style will use them automatically.
1085 Otherwise, we'll fall back on the
1092 \begin_layout Subsection
1096 \begin_layout Standard
1097 This document class includes two new character styles and some improvements
1098 on existing commands for letterspacing.
1101 \begin_layout Standard
1102 When setting strings of
1103 \begin_inset Flex AllCaps
1106 \begin_layout Plain Layout
1113 \begin_inset Flex SmallCaps
1116 \begin_layout Plain Layout
1122 , the letterspacing—that is, the spacing between the letters—should be increased
1124 \begin_inset CommandInset citation
1126 key "Bringhurst2005"
1137 Edit\SpecialChar menuseparator
1138 TextStyle\SpecialChar menuseparator
1141 ) has proper letterspacing for strings of
1142 \begin_inset Flex AllCaps
1145 \begin_layout Plain Layout
1146 FULL CAPITAL LETTERS
1157 Edit\SpecialChar menuseparator
1158 TextStyle\SpecialChar menuseparator
1161 ) has letterspacing for
1162 \begin_inset Flex SmallCaps
1165 \begin_layout Plain Layout
1166 small capital letters
1172 These commands will also automatically convert the case of the text to
1173 upper- or lowercase, respectively.
1176 \begin_layout Standard
1181 shape has also been redefined to include letterspacing.
1182 Its case is left as is, however.
1183 This allows one to use both uppercase and lowercase letters:
1185 The Initial Letters Of The Words In This Sentence Are Capitalized.
1188 \begin_layout Section
1192 \begin_layout Subsection
1193 Document class options
1196 \begin_layout Standard
1201 class is based on the
1206 Therefore, you can pass any of the typical article options.
1207 There are a few options that are specific to the
1211 document class, however.
1214 \begin_layout Itemize
1219 option will set the paper size to A4 instead of the default US letter size.
1222 \begin_layout Itemize
1227 option will set the sidenotes in a
1231 typeface instead of the default roman.
1234 \begin_layout Itemize
1239 option will modify the running heads so that the page number is printed
1240 on the outside edge (as opposed to always printing the page number on the
1248 \begin_layout Itemize
1253 option typesets the sidenotes on the outside edge of the page.
1254 This is how books are traditionally printed, but is contrary to Tufte's
1255 book design which sets the sidenotes on the right side of the page.
1256 This option implicitly sets the
1263 \begin_layout Itemize
1268 option sets all the text fully justified (flush left and right).
1269 The default is to set the text ragged right.
1270 The body text of Tufte's books are set ragged right.
1271 This prevents needless hyphenation and makes it easier to read the text
1272 in the slightly narrower column.
1275 \begin_layout Subsection
1276 Defining new sections
1277 \begin_inset CommandInset label
1279 name "sec:defining-sections"
1286 \begin_layout Standard
1287 As mentioned on page
1288 \begin_inset space ~
1292 \begin_inset CommandInset ref
1293 LatexCommand pageref
1294 reference "sec:headings"
1302 document class only defines
1313 \begin_layout Standard
1314 If you want to define, say, a
1318 heading, you could do it as follows:
1321 \begin_layout LyX-Code
1327 \begin_layout LyX-Code
1335 \begin_layout LyX-Code
1338 @startsection{paragraph}% the name of the new section
1341 \begin_layout LyX-Code
1342 {4}% the section level number
1345 \begin_layout LyX-Code
1346 {0em}% indentation amount
1349 \begin_layout LyX-Code
1352 baselineskip}% amount of space to leave before heading
1355 \begin_layout LyX-Code
1356 {-1.5em}% amount of space to leave after heading
1359 \begin_layout LyX-Code
1367 \begin_layout LyX-Code
1371 \begin_layout LyX-Code
1377 \begin_layout Standard
1380 Document\SpecialChar menuseparator
1381 Settings\SpecialChar menuseparator
1384 and you'll now be able to use
1390 in \SpecialChar LaTeX
1394 \begin_layout Standard
1395 For more details on defining section levels, see
1397 The \SpecialChar LaTeX
1399 \begin_inset space \space{}
1405 \begin_inset CommandInset citation
1419 \begin_layout Section
1423 \begin_layout Subsection
1424 Package Dependencies
1427 \begin_layout Standard
1428 The following is a list of packages that the
1432 document class relies upon.
1433 Packages marked with an asterisk are optional.
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 Itemize
1476 \begin_layout Itemize
1480 \begin_layout Itemize
1484 \begin_layout Itemize
1488 \begin_layout Itemize
1492 \begin_layout Subsection
1493 Tufte-\SpecialChar LaTeX
1495 \begin_inset space \space{}
1501 \begin_layout Standard
1502 The website for the Tufte-\SpecialChar LaTeX
1504 \begin_inset space \space{}
1507 packages is located at
1508 \begin_inset Flex URL
1511 \begin_layout Plain Layout
1513 https://tufte-latex.github.io/tufte-latex/
1519 On this website, you'll find links to the
1520 \begin_inset Flex SmallCaps
1523 \begin_layout Plain Layout
1529 repository of the tufte-latex project, mailing lists, bug tracker, and
1533 \begin_layout Standard
1534 \begin_inset CommandInset bibtex
1536 bibfiles "../biblioExample"