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 0
52 \use_package stackrel 0
53 \use_package stmaryrd 0
54 \use_package undertilde 0
56 \cite_engine_type default
60 \paperorientation portrait
64 \notefontcolor #0000ff
71 \paragraph_separation indent
72 \paragraph_indentation default
77 \paperpagestyle default
78 \tracking_changes false
87 \begin_layout Standard
88 \begin_inset Note Note
91 \begin_layout Plain Layout
96 : To be able to view your file as PDF you must have the \SpecialChar LaTeX
101 installed to your \SpecialChar LaTeX
103 If you are using MiK\SpecialChar TeX
104 , you will automatically be asked to install this package
105 when previewing your file, if you are using \SpecialChar TeX
106 Live, use \SpecialChar TeX
107 Live's package manager.
110 \begin_layout Plain Layout
115 : If you wish to compile to PDF with plain \SpecialChar LaTeX
116 (instead of pdf\SpecialChar TeX
117 ), there is currently
118 a bug in the Tufte class that causes errors.
119 You can add the class option 'nols' (put this in the
120 \begin_inset Quotes eld
124 \begin_inset Quotes erd
127 field of Document\SpecialChar menuseparator
128 Settings \SpecialChar menuseparator
129 Document Class) to get rid of the errors, but
130 this also removes letterspacing, an important part of the Tufte design.
138 \begin_layout Standard
139 \begin_inset Note Note
142 \begin_layout Plain Layout
147 is left out, the current date will be used.
156 An Example of the Usage of the Tufte-Handout Style
160 Tufte-LaTeX Developers and The LyX Team
163 \begin_layout Abstract
165 This document describes the
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 \SpecialChar LyX
180 \begin_layout Standard
189 \begin_layout Plain Layout
192 \begin_inset Flex URL
195 \begin_layout Plain Layout
197 http://ctan.org/tex-archive/macros/latex/contrib/tufte-latex
207 defines a style similar to the style
211 uses in his books and handouts.
212 Tufte's style is known for its extensive use of sidenotes, tight integration
213 of graphics with text, and well-set typography.
214 This document aims to be at once a demonstration of the features of the
219 document class and a style guide to its use.
226 \begin_layout Section
230 \begin_layout Subsection
231 Headings and paragraph design
232 \begin_inset CommandInset label
241 \begin_layout Standard
258 , both numbered and non-numbered), as demonstrated above.
261 \begin_layout Standard
262 If you need more than two levels of section headings, you'll have to define
263 them yourself at the moment;
267 \begin_layout Plain Layout
269 \begin_inset Quotes eld
272 Defining new sections
273 \begin_inset Quotes erd
281 \begin_inset CommandInset ref
283 reference "sec:defining-sections"
287 for help with defining more heading levels.
292 there are no pre-defined styles for anything below a
303 The Elements of Typographic Style
306 \begin_inset CommandInset citation
314 \begin_inset Quotes eld
317 use as many levels of headings as you need: no more, and no fewer.
318 \begin_inset Quotes erd
324 \begin_layout Standard
325 \begin_inset Flex NewThought
328 \begin_layout Plain Layout
335 \begin_inset CommandInset citation
342 Tufte starts each section with a bit of vertical space, a non-indented
343 paragraph, and sets the first few words of the sentence in
348 To accomplish this, use the
354 Edit\SpecialChar menuseparator
355 TextStyle\SpecialChar menuseparator
361 \begin_layout Subsection
365 \begin_layout Standard
366 One of the most prominent and distinctive features of this style is the
367 extensive use of sidenotes.
368 There is a wide margin to provide ample room for sidenotes and small figures.
369 Any footnotes will automatically be converted to sidenotes.
373 \begin_layout Plain Layout
374 This is a sidenote that was entered using a
383 Alternatively, you can also use the
387 inset directly; you'll find it in the
389 Insert\SpecialChar menuseparator
393 \begin_inset Flex Sidenote
396 \begin_layout Plain Layout
397 This is a sidenote that was entered using a
409 \begin_layout Standard
410 If you like to place ancillary information in the margin without the sidenote
411 mark (the superscript number), you can use the
417 \begin_inset Flex Marginnote
420 \begin_layout Plain Layout
421 This is Tufte's margin note.
422 Notice that there isn't a number preceding the note, and there is no number
423 in the main text where this note was written.
428 The normal margin note will work as well, but it will look rather odd.
429 \begin_inset Marginal
432 \begin_layout Plain Layout
433 This is a normal margin note.
442 \begin_layout Subsection
446 \begin_layout Standard
447 References are placed alongside their citations as sidenotes, as well.
448 This can be accomplished using the normal citation command.
452 \begin_layout Plain Layout
453 The first paragraph of this document includes a citation.
461 \begin_layout Standard
462 The complete list of references may also be printed automatically by using
465 Insert\SpecialChar menuseparator
466 Lists/TOC\SpecialChar menuseparator
474 (see the end of this document for an example.) If you do not want to print
475 a bibliography at the end of your document, place the
484 inset inside a \SpecialChar LyX
485 note and use the \SpecialChar LaTeX
495 \begin_layout Section
499 \begin_layout Standard
500 Images and graphics play an integral role in Tufte's work.
501 In addition to the standard
509 floats, this class provides special figure and table environments for full-widt
513 \begin_layout Standard
514 Full page width figures and tables can be produced by using figure or table
520 To place figures or tables in the margin, use the
533 \begin_inset CommandInset ref
535 reference "fig:marginfig"
540 \begin_inset Note Note
543 \begin_layout Plain Layout
544 Note: unfortunately, the counting inside the \SpecialChar LyX
546 Margin floats and normal floats are counted differently, whereas the use
547 the same counter in the output.
553 \begin_inset Float marginfigure
558 \begin_layout Plain Layout
559 \begin_inset Box Boxed
569 height_special "totalheight"
574 backgroundcolor "none"
577 \begin_layout Plain Layout
579 replace the box by your figure!
587 \begin_layout Plain Layout
588 \begin_inset Caption Standard
590 \begin_layout Plain Layout
591 This is a margin figure.
592 The figure will be put in the margin.
593 \begin_inset CommandInset label
612 \begin_layout Standard
613 \begin_inset Note Greyedout
616 \begin_layout Plain Layout
621 If you are using margin figures or tables you must use the default float
622 placement option in the document settings under
638 \begin_layout Standard
644 \begin_inset CommandInset ref
646 reference "fig:fullfig"
650 is an example of the wide figure float and figure
655 \begin_inset CommandInset ref
657 reference "fig:textfig"
661 is an example of the normal figure float.
663 \begin_inset Float figure
668 \begin_layout Plain Layout
669 \begin_inset Box Boxed
679 height_special "totalheight"
684 backgroundcolor "none"
687 \begin_layout Plain Layout
689 replace the box by your figure!
697 \begin_layout Plain Layout
698 \begin_inset Caption Standard
700 \begin_layout Plain Layout
701 This is a wide figure (
708 Notice that this figure takes up the full page width.
711 \begin_inset CommandInset label
730 \begin_layout Standard
731 \begin_inset VSpace 6theight%
737 \begin_layout Standard
738 \begin_inset Float figure
744 \begin_layout Plain Layout
745 \begin_inset Box Boxed
755 height_special "totalheight"
760 backgroundcolor "none"
763 \begin_layout Plain Layout
765 replace the box by your figure!
773 \begin_layout Plain Layout
774 \begin_inset Caption Standard
776 \begin_layout Plain Layout
777 This is a normal figure.
780 Notice that this figure only takes up the main textblock width.
783 \begin_inset CommandInset label
802 \begin_layout Standard
808 \begin_inset CommandInset ref
810 reference "tab:normaltab"
814 shows a table created with the
818 package (this is border style
819 \begin_inset Quotes eld
823 \begin_inset Quotes erd
826 in the tabular dialog).
827 Notice the lack of vertical rules—they serve only to clutter the table's
831 \begin_layout Standard
832 \begin_inset Float table
838 \begin_layout Plain Layout
841 <lyxtabular version="3" rows="6" columns="2">
842 <features booktabs="true" tabularvalignment="middle">
843 <column alignment="left" valignment="top">
844 <column alignment="left" valignment="top">
846 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
849 \begin_layout Plain Layout
855 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
858 \begin_layout Plain Layout
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[8\nicefrac{1}{2}]{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[11]{inches}$
912 <cell alignment="left" valignment="top" usebox="none">
915 \begin_layout Plain Layout
921 <cell alignment="left" valignment="top" usebox="none">
924 \begin_layout Plain Layout
925 \begin_inset Formula $\unit[6\nicefrac{1}{2}]{inches}$
935 <cell alignment="left" valignment="top" usebox="none">
938 \begin_layout Plain Layout
939 Textblock/sidenote gutter
944 <cell alignment="left" valignment="top" usebox="none">
947 \begin_layout Plain Layout
948 \begin_inset Formula $\unit[\nicefrac{3}{8}]{inches}$
958 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
961 \begin_layout Plain Layout
967 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
970 \begin_layout Plain Layout
971 \begin_inset Formula $\unit[2]{inches}$
987 \begin_layout Plain Layout
988 \begin_inset Caption Standard
990 \begin_layout Plain Layout
991 Here are the dimensions of the various margins used in the
996 \begin_inset CommandInset label
1015 \begin_layout Section
1016 Full-width text blocks
1019 \begin_layout Standard
1020 In addition to the new float types, there is a
1024 environment that stretches across the main text block and the sidenotes
1025 area and ragged left:
1028 \begin_layout Full Width
1029 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
1030 Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis.
1031 Curabitur dictum gravida mauris.
1032 Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
1033 Donec vehicula augue eu neque.
1034 Pellentesque habitant morbi tristique senectus et netus et malesuada fames
1037 Cras viverra metus rhoncus sem.
1038 Nulla et lectus vestibulum urna fringilla ultrices.
1039 Phasellus eu tellus sit amet tortor gravida placerat.
1040 Integer sapien est, iaculis in, pretium quis, viverra ac, nunc.
1041 Praesent eget sem vel leo ultrices bibendum.
1043 Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla.
1044 Curabitur auctor semper nulla.
1045 Donec varius orci eget risus.
1046 Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
1047 Duis eget orci sit amet orci dignissim rutrum.
1054 \begin_layout Section
1058 \begin_layout Subsection
1062 \begin_layout Standard
1071 typefaces are installed, this style will use them automatically.
1072 Otherwise, we'll fall back on the
1079 \begin_layout Subsection
1083 \begin_layout Standard
1084 This document class includes two new character styles and some improvements
1085 on existing commands for letterspacing.
1088 \begin_layout Standard
1089 When setting strings of
1090 \begin_inset Flex AllCaps
1093 \begin_layout Plain Layout
1100 \begin_inset Flex SmallCaps
1103 \begin_layout Plain Layout
1109 , the letterspacing—that is, the spacing between the letters—should be increased
1111 \begin_inset CommandInset citation
1113 key "Bringhurst2005"
1124 Edit\SpecialChar menuseparator
1125 TextStyle\SpecialChar menuseparator
1128 ) has proper letterspacing for strings of
1129 \begin_inset Flex AllCaps
1132 \begin_layout Plain Layout
1133 FULL CAPITAL LETTERS
1144 Edit\SpecialChar menuseparator
1145 TextStyle\SpecialChar menuseparator
1148 ) has letterspacing for
1149 \begin_inset Flex SmallCaps
1152 \begin_layout Plain Layout
1153 small capital letters
1159 These commands will also automatically convert the case of the text to
1160 upper- or lowercase, respectively.
1163 \begin_layout Standard
1168 shape has also been redefined to include letterspacing.
1169 Its case is left as is, however.
1170 This allows one to use both uppercase and lowercase letters:
1172 The Initial Letters Of The Words In This Sentence Are Capitalized.
1175 \begin_layout Section
1179 \begin_layout Subsection
1180 Document class options
1183 \begin_layout Standard
1188 class is based on the
1193 Therefore, you can pass any of the typical article options.
1194 There are a few options that are specific to the
1198 document class, however.
1201 \begin_layout Itemize
1206 option will set the paper size to A4 instead of the default US letter size.
1209 \begin_layout Itemize
1214 option will set the sidenotes in a
1218 typeface instead of the default roman.
1221 \begin_layout Itemize
1226 option will modify the running heads so that the page number is printed
1227 on the outside edge (as opposed to always printing the page number on the
1235 \begin_layout Itemize
1240 option typesets the sidenotes on the outside edge of the page.
1241 This is how books are traditionally printed, but is contrary to Tufte's
1242 book design which sets the sidenotes on the right side of the page.
1243 This option implicitly sets the
1250 \begin_layout Itemize
1255 option sets all the text fully justified (flush left and right).
1256 The default is to set the text ragged right.
1257 The body text of Tufte's books are set ragged right.
1258 This prevents needless hyphenation and makes it easier to read the text
1259 in the slightly narrower column.
1262 \begin_layout Subsection
1263 Defining new sections
1264 \begin_inset CommandInset label
1266 name "sec:defining-sections"
1273 \begin_layout Standard
1274 As mentioned on page
1275 \begin_inset space ~
1279 \begin_inset CommandInset ref
1280 LatexCommand pageref
1281 reference "sec:headings"
1289 document class only defines
1300 \begin_layout Standard
1301 If you want to define, say, a
1305 heading, you could do it as follows:
1308 \begin_layout LyX-Code
1314 \begin_layout LyX-Code
1322 \begin_layout LyX-Code
1325 @startsection{paragraph}% the name of the new section
1328 \begin_layout LyX-Code
1329 {4}% the section level number
1332 \begin_layout LyX-Code
1333 {0em}% indentation amount
1336 \begin_layout LyX-Code
1339 baselineskip}% amount of space to leave before heading
1342 \begin_layout LyX-Code
1343 {-1.5em}% amount of space to leave after heading
1346 \begin_layout LyX-Code
1354 \begin_layout LyX-Code
1358 \begin_layout LyX-Code
1364 \begin_layout Standard
1367 Document\SpecialChar menuseparator
1368 Settings\SpecialChar menuseparator
1371 and you'll now be able to use
1377 in \SpecialChar LaTeX
1381 \begin_layout Standard
1382 For more details on defining section levels, see
1384 The \SpecialChar LaTeX
1386 \begin_inset space \space{}
1392 \begin_inset CommandInset citation
1406 \begin_layout Section
1410 \begin_layout Subsection
1411 Package Dependencies
1414 \begin_layout Standard
1415 The following is a list of packages that the
1419 document class relies upon.
1420 Packages marked with an asterisk are optional.
1423 \begin_layout Itemize
1427 \begin_layout Itemize
1431 \begin_layout Itemize
1435 \begin_layout Itemize
1439 \begin_layout Itemize
1443 \begin_layout Itemize
1447 \begin_layout Itemize
1451 \begin_layout Itemize
1455 \begin_layout Itemize
1459 \begin_layout Itemize
1463 \begin_layout Itemize
1467 \begin_layout Itemize
1471 \begin_layout Itemize
1475 \begin_layout Itemize
1479 \begin_layout Subsection
1480 Tufte-\SpecialChar LaTeX
1482 \begin_inset space \space{}
1488 \begin_layout Standard
1489 The website for the Tufte-\SpecialChar LaTeX
1491 \begin_inset space \space{}
1494 packages is located at
1495 \begin_inset Flex URL
1498 \begin_layout Plain Layout
1500 https://tufte-latex.github.io/tufte-latex/
1506 On this website, you'll find links to the
1507 \begin_inset Flex SmallCaps
1510 \begin_layout Plain Layout
1516 repository of the tufte-latex project, mailing lists, bug tracker, and
1520 \begin_layout Standard
1521 \begin_inset CommandInset bibtex
1523 bibfiles "biblioExample"