1 #LyX 2.4 created this file. For more info see https://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 authoryear
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
563 \begin_layout Plain Layout
564 \begin_inset Box Boxed
574 height_special "totalheight"
579 backgroundcolor "none"
582 \begin_layout Plain Layout
584 replace the box by your figure!
592 \begin_layout Plain Layout
593 \begin_inset Caption Standard
595 \begin_layout Plain Layout
596 This is a margin figure.
597 The figure will be put in the margin.
598 \begin_inset CommandInset label
617 \begin_layout Standard
618 \begin_inset Note Greyedout
621 \begin_layout Plain Layout
626 If you are using margin figures or tables you must use the default float
627 placement option in the document settings under
643 \begin_layout Standard
649 \begin_inset CommandInset ref
651 reference "fig:fullfig"
655 is an example of the wide figure float and figure
660 \begin_inset CommandInset ref
662 reference "fig:textfig"
666 is an example of the normal figure float.
668 \begin_inset Float figure
675 \begin_layout Plain Layout
676 \begin_inset Box Boxed
686 height_special "totalheight"
691 backgroundcolor "none"
694 \begin_layout Plain Layout
696 replace the box by your figure!
704 \begin_layout Plain Layout
705 \begin_inset Caption Standard
707 \begin_layout Plain Layout
708 This is a wide figure (
715 Notice that this figure takes up the full page width.
718 \begin_inset CommandInset label
737 \begin_layout Standard
738 \begin_inset VSpace 6theight%
744 \begin_layout Standard
745 \begin_inset Float figure
752 \begin_layout Plain Layout
753 \begin_inset Box Boxed
763 height_special "totalheight"
768 backgroundcolor "none"
771 \begin_layout Plain Layout
773 replace the box by your figure!
781 \begin_layout Plain Layout
782 \begin_inset Caption Standard
784 \begin_layout Plain Layout
785 This is a normal figure.
788 Notice that this figure only takes up the main textblock width.
791 \begin_inset CommandInset label
810 \begin_layout Standard
816 \begin_inset CommandInset ref
818 reference "tab:normaltab"
822 shows a table created with the
826 package (this is border style
827 \begin_inset Quotes eld
831 \begin_inset Quotes erd
834 in the tabular dialog).
835 Notice the lack of vertical rules—they serve only to clutter the table's
839 \begin_layout Standard
840 \begin_inset Float table
847 \begin_layout Plain Layout
850 <lyxtabular version="3" rows="6" columns="2">
851 <features booktabs="true" tabularvalignment="middle">
852 <column alignment="left" valignment="top">
853 <column alignment="left" valignment="top">
855 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
858 \begin_layout Plain Layout
864 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
867 \begin_layout Plain Layout
875 <cell alignment="left" valignment="top" usebox="none">
878 \begin_layout Plain Layout
884 <cell alignment="left" valignment="top" usebox="none">
887 \begin_layout Plain Layout
888 \begin_inset Formula $\unit[8\nicefrac{1}{2}]{inches}$
898 <cell alignment="left" valignment="top" usebox="none">
901 \begin_layout Plain Layout
907 <cell alignment="left" valignment="top" usebox="none">
910 \begin_layout Plain Layout
911 \begin_inset Formula $\unit[11]{inches}$
921 <cell alignment="left" valignment="top" usebox="none">
924 \begin_layout Plain Layout
930 <cell alignment="left" valignment="top" usebox="none">
933 \begin_layout Plain Layout
934 \begin_inset Formula $\unit[6\nicefrac{1}{2}]{inches}$
944 <cell alignment="left" valignment="top" usebox="none">
947 \begin_layout Plain Layout
948 Textblock/sidenote gutter
953 <cell alignment="left" valignment="top" usebox="none">
956 \begin_layout Plain Layout
957 \begin_inset Formula $\unit[\nicefrac{3}{8}]{inches}$
967 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
970 \begin_layout Plain Layout
976 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
979 \begin_layout Plain Layout
980 \begin_inset Formula $\unit[2]{inches}$
996 \begin_layout Plain Layout
997 \begin_inset Caption Standard
999 \begin_layout Plain Layout
1000 Here are the dimensions of the various margins used in the
1005 \begin_inset CommandInset label
1007 name "tab:normaltab"
1024 \begin_layout Section
1025 Full-width text blocks
1028 \begin_layout Standard
1029 In addition to the new float types, there is a
1033 environment that stretches across the main text block and the sidenotes
1034 area and ragged left:
1037 \begin_layout Full Width
1038 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
1039 Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis.
1040 Curabitur dictum gravida mauris.
1041 Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
1042 Donec vehicula augue eu neque.
1043 Pellentesque habitant morbi tristique senectus et netus et malesuada fames
1046 Cras viverra metus rhoncus sem.
1047 Nulla et lectus vestibulum urna fringilla ultrices.
1048 Phasellus eu tellus sit amet tortor gravida placerat.
1049 Integer sapien est, iaculis in, pretium quis, viverra ac, nunc.
1050 Praesent eget sem vel leo ultrices bibendum.
1052 Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla.
1053 Curabitur auctor semper nulla.
1054 Donec varius orci eget risus.
1055 Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
1056 Duis eget orci sit amet orci dignissim rutrum.
1063 \begin_layout Section
1067 \begin_layout Subsection
1071 \begin_layout Standard
1080 typefaces are installed, this style will use them automatically.
1081 Otherwise, we'll fall back on the
1088 \begin_layout Subsection
1092 \begin_layout Standard
1093 This document class includes two new character styles and some improvements
1094 on existing commands for letterspacing.
1097 \begin_layout Standard
1098 When setting strings of
1099 \begin_inset Flex AllCaps
1102 \begin_layout Plain Layout
1109 \begin_inset Flex SmallCaps
1112 \begin_layout Plain Layout
1118 , the letterspacing—that is, the spacing between the letters—should be increased
1120 \begin_inset CommandInset citation
1122 key "Bringhurst2005"
1133 Edit\SpecialChar menuseparator
1134 TextStyle\SpecialChar menuseparator
1137 ) has proper letterspacing for strings of
1138 \begin_inset Flex AllCaps
1141 \begin_layout Plain Layout
1142 FULL CAPITAL LETTERS
1153 Edit\SpecialChar menuseparator
1154 TextStyle\SpecialChar menuseparator
1157 ) has letterspacing for
1158 \begin_inset Flex SmallCaps
1161 \begin_layout Plain Layout
1162 small capital letters
1168 These commands will also automatically convert the case of the text to
1169 upper- or lowercase, respectively.
1172 \begin_layout Standard
1177 shape has also been redefined to include letterspacing.
1178 Its case is left as is, however.
1179 This allows one to use both uppercase and lowercase letters:
1181 The Initial Letters Of The Words In This Sentence Are Capitalized.
1184 \begin_layout Section
1188 \begin_layout Subsection
1189 Document class options
1192 \begin_layout Standard
1197 class is based on the
1202 Therefore, you can pass any of the typical article options.
1203 There are a few options that are specific to the
1207 document class, however.
1210 \begin_layout Itemize
1215 option will set the paper size to A4 instead of the default US letter size.
1218 \begin_layout Itemize
1223 option will set the sidenotes in a
1227 typeface instead of the default roman.
1230 \begin_layout Itemize
1235 option will modify the running heads so that the page number is printed
1236 on the outside edge (as opposed to always printing the page number on the
1244 \begin_layout Itemize
1249 option typesets the sidenotes on the outside edge of the page.
1250 This is how books are traditionally printed, but is contrary to Tufte's
1251 book design which sets the sidenotes on the right side of the page.
1252 This option implicitly sets the
1259 \begin_layout Itemize
1264 option sets all the text fully justified (flush left and right).
1265 The default is to set the text ragged right.
1266 The body text of Tufte's books are set ragged right.
1267 This prevents needless hyphenation and makes it easier to read the text
1268 in the slightly narrower column.
1271 \begin_layout Subsection
1272 Defining new sections
1273 \begin_inset CommandInset label
1275 name "sec:defining-sections"
1282 \begin_layout Standard
1283 As mentioned on page
1284 \begin_inset space ~
1288 \begin_inset CommandInset ref
1289 LatexCommand pageref
1290 reference "sec:headings"
1298 document class only defines
1309 \begin_layout Standard
1310 If you want to define, say, a
1314 heading, you could do it as follows:
1317 \begin_layout LyX-Code
1323 \begin_layout LyX-Code
1331 \begin_layout LyX-Code
1334 @startsection{paragraph}% the name of the new section
1337 \begin_layout LyX-Code
1338 {4}% the section level number
1341 \begin_layout LyX-Code
1342 {0em}% indentation amount
1345 \begin_layout LyX-Code
1348 baselineskip}% amount of space to leave before heading
1351 \begin_layout LyX-Code
1352 {-1.5em}% amount of space to leave after heading
1355 \begin_layout LyX-Code
1363 \begin_layout LyX-Code
1367 \begin_layout LyX-Code
1373 \begin_layout Standard
1376 Document\SpecialChar menuseparator
1377 Settings\SpecialChar menuseparator
1380 and you'll now be able to use
1386 in \SpecialChar LaTeX
1390 \begin_layout Standard
1391 For more details on defining section levels, see
1393 The \SpecialChar LaTeX
1395 \begin_inset space \space{}
1401 \begin_inset CommandInset citation
1415 \begin_layout Section
1419 \begin_layout Subsection
1420 Package Dependencies
1423 \begin_layout Standard
1424 The following is a list of packages that the
1428 document class relies upon.
1429 Packages marked with an asterisk are optional.
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 Itemize
1476 \begin_layout Itemize
1480 \begin_layout Itemize
1484 \begin_layout Itemize
1488 \begin_layout Subsection
1489 Tufte-\SpecialChar LaTeX
1491 \begin_inset space \space{}
1497 \begin_layout Standard
1498 The website for the Tufte-\SpecialChar LaTeX
1500 \begin_inset space \space{}
1503 packages is located at
1504 \begin_inset Flex URL
1507 \begin_layout Plain Layout
1509 https://tufte-latex.github.io/tufte-latex/
1515 On this website, you'll find links to the
1516 \begin_inset Flex SmallCaps
1519 \begin_layout Plain Layout
1525 repository of the tufte-latex project, mailing lists, bug tracker, and
1529 \begin_layout Standard
1530 \begin_inset CommandInset bibtex
1532 bibfiles "biblioExample"