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
74 \math_numbering_side default
78 \paperpagestyle default
79 \tracking_changes false
89 \begin_layout Standard
90 \begin_inset Note Note
93 \begin_layout Plain Layout
98 : To be able to view your file as PDF you must have the \SpecialChar LaTeX
103 installed to your \SpecialChar LaTeX
105 If you are using MiK\SpecialChar TeX
106 , you will automatically be asked to install this package
107 when previewing your file, if you are using \SpecialChar TeX
108 Live, use \SpecialChar TeX
109 Live's package manager.
112 \begin_layout Plain Layout
117 : If you wish to compile to PDF with plain \SpecialChar LaTeX
118 (instead of pdf\SpecialChar TeX
119 ), there is currently
120 a bug in the Tufte class that causes errors.
121 You can add the class option 'nols' (put this in the
122 \begin_inset Quotes eld
126 \begin_inset Quotes erd
129 field of Document\SpecialChar menuseparator
130 Settings \SpecialChar menuseparator
131 Document Class) to get rid of the errors, but
132 this also removes letterspacing, an important part of the Tufte design.
140 \begin_layout Standard
141 \begin_inset Note Note
144 \begin_layout Plain Layout
149 is left out, the current date will be used.
158 An Example of the Usage of the Tufte-Handout Style
162 Tufte-LaTeX Developers and The LyX Team
165 \begin_layout Abstract
167 This document describes the
173 It also provides examples and comments on the style's use.
174 It is based on the example file shiped with
178 , but adapted for the use with \SpecialChar LyX
182 \begin_layout Standard
191 \begin_layout Plain Layout
194 \begin_inset Flex URL
197 \begin_layout Plain Layout
199 http://ctan.org/tex-archive/macros/latex/contrib/tufte-latex
209 defines a style similar to the style
213 uses in his books and handouts.
214 Tufte's style is known for its extensive use of sidenotes, tight integration
215 of graphics with text, and well-set typography.
216 This document aims to be at once a demonstration of the features of the
221 document class and a style guide to its use.
228 \begin_layout Section
232 \begin_layout Subsection
233 Headings and paragraph design
234 \begin_inset CommandInset label
243 \begin_layout Standard
260 , both numbered and non-numbered), as demonstrated above.
263 \begin_layout Standard
264 If you need more than two levels of section headings, you'll have to define
265 them yourself at the moment;
269 \begin_layout Plain Layout
271 \begin_inset Quotes eld
274 Defining new sections
275 \begin_inset Quotes erd
283 \begin_inset CommandInset ref
285 reference "sec:defining-sections"
289 for help with defining more heading levels.
294 there are no pre-defined styles for anything below a
305 The Elements of Typographic Style
308 \begin_inset CommandInset citation
316 \begin_inset Quotes eld
319 use as many levels of headings as you need: no more, and no fewer.
320 \begin_inset Quotes erd
326 \begin_layout Standard
327 \begin_inset Flex NewThought
330 \begin_layout Plain Layout
337 \begin_inset CommandInset citation
344 Tufte starts each section with a bit of vertical space, a non-indented
345 paragraph, and sets the first few words of the sentence in
350 To accomplish this, use the
356 Edit\SpecialChar menuseparator
357 TextStyle\SpecialChar menuseparator
363 \begin_layout Subsection
367 \begin_layout Standard
368 One of the most prominent and distinctive features of this style is the
369 extensive use of sidenotes.
370 There is a wide margin to provide ample room for sidenotes and small figures.
371 Any footnotes will automatically be converted to sidenotes.
375 \begin_layout Plain Layout
376 This is a sidenote that was entered using a
385 Alternatively, you can also use the
389 inset directly; you'll find it in the
391 Insert\SpecialChar menuseparator
395 \begin_inset Flex Sidenote
398 \begin_layout Plain Layout
399 This is a sidenote that was entered using a
411 \begin_layout Standard
412 If you like to place ancillary information in the margin without the sidenote
413 mark (the superscript number), you can use the
419 \begin_inset Flex Marginnote
422 \begin_layout Plain Layout
423 This is Tufte's margin note.
424 Notice that there isn't a number preceding the note, and there is no number
425 in the main text where this note was written.
430 The normal margin note will work as well, but it will look rather odd.
431 \begin_inset Marginal
434 \begin_layout Plain Layout
435 This is a normal margin note.
444 \begin_layout Subsection
448 \begin_layout Standard
449 References are placed alongside their citations as sidenotes, as well.
450 This can be accomplished using the normal citation command.
454 \begin_layout Plain Layout
455 The first paragraph of this document includes a citation.
463 \begin_layout Standard
464 The complete list of references may also be printed automatically by using
467 Insert\SpecialChar menuseparator
468 Lists/TOC\SpecialChar menuseparator
476 (see the end of this document for an example.) If you do not want to print
477 a bibliography at the end of your document, place the
486 inset inside a \SpecialChar LyX
487 note and use the \SpecialChar LaTeX
497 \begin_layout Section
501 \begin_layout Standard
502 Images and graphics play an integral role in Tufte's work.
503 In addition to the standard
511 floats, this class provides special figure and table environments for full-widt
515 \begin_layout Standard
516 Full page width figures and tables can be produced by using figure or table
522 To place figures or tables in the margin, use the
535 \begin_inset CommandInset ref
537 reference "fig:marginfig"
542 \begin_inset Note Note
545 \begin_layout Plain Layout
546 Note: unfortunately, the counting inside the \SpecialChar LyX
548 Margin floats and normal floats are counted differently, whereas the use
549 the same counter in the output.
555 \begin_inset Float marginfigure
560 \begin_layout Plain Layout
561 \begin_inset Box Boxed
571 height_special "totalheight"
576 backgroundcolor "none"
579 \begin_layout Plain Layout
581 replace the box by your figure!
589 \begin_layout Plain Layout
590 \begin_inset Caption Standard
592 \begin_layout Plain Layout
593 This is a margin figure.
594 The figure will be put in the margin.
595 \begin_inset CommandInset label
614 \begin_layout Standard
615 \begin_inset Note Greyedout
618 \begin_layout Plain Layout
623 If you are using margin figures or tables you must use the default float
624 placement option in the document settings under
640 \begin_layout Standard
646 \begin_inset CommandInset ref
648 reference "fig:fullfig"
652 is an example of the wide figure float and figure
657 \begin_inset CommandInset ref
659 reference "fig:textfig"
663 is an example of the normal figure float.
665 \begin_inset Float figure
670 \begin_layout Plain Layout
671 \begin_inset Box Boxed
681 height_special "totalheight"
686 backgroundcolor "none"
689 \begin_layout Plain Layout
691 replace the box by your figure!
699 \begin_layout Plain Layout
700 \begin_inset Caption Standard
702 \begin_layout Plain Layout
703 This is a wide figure (
710 Notice that this figure takes up the full page width.
713 \begin_inset CommandInset label
732 \begin_layout Standard
733 \begin_inset VSpace 6theight%
739 \begin_layout Standard
740 \begin_inset Float figure
746 \begin_layout Plain Layout
747 \begin_inset Box Boxed
757 height_special "totalheight"
762 backgroundcolor "none"
765 \begin_layout Plain Layout
767 replace the box by your figure!
775 \begin_layout Plain Layout
776 \begin_inset Caption Standard
778 \begin_layout Plain Layout
779 This is a normal figure.
782 Notice that this figure only takes up the main textblock width.
785 \begin_inset CommandInset label
804 \begin_layout Standard
810 \begin_inset CommandInset ref
812 reference "tab:normaltab"
816 shows a table created with the
820 package (this is border style
821 \begin_inset Quotes eld
825 \begin_inset Quotes erd
828 in the tabular dialog).
829 Notice the lack of vertical rules—they serve only to clutter the table's
833 \begin_layout Standard
834 \begin_inset Float table
840 \begin_layout Plain Layout
843 <lyxtabular version="3" rows="6" columns="2">
844 <features booktabs="true" tabularvalignment="middle">
845 <column alignment="left" valignment="top">
846 <column alignment="left" valignment="top">
848 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
851 \begin_layout Plain Layout
857 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
860 \begin_layout Plain Layout
868 <cell alignment="left" valignment="top" usebox="none">
871 \begin_layout Plain Layout
877 <cell alignment="left" valignment="top" usebox="none">
880 \begin_layout Plain Layout
881 \begin_inset Formula $\unit[8\nicefrac{1}{2}]{inches}$
891 <cell alignment="left" valignment="top" usebox="none">
894 \begin_layout Plain Layout
900 <cell alignment="left" valignment="top" usebox="none">
903 \begin_layout Plain Layout
904 \begin_inset Formula $\unit[11]{inches}$
914 <cell alignment="left" valignment="top" usebox="none">
917 \begin_layout Plain Layout
923 <cell alignment="left" valignment="top" usebox="none">
926 \begin_layout Plain Layout
927 \begin_inset Formula $\unit[6\nicefrac{1}{2}]{inches}$
937 <cell alignment="left" valignment="top" usebox="none">
940 \begin_layout Plain Layout
941 Textblock/sidenote gutter
946 <cell alignment="left" valignment="top" usebox="none">
949 \begin_layout Plain Layout
950 \begin_inset Formula $\unit[\nicefrac{3}{8}]{inches}$
960 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
963 \begin_layout Plain Layout
969 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
972 \begin_layout Plain Layout
973 \begin_inset Formula $\unit[2]{inches}$
989 \begin_layout Plain Layout
990 \begin_inset Caption Standard
992 \begin_layout Plain Layout
993 Here are the dimensions of the various margins used in the
998 \begin_inset CommandInset label
1000 name "tab:normaltab"
1017 \begin_layout Section
1018 Full-width text blocks
1021 \begin_layout Standard
1022 In addition to the new float types, there is a
1026 environment that stretches across the main text block and the sidenotes
1027 area and ragged left:
1030 \begin_layout Full Width
1031 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
1032 Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis.
1033 Curabitur dictum gravida mauris.
1034 Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
1035 Donec vehicula augue eu neque.
1036 Pellentesque habitant morbi tristique senectus et netus et malesuada fames
1039 Cras viverra metus rhoncus sem.
1040 Nulla et lectus vestibulum urna fringilla ultrices.
1041 Phasellus eu tellus sit amet tortor gravida placerat.
1042 Integer sapien est, iaculis in, pretium quis, viverra ac, nunc.
1043 Praesent eget sem vel leo ultrices bibendum.
1045 Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla.
1046 Curabitur auctor semper nulla.
1047 Donec varius orci eget risus.
1048 Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
1049 Duis eget orci sit amet orci dignissim rutrum.
1056 \begin_layout Section
1060 \begin_layout Subsection
1064 \begin_layout Standard
1073 typefaces are installed, this style will use them automatically.
1074 Otherwise, we'll fall back on the
1081 \begin_layout Subsection
1085 \begin_layout Standard
1086 This document class includes two new character styles and some improvements
1087 on existing commands for letterspacing.
1090 \begin_layout Standard
1091 When setting strings of
1092 \begin_inset Flex AllCaps
1095 \begin_layout Plain Layout
1102 \begin_inset Flex SmallCaps
1105 \begin_layout Plain Layout
1111 , the letterspacing—that is, the spacing between the letters—should be increased
1113 \begin_inset CommandInset citation
1115 key "Bringhurst2005"
1126 Edit\SpecialChar menuseparator
1127 TextStyle\SpecialChar menuseparator
1130 ) has proper letterspacing for strings of
1131 \begin_inset Flex AllCaps
1134 \begin_layout Plain Layout
1135 FULL CAPITAL LETTERS
1146 Edit\SpecialChar menuseparator
1147 TextStyle\SpecialChar menuseparator
1150 ) has letterspacing for
1151 \begin_inset Flex SmallCaps
1154 \begin_layout Plain Layout
1155 small capital letters
1161 These commands will also automatically convert the case of the text to
1162 upper- or lowercase, respectively.
1165 \begin_layout Standard
1170 shape has also been redefined to include letterspacing.
1171 Its case is left as is, however.
1172 This allows one to use both uppercase and lowercase letters:
1174 The Initial Letters Of The Words In This Sentence Are Capitalized.
1177 \begin_layout Section
1181 \begin_layout Subsection
1182 Document class options
1185 \begin_layout Standard
1190 class is based on the
1195 Therefore, you can pass any of the typical article options.
1196 There are a few options that are specific to the
1200 document class, however.
1203 \begin_layout Itemize
1208 option will set the paper size to A4 instead of the default US letter size.
1211 \begin_layout Itemize
1216 option will set the sidenotes in a
1220 typeface instead of the default roman.
1223 \begin_layout Itemize
1228 option will modify the running heads so that the page number is printed
1229 on the outside edge (as opposed to always printing the page number on the
1237 \begin_layout Itemize
1242 option typesets the sidenotes on the outside edge of the page.
1243 This is how books are traditionally printed, but is contrary to Tufte's
1244 book design which sets the sidenotes on the right side of the page.
1245 This option implicitly sets the
1252 \begin_layout Itemize
1257 option sets all the text fully justified (flush left and right).
1258 The default is to set the text ragged right.
1259 The body text of Tufte's books are set ragged right.
1260 This prevents needless hyphenation and makes it easier to read the text
1261 in the slightly narrower column.
1264 \begin_layout Subsection
1265 Defining new sections
1266 \begin_inset CommandInset label
1268 name "sec:defining-sections"
1275 \begin_layout Standard
1276 As mentioned on page
1277 \begin_inset space ~
1281 \begin_inset CommandInset ref
1282 LatexCommand pageref
1283 reference "sec:headings"
1291 document class only defines
1302 \begin_layout Standard
1303 If you want to define, say, a
1307 heading, you could do it as follows:
1310 \begin_layout LyX-Code
1316 \begin_layout LyX-Code
1324 \begin_layout LyX-Code
1327 @startsection{paragraph}% the name of the new section
1330 \begin_layout LyX-Code
1331 {4}% the section level number
1334 \begin_layout LyX-Code
1335 {0em}% indentation amount
1338 \begin_layout LyX-Code
1341 baselineskip}% amount of space to leave before heading
1344 \begin_layout LyX-Code
1345 {-1.5em}% amount of space to leave after heading
1348 \begin_layout LyX-Code
1356 \begin_layout LyX-Code
1360 \begin_layout LyX-Code
1366 \begin_layout Standard
1369 Document\SpecialChar menuseparator
1370 Settings\SpecialChar menuseparator
1373 and you'll now be able to use
1379 in \SpecialChar LaTeX
1383 \begin_layout Standard
1384 For more details on defining section levels, see
1386 The \SpecialChar LaTeX
1388 \begin_inset space \space{}
1394 \begin_inset CommandInset citation
1408 \begin_layout Section
1412 \begin_layout Subsection
1413 Package Dependencies
1416 \begin_layout Standard
1417 The following is a list of packages that the
1421 document class relies upon.
1422 Packages marked with an asterisk are optional.
1425 \begin_layout Itemize
1429 \begin_layout Itemize
1433 \begin_layout Itemize
1437 \begin_layout Itemize
1441 \begin_layout Itemize
1445 \begin_layout Itemize
1449 \begin_layout Itemize
1453 \begin_layout Itemize
1457 \begin_layout Itemize
1461 \begin_layout Itemize
1465 \begin_layout Itemize
1469 \begin_layout Itemize
1473 \begin_layout Itemize
1477 \begin_layout Itemize
1481 \begin_layout Subsection
1482 Tufte-\SpecialChar LaTeX
1484 \begin_inset space \space{}
1490 \begin_layout Standard
1491 The website for the Tufte-\SpecialChar LaTeX
1493 \begin_inset space \space{}
1496 packages is located at
1497 \begin_inset Flex URL
1500 \begin_layout Plain Layout
1502 https://tufte-latex.github.io/tufte-latex/
1508 On this website, you'll find links to the
1509 \begin_inset Flex SmallCaps
1512 \begin_layout Plain Layout
1518 repository of the tufte-latex project, mailing lists, bug tracker, and
1522 \begin_layout Standard
1523 \begin_inset CommandInset bibtex
1525 bibfiles "biblioExample"