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
23 \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
68 \notefontcolor #0000ff
75 \paragraph_separation indent
76 \paragraph_indentation default
78 \math_numbering_side default
83 \paperpagestyle default
85 \tracking_changes false
88 \postpone_fragile_content false
92 \docbook_table_output 0
93 \docbook_mathml_prefix 1
98 \begin_layout Standard
99 \begin_inset Note Note
102 \begin_layout Plain Layout
108 To be able to view your file as PDF you must have the \SpecialChar LaTeX
113 installed to your \SpecialChar LaTeX
115 If you are using MiK\SpecialChar TeX
117 you will automatically be asked to install this package when previewing your file,
118 if you are using \SpecialChar TeX
121 Live's package manager.
124 \begin_layout Plain Layout
130 If you wish to compile to PDF with plain \SpecialChar LaTeX
131 (instead of pdf\SpecialChar TeX
133 there is currently a bug in the Tufte class that causes errors.
134 You can add the class option 'nols' (put this in the
135 \begin_inset Quotes eld
139 \begin_inset Quotes erd
142 field of Document\SpecialChar menuseparator
143 Settings \SpecialChar menuseparator
144 Document Class) to get rid of the errors,
145 but this also removes letterspacing,
146 an important part of the Tufte design.
154 \begin_layout Standard
155 \begin_inset Note Note
158 \begin_layout Plain Layout
164 the current date will be used.
173 An Example of the Usage of the Tufte-Handout Style
177 Tufte-LaTeX Developers and The LyX Team
180 \begin_layout Abstract
182 This document describes the
188 It also provides examples and comments on the style's use.
189 It is based on the example file shiped with
194 but adapted for the use with \SpecialChar LyX
198 \begin_layout Standard
207 \begin_layout Plain Layout
210 \begin_inset Flex URL
213 \begin_layout Plain Layout
215 http://ctan.org/tex-archive/macros/latex/contrib/tufte-latex
225 defines a style similar to the style
229 uses in his books and handouts.
230 Tufte's style is known for its extensive use of sidenotes,
231 tight integration of graphics with text,
232 and well-set typography.
233 This document aims to be at once a demonstration of the features of the
237 document class and a style guide to its use.
244 \begin_layout Section
248 \begin_layout Subsection
249 Headings and paragraph design
250 \begin_inset CommandInset label
259 \begin_layout Standard
278 both numbered and non-numbered),
279 as demonstrated above.
282 \begin_layout Standard
283 If you need more than two levels of section headings,
284 you'll have to define them yourself at the moment;
288 \begin_layout Plain Layout
290 \begin_inset Quotes eld
293 Defining new sections
294 \begin_inset Quotes erd
302 \begin_inset CommandInset ref
304 reference "sec:defining-sections"
309 for help with defining more heading levels.
314 there are no pre-defined styles for anything below a
325 The Elements of Typographic Style
328 \begin_inset CommandInset citation
336 \begin_inset Quotes eld
339 use as many levels of headings as you need:
342 \begin_inset Quotes erd
348 \begin_layout Standard
349 \begin_inset Flex NewThought
352 \begin_layout Plain Layout
359 \begin_inset CommandInset citation
366 Tufte starts each section with a bit of vertical space,
367 a non-indented paragraph,
368 and sets the first few words of the sentence in
380 Edit\SpecialChar menuseparator
381 TextStyle\SpecialChar menuseparator
387 \begin_layout Subsection
391 \begin_layout Standard
392 One of the most prominent and distinctive features of this style is the extensive use of sidenotes.
393 There is a wide margin to provide ample room for sidenotes and small figures.
394 Any footnotes will automatically be converted to sidenotes.
398 \begin_layout Plain Layout
399 This is a sidenote that was entered using a
414 you'll find it in the
416 Insert\SpecialChar menuseparator
420 \begin_inset Flex Sidenote
423 \begin_layout Plain Layout
424 This is a sidenote that was entered using a
436 \begin_layout Standard
437 If you like to place ancillary information in the margin without the sidenote mark (the superscript number),
444 \begin_inset Flex Marginnote
447 \begin_layout Plain Layout
448 This is Tufte's margin note.
449 Notice that there isn't a number preceding the note,
450 and there is no number in the main text where this note was written.
455 The normal margin note will work as well,
456 but it will look rather odd.
457 \begin_inset Marginal
460 \begin_layout Plain Layout
461 This is a normal margin note.
470 \begin_layout Subsection
474 \begin_layout Standard
475 References are placed alongside their citations as sidenotes,
477 This can be accomplished using the normal citation command.
481 \begin_layout Plain Layout
482 The first paragraph of this document includes a citation.
490 \begin_layout Standard
491 The complete list of references may also be printed automatically by using
493 Insert\SpecialChar menuseparator
494 Lists/TOC\SpecialChar menuseparator
502 (see the end of this document for an example.) If you do not want to print a bibliography at the end of your document,
512 inset inside a \SpecialChar LyX
513 note and use the \SpecialChar LaTeX
523 \begin_layout Section
527 \begin_layout Standard
528 Images and graphics play an integral role in Tufte's work.
529 In addition to the standard
538 this class provides special figure and table environments for full-width floats.
541 \begin_layout Standard
542 Full page width figures and tables can be produced by using figure or table floats and clicking
547 To place figures or tables in the margin,
561 \begin_inset CommandInset ref
563 reference "fig:marginfig"
569 \begin_inset Note Note
572 \begin_layout Plain Layout
575 the counting inside the \SpecialChar LyX
577 Margin floats and normal floats are counted differently,
578 whereas the use the same counter in the output.
584 \begin_inset Float marginfigure
591 \begin_layout Plain Layout
592 \begin_inset Box Boxed
602 height_special "totalheight"
607 backgroundcolor "none"
610 \begin_layout Plain Layout
612 replace the box by your figure!
620 \begin_layout Plain Layout
621 \begin_inset Caption Standard
623 \begin_layout Plain Layout
624 This is a margin figure.
625 The figure will be put in the margin.
626 \begin_inset CommandInset label
645 \begin_layout Standard
646 \begin_inset Note Greyedout
649 \begin_layout Plain Layout
655 If you are using margin figures or tables you must use the default float placement option in the document settings under
671 \begin_layout Standard
677 \begin_inset CommandInset ref
679 reference "fig:fullfig"
684 is an example of the wide figure float and figure
689 \begin_inset CommandInset ref
691 reference "fig:textfig"
696 is an example of the normal figure float.
698 \begin_inset Float figure
705 \begin_layout Plain Layout
706 \begin_inset Box Boxed
716 height_special "totalheight"
721 backgroundcolor "none"
724 \begin_layout Plain Layout
726 replace the box by your figure!
734 \begin_layout Plain Layout
735 \begin_inset Caption Standard
737 \begin_layout Plain Layout
738 This is a wide figure (
745 Notice that this figure takes up the full page width.
748 \begin_inset CommandInset label
767 \begin_layout Standard
768 \begin_inset VSpace 6theight%
774 \begin_layout Standard
775 \begin_inset Float figure
782 \begin_layout Plain Layout
783 \begin_inset Box Boxed
793 height_special "totalheight"
798 backgroundcolor "none"
801 \begin_layout Plain Layout
803 replace the box by your figure!
811 \begin_layout Plain Layout
812 \begin_inset Caption Standard
814 \begin_layout Plain Layout
815 This is a normal figure.
818 Notice that this figure only takes up the main textblock width.
821 \begin_inset CommandInset label
840 \begin_layout Standard
846 \begin_inset CommandInset ref
848 reference "tab:normaltab"
853 shows a table created with the
857 package (this is border style
858 \begin_inset Quotes eld
862 \begin_inset Quotes erd
865 in the tabular dialog).
866 Notice the lack of vertical rules—
867 they serve only to clutter the table's data.
870 \begin_layout Standard
871 \begin_inset Float table
878 \begin_layout Plain Layout
881 <lyxtabular version="3" rows="6" columns="2">
882 <features booktabs="true" tabularvalignment="middle">
883 <column alignment="left" valignment="top">
884 <column alignment="left" valignment="top">
886 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
889 \begin_layout Plain Layout
895 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
898 \begin_layout Plain Layout
906 <cell alignment="left" valignment="top" usebox="none">
909 \begin_layout Plain Layout
915 <cell alignment="left" valignment="top" usebox="none">
918 \begin_layout Plain Layout
919 \begin_inset Formula $\unit[8\nicefrac{1}{2}]{inches}$
929 <cell alignment="left" valignment="top" usebox="none">
932 \begin_layout Plain Layout
938 <cell alignment="left" valignment="top" usebox="none">
941 \begin_layout Plain Layout
942 \begin_inset Formula $\unit[11]{inches}$
952 <cell alignment="left" valignment="top" usebox="none">
955 \begin_layout Plain Layout
961 <cell alignment="left" valignment="top" usebox="none">
964 \begin_layout Plain Layout
965 \begin_inset Formula $\unit[6\nicefrac{1}{2}]{inches}$
975 <cell alignment="left" valignment="top" usebox="none">
978 \begin_layout Plain Layout
979 Textblock/sidenote gutter
984 <cell alignment="left" valignment="top" usebox="none">
987 \begin_layout Plain Layout
988 \begin_inset Formula $\unit[\nicefrac{3}{8}]{inches}$
998 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
1001 \begin_layout Plain Layout
1007 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
1010 \begin_layout Plain Layout
1011 \begin_inset Formula $\unit[2]{inches}$
1027 \begin_layout Plain Layout
1028 \begin_inset Caption Standard
1030 \begin_layout Plain Layout
1031 Here are the dimensions of the various margins used in the
1036 \begin_inset CommandInset label
1038 name "tab:normaltab"
1055 \begin_layout Section
1056 Full-width text blocks
1059 \begin_layout Standard
1060 In addition to the new float types,
1065 environment that stretches across the main text block and the sidenotes area and ragged left:
1068 \begin_layout Full Width
1069 Lorem ipsum dolor sit amet,
1070 consectetuer adipiscing elit.
1076 Curabitur dictum gravida mauris.
1082 Donec vehicula augue eu neque.
1083 Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
1085 Cras viverra metus rhoncus sem.
1086 Nulla et lectus vestibulum urna fringilla ultrices.
1087 Phasellus eu tellus sit amet tortor gravida placerat.
1093 Praesent eget sem vel leo ultrices bibendum.
1100 Curabitur auctor semper nulla.
1101 Donec varius orci eget risus.
1107 Duis eget orci sit amet orci dignissim rutrum.
1114 \begin_layout Section
1118 \begin_layout Subsection
1122 \begin_layout Standard
1131 typefaces are installed,
1132 this style will use them automatically.
1134 we'll fall back on the
1141 \begin_layout Subsection
1145 \begin_layout Standard
1146 This document class includes two new character styles and some improvements on existing commands for letterspacing.
1149 \begin_layout Standard
1150 When setting strings of
1151 \begin_inset Flex AllCaps
1154 \begin_layout Plain Layout
1161 \begin_inset Flex SmallCaps
1164 \begin_layout Plain Layout
1171 the letterspacing—
1173 the spacing between the letters—
1174 should be increased slightly.
1175 \begin_inset CommandInset citation
1177 key "Bringhurst2005"
1188 Edit\SpecialChar menuseparator
1189 TextStyle\SpecialChar menuseparator
1192 ) has proper letterspacing for strings of
1193 \begin_inset Flex AllCaps
1196 \begin_layout Plain Layout
1197 FULL CAPITAL LETTERS
1209 Edit\SpecialChar menuseparator
1210 TextStyle\SpecialChar menuseparator
1213 ) has letterspacing for
1214 \begin_inset Flex SmallCaps
1217 \begin_layout Plain Layout
1218 small capital letters
1224 These commands will also automatically convert the case of the text to upper- or lowercase,
1228 \begin_layout Standard
1233 shape has also been redefined to include letterspacing.
1234 Its case is left as is,
1236 This allows one to use both uppercase and lowercase letters:
1239 The Initial Letters Of The Words In This Sentence Are Capitalized.
1242 \begin_layout Section
1246 \begin_layout Subsection
1247 Document class options
1250 \begin_layout Standard
1255 class is based on the
1261 you can pass any of the typical article options.
1262 There are a few options that are specific to the
1270 \begin_layout Itemize
1275 option will set the paper size to A4 instead of the default US letter size.
1278 \begin_layout Itemize
1283 option will set the sidenotes in a
1287 typeface instead of the default roman.
1290 \begin_layout Itemize
1295 option will modify the running heads so that the page number is printed on the outside edge (as opposed to always printing the page number on the right-side edge in
1302 \begin_layout Itemize
1307 option typesets the sidenotes on the outside edge of the page.
1308 This is how books are traditionally printed,
1309 but is contrary to Tufte's book design which sets the sidenotes on the right side of the page.
1310 This option implicitly sets the
1317 \begin_layout Itemize
1322 option sets all the text fully justified (flush left and right).
1323 The default is to set the text ragged right.
1324 The body text of Tufte's books are set ragged right.
1325 This prevents needless hyphenation and makes it easier to read the text in the slightly narrower column.
1328 \begin_layout Subsection
1329 Defining new sections
1330 \begin_inset CommandInset label
1332 name "sec:defining-sections"
1339 \begin_layout Standard
1340 As mentioned on page
1341 \begin_inset space ~
1345 \begin_inset CommandInset ref
1346 LatexCommand pageref
1347 reference "sec:headings"
1357 document class only defines
1368 \begin_layout Standard
1369 If you want to define,
1376 you could do it as follows:
1379 \begin_layout LyX-Code
1385 \begin_layout LyX-Code
1393 \begin_layout LyX-Code
1396 @startsection{paragraph}% the name of the new section
1399 \begin_layout LyX-Code
1400 {4}% the section level number
1403 \begin_layout LyX-Code
1404 {0em}% indentation amount
1407 \begin_layout LyX-Code
1410 baselineskip}% amount of space to leave before heading
1413 \begin_layout LyX-Code
1414 {-1.5em}% amount of space to leave after heading
1417 \begin_layout LyX-Code
1425 \begin_layout LyX-Code
1429 \begin_layout LyX-Code
1435 \begin_layout Standard
1438 Document\SpecialChar menuseparator
1439 Settings\SpecialChar menuseparator
1442 and you'll now be able to use
1448 in \SpecialChar LaTeX
1452 \begin_layout Standard
1453 For more details on defining section levels,
1456 The \SpecialChar LaTeX
1458 \begin_inset space \space{}
1464 \begin_inset CommandInset citation
1478 \begin_layout Section
1482 \begin_layout Subsection
1483 Package Dependencies
1486 \begin_layout Standard
1487 The following is a list of packages that the
1491 document class relies upon.
1492 Packages marked with an asterisk are optional.
1495 \begin_layout Itemize
1499 \begin_layout Itemize
1503 \begin_layout Itemize
1507 \begin_layout Itemize
1511 \begin_layout Itemize
1515 \begin_layout Itemize
1519 \begin_layout Itemize
1523 \begin_layout Itemize
1527 \begin_layout Itemize
1531 \begin_layout Itemize
1535 \begin_layout Itemize
1539 \begin_layout Itemize
1543 \begin_layout Itemize
1547 \begin_layout Itemize
1551 \begin_layout Subsection
1552 Tufte-\SpecialChar LaTeX
1554 \begin_inset space \space{}
1560 \begin_layout Standard
1561 The website for the Tufte-\SpecialChar LaTeX
1563 \begin_inset space \space{}
1566 packages is located at
1567 \begin_inset Flex URL
1570 \begin_layout Plain Layout
1572 https://tufte-latex.github.io/tufte-latex/
1579 you'll find links to the
1580 \begin_inset Flex SmallCaps
1583 \begin_layout Plain Layout
1589 repository of the tufte-latex project,
1595 \begin_layout Standard
1596 \begin_inset CommandInset bibtex
1598 bibfiles "../biblioExample"