]> git.lyx.org Git - lyx.git/blob - lib/examples/Handouts/Tufte_Handout.lyx
HP-Statements example: update
[lyx.git] / lib / examples / Handouts / Tufte_Handout.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 600
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/Handouts/
7 \textclass tufte-handout
8 \use_default_options true
9 \maintain_unincluded_children no
10 \language english
11 \language_package default
12 \inputencoding utf8
13 \fontencoding auto
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
20 \font_sc false
21 \font_sans_osf false
22 \font_typewriter_osf false
23 \font_roman_osf false
24 \font_sf_scale 100 100
25 \font_tt_scale 100 100
26 \use_microtype false
27 \use_dash_ligatures false
28 \graphics default
29 \default_output_format pdf2
30 \output_sync 0
31 \bibtex_command bibtex
32 \index_command default
33 \paperfontsize default
34 \spacing single
35 \use_hyperref true
36 \pdf_bookmarks true
37 \pdf_bookmarksnumbered true
38 \pdf_bookmarksopen true
39 \pdf_bookmarksopenlevel 1
40 \pdf_breaklinks true
41 \pdf_pdfborder true
42 \pdf_colorlinks false
43 \pdf_backref false
44 \pdf_pdfusetitle true
45 \papersize default
46 \use_geometry true
47 \use_package amsmath 1
48 \use_package amssymb 1
49 \use_package cancel 1
50 \use_package esint 1
51 \use_package mathdots 1
52 \use_package mathtools 1
53 \use_package mhchem 1
54 \use_package stackrel 1
55 \use_package stmaryrd 1
56 \use_package undertilde 1
57 \cite_engine natbib
58 \cite_engine_type authoryear
59 \biblio_style plain
60 \use_bibtopic false
61 \use_indices false
62 \paperorientation portrait
63 \suppress_date false
64 \justification true
65 \use_refstyle 0
66 \use_minted 0
67 \notefontcolor #0000ff
68 \use_lineno 0
69 \index Index
70 \shortcut idx
71 \color #008000
72 \end_index
73 \secnumdepth 2
74 \tocdepth 2
75 \paragraph_separation indent
76 \paragraph_indentation default
77 \is_math_indent 0
78 \math_numbering_side default
79 \quotes_style english
80 \dynamic_quotes 0
81 \papercolumns 1
82 \papersides 1
83 \paperpagestyle default
84 \tracking_changes false
85 \postpone_fragile_content false
86 \output_changes false
87 \html_math_output 0
88 \html_css_as_file 0
89 \html_be_strict false
90 \end_header
91
92 \begin_body
93
94 \begin_layout Standard
95 \begin_inset Note Note
96 status open
97
98 \begin_layout Plain Layout
99
100 \series bold
101 Note
102 \series default
103 : To be able to view your file as PDF you must have the \SpecialChar LaTeX
104 -package 
105 \family sans
106 fpl
107 \family default
108  installed to your \SpecialChar LaTeX
109  system.
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.
115 \end_layout
116
117 \begin_layout Plain Layout
118
119 \series bold
120 Note 2
121 \series default
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
128 \end_inset
129
130 Custom
131 \begin_inset Quotes erd
132 \end_inset
133
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.
138 \end_layout
139
140 \end_inset
141
142
143 \end_layout
144
145 \begin_layout Standard
146 \begin_inset Note Note
147 status open
148
149 \begin_layout Plain Layout
150 If the 
151 \emph on
152 Date
153 \emph default
154  is left out, the current date will be used.
155 \end_layout
156
157 \end_inset
158
159
160 \end_layout
161
162 \begin_layout Title
163 An Example of the Usage of the Tufte-Handout Style
164 \end_layout
165
166 \begin_layout Author
167 Tufte-LaTeX Developers and The LyX Team
168 \end_layout
169
170 \begin_layout Abstract
171 \noindent
172 This document describes the 
173 \emph on
174 Tufte handout
175 \emph default
176  \SpecialChar LaTeX
177  document style.
178  It also provides examples and comments on the style's use.
179  It is based on the example file shiped with 
180 \emph on
181 tufte-handout.cls
182 \emph default
183 , but adapted for the use with \SpecialChar LyX
184 .
185 \end_layout
186
187 \begin_layout Standard
188 The 
189 \family sans
190 tufte-handout
191 \family default
192  document class
193 \begin_inset Foot
194 status collapsed
195
196 \begin_layout Plain Layout
197 Cf.
198  
199 \begin_inset Flex URL
200 status collapsed
201
202 \begin_layout Plain Layout
203
204 http://ctan.org/tex-archive/macros/latex/contrib/tufte-latex
205 \end_layout
206
207 \end_inset
208
209 .
210 \end_layout
211
212 \end_inset
213
214  defines a style similar to the style 
215 \noun on
216 Edward Tufte
217 \noun default
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
222  
223 \family sans
224 tufte-handout
225 \family default
226  document class and a style guide to its use.
227 \end_layout
228
229 \begin_layout Part
230 First part
231 \end_layout
232
233 \begin_layout Section
234 Page Layout
235 \end_layout
236
237 \begin_layout Subsection
238 Headings and paragraph design
239 \begin_inset CommandInset label
240 LatexCommand label
241 name "sec:headings"
242
243 \end_inset
244
245
246 \end_layout
247
248 \begin_layout Standard
249 This style provides 
250 \shape smallcaps
251 a
252 \shape default
253 - and 
254 \shape smallcaps
255 b
256 \shape default
257 -heads (that is, 
258 \emph on
259 section
260 \emph default
261  and 
262 \emph on
263 subsection
264 \emph default
265 , both numbered and non-numbered), as demonstrated above.
266 \end_layout
267
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;
271 \begin_inset Foot
272 status collapsed
273
274 \begin_layout Plain Layout
275 See 
276 \begin_inset Quotes eld
277 \end_inset
278
279 Defining new sections
280 \begin_inset Quotes erd
281 \end_inset
282
283  on page
284 \begin_inset space ~
285 \end_inset
286
287
288 \begin_inset CommandInset ref
289 LatexCommand pageref
290 reference "sec:defining-sections"
291
292 \end_inset
293
294  for help with defining more heading levels.
295 \end_layout
296
297 \end_inset
298
299  there are no pre-defined styles for anything below a 
300 \emph on
301 subsection
302 \emph default
303 .
304  As 
305 \noun on
306 Bringhurst
307 \noun default
308  points out in 
309 \shape italic
310 The Elements of Typographic Style
311 \shape default
312 ,
313 \begin_inset CommandInset citation
314 LatexCommand cite
315 key "Bringhurst2005"
316 literal "true"
317
318 \end_inset
319
320  you should 
321 \begin_inset Quotes eld
322 \end_inset
323
324 use as many levels of headings as you need: no more, and no fewer.
325 \begin_inset Quotes erd
326 \end_inset
327
328
329 \end_layout
330
331 \begin_layout Standard
332 \begin_inset Flex NewThought
333 status open
334
335 \begin_layout Plain Layout
336 In his later books
337 \end_layout
338
339 \end_inset
340
341 ,
342 \begin_inset CommandInset citation
343 LatexCommand cite
344 key "Tufte2006"
345 literal "true"
346
347 \end_inset
348
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 
351 \shape smallcaps
352 small caps
353 \shape default
354 .
355  To accomplish this, use the 
356 \family typewriter
357 NewThought
358 \family default
359  character style (
360 \family sans
361 Edit\SpecialChar menuseparator
362 TextStyle\SpecialChar menuseparator
363 NewThought
364 \family default
365 ).
366 \end_layout
367
368 \begin_layout Subsection
369 Sidenotes
370 \end_layout
371
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.
377 \begin_inset Foot
378 status open
379
380 \begin_layout Plain Layout
381 This is a sidenote that was entered using a 
382 \family typewriter
383 footnote
384 \family default
385 .
386 \end_layout
387
388 \end_inset
389
390  Alternatively, you can also use the 
391 \family typewriter
392 Sidenote
393 \family default
394  inset directly; you'll find it in the 
395 \family sans
396 Insert\SpecialChar menuseparator
397 Custom Insets
398 \family default
399  menu.
400 \begin_inset Flex Sidenote
401 status open
402
403 \begin_layout Plain Layout
404 This is a sidenote that was entered using a 
405 \family typewriter
406 sidenote
407 \family default
408 .
409 \end_layout
410
411 \end_inset
412
413
414 \end_layout
415
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 
419 \family typewriter
420 Marginnote
421 \family default
422  inset.
423  
424 \begin_inset Flex Marginnote
425 status open
426
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.
431 \end_layout
432
433 \end_inset
434
435  The normal margin note will work as well, but it will look rather odd.
436 \begin_inset Marginal
437 status open
438
439 \begin_layout Plain Layout
440 This is a normal margin note.
441  Don't use it.
442 \end_layout
443
444 \end_inset
445
446
447 \end_layout
448
449 \begin_layout Subsection
450 References
451 \end_layout
452
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.
456 \begin_inset Foot
457 status collapsed
458
459 \begin_layout Plain Layout
460 The first paragraph of this document includes a citation.
461 \end_layout
462
463 \end_inset
464
465
466 \end_layout
467
468 \begin_layout Standard
469 The complete list of references may also be printed automatically by using
470  
471 \family sans
472 Insert\SpecialChar menuseparator
473 Lists/TOC\SpecialChar menuseparator
474 Bib\SpecialChar TeX
475
476 \begin_inset space ~
477 \end_inset
478
479 Bibliography
480 \family default
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 
483 \family sans
484 Bib\SpecialChar TeX
485
486 \begin_inset space ~
487 \end_inset
488
489 Bibliography
490 \family default
491  inset inside a \SpecialChar LyX
492  note and use the \SpecialChar LaTeX
493  command 
494 \family typewriter
495
496 \backslash
497 nobibliography
498 \family default
499  the text.
500 \end_layout
501
502 \begin_layout Section
503 Figures and Tables
504 \end_layout
505
506 \begin_layout Standard
507 Images and graphics play an integral role in Tufte's work.
508  In addition to the standard 
509 \emph on
510 figure
511 \emph default
512  and 
513 \emph on
514 tabular
515 \emph default
516  floats, this class provides special figure and table environments for full-widt
517 h floats.
518 \end_layout
519
520 \begin_layout Standard
521 Full page width figures and tables can be produced by using figure or table
522  floats and clicking 
523 \emph on
524 Span Columns
525 \emph default
526  in the float dialog.
527  To place figures or tables in the margin, use the 
528 \emph on
529 MarginFigure
530 \emph default
531  or 
532 \emph on
533 MarginTable
534 \emph default
535  floats (see figure
536 \begin_inset space ~
537 \end_inset
538
539
540 \begin_inset CommandInset ref
541 LatexCommand ref
542 reference "fig:marginfig"
543
544 \end_inset
545
546 ).
547 \begin_inset Note Note
548 status collapsed
549
550 \begin_layout Plain Layout
551 Note: unfortunately, the counting inside the \SpecialChar LyX
552  view is wrong.
553  Margin floats and normal floats are counted differently, whereas the use
554  the same counter in the output.
555 \end_layout
556
557 \end_inset
558
559  
560 \begin_inset Float marginfigure
561 placement document
562 alignment document
563 wide false
564 sideways false
565 status open
566
567 \begin_layout Plain Layout
568 \begin_inset Box Boxed
569 position "t"
570 hor_pos "c"
571 has_inner_box 1
572 inner_pos "t"
573 use_parbox 0
574 use_makebox 0
575 width "100line%"
576 special "none"
577 height "1in"
578 height_special "totalheight"
579 thickness "0.4pt"
580 separation "3pt"
581 shadowsize "4pt"
582 framecolor "black"
583 backgroundcolor "none"
584 status open
585
586 \begin_layout Plain Layout
587 \align center
588 replace the box by your figure!
589 \end_layout
590
591 \end_inset
592
593
594 \end_layout
595
596 \begin_layout Plain Layout
597 \begin_inset Caption Standard
598
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
603 LatexCommand label
604 name "fig:marginfig"
605
606 \end_inset
607
608
609 \end_layout
610
611 \end_inset
612
613
614 \end_layout
615
616 \end_inset
617
618
619 \end_layout
620
621 \begin_layout Standard
622 \begin_inset Note Greyedout
623 status open
624
625 \begin_layout Plain Layout
626
627 \series bold
628 Note:
629 \series default
630  If you are using margin figures or tables you must use the default float
631  placement option in the document settings under 
632 \family sans
633 Float
634 \begin_inset space ~
635 \end_inset
636
637 Placement
638 \family default
639 .
640 \end_layout
641
642 \end_inset
643
644
645 \end_layout
646
647 \begin_layout Standard
648 Figure
649 \begin_inset space ~
650 \end_inset
651
652
653 \begin_inset CommandInset ref
654 LatexCommand ref
655 reference "fig:fullfig"
656
657 \end_inset
658
659  is an example of the wide figure float and figure
660 \begin_inset space ~
661 \end_inset
662
663
664 \begin_inset CommandInset ref
665 LatexCommand ref
666 reference "fig:textfig"
667
668 \end_inset
669
670  is an example of the normal figure float.
671  
672 \begin_inset Float figure
673 placement document
674 alignment document
675 wide true
676 sideways false
677 status open
678
679 \begin_layout Plain Layout
680 \begin_inset Box Boxed
681 position "t"
682 hor_pos "c"
683 has_inner_box 1
684 inner_pos "t"
685 use_parbox 0
686 use_makebox 0
687 width "100line%"
688 special "none"
689 height "1in"
690 height_special "totalheight"
691 thickness "0.4pt"
692 separation "3pt"
693 shadowsize "4pt"
694 framecolor "black"
695 backgroundcolor "none"
696 status open
697
698 \begin_layout Plain Layout
699 \align center
700 replace the box by your figure!
701 \end_layout
702
703 \end_inset
704
705
706 \end_layout
707
708 \begin_layout Plain Layout
709 \begin_inset Caption Standard
710
711 \begin_layout Plain Layout
712 This is a wide figure (
713 \emph on
714 span columns
715 \emph default
716 ).
717  
718 \emph on
719 Notice that this figure takes up the full page width.
720 \emph default
721
722 \begin_inset CommandInset label
723 LatexCommand label
724 name "fig:fullfig"
725
726 \end_inset
727
728
729 \end_layout
730
731 \end_inset
732
733
734 \end_layout
735
736 \end_inset
737
738
739 \end_layout
740
741 \begin_layout Standard
742 \begin_inset VSpace 6theight%
743 \end_inset
744
745
746 \end_layout
747
748 \begin_layout Standard
749 \begin_inset Float figure
750 placement h
751 alignment document
752 wide false
753 sideways false
754 status open
755
756 \begin_layout Plain Layout
757 \begin_inset Box Boxed
758 position "t"
759 hor_pos "c"
760 has_inner_box 1
761 inner_pos "t"
762 use_parbox 0
763 use_makebox 0
764 width "100line%"
765 special "none"
766 height "1in"
767 height_special "totalheight"
768 thickness "0.4pt"
769 separation "3pt"
770 shadowsize "4pt"
771 framecolor "black"
772 backgroundcolor "none"
773 status open
774
775 \begin_layout Plain Layout
776 \align center
777 replace the box by your figure!
778 \end_layout
779
780 \end_inset
781
782
783 \end_layout
784
785 \begin_layout Plain Layout
786 \begin_inset Caption Standard
787
788 \begin_layout Plain Layout
789 This is a normal figure.
790  
791 \emph on
792 Notice that this figure only takes up the main textblock width.
793 \emph default
794
795 \begin_inset CommandInset label
796 LatexCommand label
797 name "fig:textfig"
798
799 \end_inset
800
801
802 \end_layout
803
804 \end_inset
805
806
807 \end_layout
808
809 \end_inset
810
811
812 \end_layout
813
814 \begin_layout Standard
815 Table
816 \begin_inset space ~
817 \end_inset
818
819
820 \begin_inset CommandInset ref
821 LatexCommand ref
822 reference "tab:normaltab"
823
824 \end_inset
825
826  shows a table created with the 
827 \family typewriter
828 booktabs
829 \family default
830  package (this is border style 
831 \begin_inset Quotes eld
832 \end_inset
833
834 formal
835 \begin_inset Quotes erd
836 \end_inset
837
838  in the tabular dialog).
839  Notice the lack of vertical rules—they serve only to clutter the table's
840  data.
841 \end_layout
842
843 \begin_layout Standard
844 \begin_inset Float table
845 placement ht
846 alignment document
847 wide false
848 sideways false
849 status open
850
851 \begin_layout Plain Layout
852 \align center
853 \begin_inset Tabular
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">
858 <row>
859 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
860 \begin_inset Text
861
862 \begin_layout Plain Layout
863 Margin 
864 \end_layout
865
866 \end_inset
867 </cell>
868 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
869 \begin_inset Text
870
871 \begin_layout Plain Layout
872 Length 
873 \end_layout
874
875 \end_inset
876 </cell>
877 </row>
878 <row>
879 <cell alignment="left" valignment="top" usebox="none">
880 \begin_inset Text
881
882 \begin_layout Plain Layout
883 Paper width 
884 \end_layout
885
886 \end_inset
887 </cell>
888 <cell alignment="left" valignment="top" usebox="none">
889 \begin_inset Text
890
891 \begin_layout Plain Layout
892 \begin_inset Formula $\unit[8\nicefrac{1}{2}]{inches}$
893 \end_inset
894
895  
896 \end_layout
897
898 \end_inset
899 </cell>
900 </row>
901 <row>
902 <cell alignment="left" valignment="top" usebox="none">
903 \begin_inset Text
904
905 \begin_layout Plain Layout
906 Paper height 
907 \end_layout
908
909 \end_inset
910 </cell>
911 <cell alignment="left" valignment="top" usebox="none">
912 \begin_inset Text
913
914 \begin_layout Plain Layout
915 \begin_inset Formula $\unit[11]{inches}$
916 \end_inset
917
918
919 \end_layout
920
921 \end_inset
922 </cell>
923 </row>
924 <row>
925 <cell alignment="left" valignment="top" usebox="none">
926 \begin_inset Text
927
928 \begin_layout Plain Layout
929 Textblock width 
930 \end_layout
931
932 \end_inset
933 </cell>
934 <cell alignment="left" valignment="top" usebox="none">
935 \begin_inset Text
936
937 \begin_layout Plain Layout
938 \begin_inset Formula $\unit[6\nicefrac{1}{2}]{inches}$
939 \end_inset
940
941  
942 \end_layout
943
944 \end_inset
945 </cell>
946 </row>
947 <row>
948 <cell alignment="left" valignment="top" usebox="none">
949 \begin_inset Text
950
951 \begin_layout Plain Layout
952 Textblock/sidenote gutter 
953 \end_layout
954
955 \end_inset
956 </cell>
957 <cell alignment="left" valignment="top" usebox="none">
958 \begin_inset Text
959
960 \begin_layout Plain Layout
961 \begin_inset Formula $\unit[\nicefrac{3}{8}]{inches}$
962 \end_inset
963
964
965 \end_layout
966
967 \end_inset
968 </cell>
969 </row>
970 <row>
971 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
972 \begin_inset Text
973
974 \begin_layout Plain Layout
975 Sidenote width 
976 \end_layout
977
978 \end_inset
979 </cell>
980 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
981 \begin_inset Text
982
983 \begin_layout Plain Layout
984 \begin_inset Formula $\unit[2]{inches}$
985 \end_inset
986
987
988 \end_layout
989
990 \end_inset
991 </cell>
992 </row>
993 </lyxtabular>
994
995 \end_inset
996
997
998 \end_layout
999
1000 \begin_layout Plain Layout
1001 \begin_inset Caption Standard
1002
1003 \begin_layout Plain Layout
1004 Here are the dimensions of the various margins used in the 
1005 \emph on
1006 Tufte-handout
1007 \emph default
1008  class.
1009 \begin_inset CommandInset label
1010 LatexCommand label
1011 name "tab:normaltab"
1012
1013 \end_inset
1014
1015
1016 \end_layout
1017
1018 \end_inset
1019
1020
1021 \end_layout
1022
1023 \end_inset
1024
1025
1026 \end_layout
1027
1028 \begin_layout Section
1029 Full-width text blocks
1030 \end_layout
1031
1032 \begin_layout Standard
1033 In addition to the new float types, there is a 
1034 \emph on
1035 Full Width
1036 \emph default
1037  environment that stretches across the main text block and the sidenotes
1038  area and ragged left:
1039 \end_layout
1040
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
1048  ac turpis egestas.
1049  Mauris ut leo.
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.
1055  Aenean faucibus.
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.
1061 \end_layout
1062
1063 \begin_layout Part
1064 Second part
1065 \end_layout
1066
1067 \begin_layout Section
1068 Typography
1069 \end_layout
1070
1071 \begin_layout Subsection
1072 Typefaces
1073 \end_layout
1074
1075 \begin_layout Standard
1076 If the 
1077 \emph on
1078 Palatino
1079 \emph default
1080  and 
1081 \emph on
1082 Bera Mono
1083 \emph default
1084  typefaces are installed, this style will use them automatically.
1085  Otherwise, we'll fall back on the 
1086 \emph on
1087 Computer Modern
1088 \emph default
1089  typefaces.
1090 \end_layout
1091
1092 \begin_layout Subsection
1093 Letterspacing
1094 \end_layout
1095
1096 \begin_layout Standard
1097 This document class includes two new character styles and some improvements
1098  on existing commands for letterspacing.
1099 \end_layout
1100
1101 \begin_layout Standard
1102 When setting strings of 
1103 \begin_inset Flex AllCaps
1104 status open
1105
1106 \begin_layout Plain Layout
1107 ALL CAPS
1108 \end_layout
1109
1110 \end_inset
1111
1112  or 
1113 \begin_inset Flex SmallCaps
1114 status open
1115
1116 \begin_layout Plain Layout
1117 small caps
1118 \end_layout
1119
1120 \end_inset
1121
1122 , the letterspacing—that is, the spacing between the letters—should be increased
1123  slightly.
1124 \begin_inset CommandInset citation
1125 LatexCommand cite
1126 key "Bringhurst2005"
1127 literal "true"
1128
1129 \end_inset
1130
1131  The 
1132 \emph on
1133 AllCaps
1134 \emph default
1135  character style (
1136 \family sans
1137 Edit\SpecialChar menuseparator
1138 TextStyle\SpecialChar menuseparator
1139 AllCaps
1140 \family default
1141 ) has proper letterspacing for strings of 
1142 \begin_inset Flex AllCaps
1143 status open
1144
1145 \begin_layout Plain Layout
1146 FULL CAPITAL LETTERS
1147 \end_layout
1148
1149 \end_inset
1150
1151 , and the 
1152 \emph on
1153 SmallCaps
1154 \emph default
1155  character style (
1156 \family sans
1157 Edit\SpecialChar menuseparator
1158 TextStyle\SpecialChar menuseparator
1159 SmallCaps
1160 \family default
1161 ) has letterspacing for 
1162 \begin_inset Flex SmallCaps
1163 status open
1164
1165 \begin_layout Plain Layout
1166 small capital letters
1167 \end_layout
1168
1169 \end_inset
1170
1171 .
1172  These commands will also automatically convert the case of the text to
1173  upper- or lowercase, respectively.
1174 \end_layout
1175
1176 \begin_layout Standard
1177 The normal 
1178 \emph on
1179 Small Caps
1180 \emph default
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: 
1184 \shape smallcaps
1185 The Initial Letters Of The Words In This Sentence Are Capitalized.
1186 \end_layout
1187
1188 \begin_layout Section
1189 Customization
1190 \end_layout
1191
1192 \begin_layout Subsection
1193 Document class options
1194 \end_layout
1195
1196 \begin_layout Standard
1197 The 
1198 \family sans
1199 tufte-handout
1200 \family default
1201  class is based on the 
1202 \family sans
1203 article
1204 \family default
1205  document class.
1206  Therefore, you can pass any of the typical article options.
1207  There are a few options that are specific to the 
1208 \family sans
1209 tufte-handout
1210 \family default
1211  document class, however.
1212 \end_layout
1213
1214 \begin_layout Itemize
1215 The 
1216 \emph on
1217 a4paper
1218 \emph default
1219  option will set the paper size to A4 instead of the default US letter size.
1220 \end_layout
1221
1222 \begin_layout Itemize
1223 The 
1224 \emph on
1225 sfsidenotes
1226 \emph default
1227  option will set the sidenotes in a 
1228 \family sans
1229 sans serif
1230 \family default
1231  typeface instead of the default roman.
1232 \end_layout
1233
1234 \begin_layout Itemize
1235 The 
1236 \emph on
1237 twoside
1238 \emph default
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
1241  right-side edge in 
1242 \emph on
1243 oneside
1244 \emph default
1245  mode).
1246 \end_layout
1247
1248 \begin_layout Itemize
1249 The 
1250 \emph on
1251 symmetric
1252 \emph default
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 
1257 \emph on
1258 twoside
1259 \emph default
1260  option.
1261 \end_layout
1262
1263 \begin_layout Itemize
1264 The 
1265 \emph on
1266 justified
1267 \emph default
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.
1273 \end_layout
1274
1275 \begin_layout Subsection
1276 Defining new sections
1277 \begin_inset CommandInset label
1278 LatexCommand label
1279 name "sec:defining-sections"
1280
1281 \end_inset
1282
1283
1284 \end_layout
1285
1286 \begin_layout Standard
1287 As mentioned on page
1288 \begin_inset space ~
1289 \end_inset
1290
1291
1292 \begin_inset CommandInset ref
1293 LatexCommand pageref
1294 reference "sec:headings"
1295
1296 \end_inset
1297
1298 , the 
1299 \family sans
1300 tufte-handout
1301 \family default
1302  document class only defines 
1303 \emph on
1304 section
1305 \emph default
1306  and 
1307 \emph on
1308 subsection
1309 \emph default
1310  headings.
1311 \end_layout
1312
1313 \begin_layout Standard
1314 If you want to define, say, a 
1315 \emph on
1316 paragraph
1317 \emph default
1318  heading, you could do it as follows:
1319 \end_layout
1320
1321 \begin_layout LyX-Code
1322
1323 \backslash
1324 makeatletter
1325 \end_layout
1326
1327 \begin_layout LyX-Code
1328
1329 \backslash
1330 renewcommand
1331 \backslash
1332 paragraph{%
1333 \end_layout
1334
1335 \begin_layout LyX-Code
1336
1337 \backslash
1338 @startsection{paragraph}% the name of the new section 
1339 \end_layout
1340
1341 \begin_layout LyX-Code
1342 {4}% the section level number 
1343 \end_layout
1344
1345 \begin_layout LyX-Code
1346 {0em}% indentation amount
1347 \end_layout
1348
1349 \begin_layout LyX-Code
1350 {
1351 \backslash
1352 baselineskip}% amount of space to leave before heading
1353 \end_layout
1354
1355 \begin_layout LyX-Code
1356 {-1.5em}% amount of space to leave after heading
1357 \end_layout
1358
1359 \begin_layout LyX-Code
1360 {
1361 \backslash
1362 normalfont
1363 \backslash
1364 itshape}% style
1365 \end_layout
1366
1367 \begin_layout LyX-Code
1368 }
1369 \end_layout
1370
1371 \begin_layout LyX-Code
1372
1373 \backslash
1374 makeatother
1375 \end_layout
1376
1377 \begin_layout Standard
1378 Place that code in 
1379 \family sans
1380 Document\SpecialChar menuseparator
1381 Settings\SpecialChar menuseparator
1382 Preamble
1383 \family default
1384  and you'll now be able to use 
1385 \family typewriter
1386
1387 \backslash
1388 paragraph
1389 \family default
1390  in \SpecialChar LaTeX
1391  mode.
1392 \end_layout
1393
1394 \begin_layout Standard
1395 For more details on defining section levels, see 
1396 \shape italic
1397 The \SpecialChar LaTeX
1398
1399 \begin_inset space \space{}
1400 \end_inset
1401
1402 Companion
1403 \shape default
1404 ,
1405 \begin_inset CommandInset citation
1406 LatexCommand cite
1407 key "LComp2004"
1408 literal "true"
1409
1410 \end_inset
1411
1412  or use the 
1413 \emph on
1414 titlesec
1415 \emph default
1416  package.
1417 \end_layout
1418
1419 \begin_layout Section
1420 Support
1421 \end_layout
1422
1423 \begin_layout Subsection
1424 Package Dependencies
1425 \end_layout
1426
1427 \begin_layout Standard
1428 The following is a list of packages that the 
1429 \family sans
1430 tufte-handout
1431 \family default
1432  document class relies upon.
1433  Packages marked with an asterisk are optional.
1434 \end_layout
1435
1436 \begin_layout Itemize
1437 geometry 
1438 \end_layout
1439
1440 \begin_layout Itemize
1441 ragged2e 
1442 \end_layout
1443
1444 \begin_layout Itemize
1445 chngpage 
1446 \end_layout
1447
1448 \begin_layout Itemize
1449 paralist 
1450 \end_layout
1451
1452 \begin_layout Itemize
1453 textcase 
1454 \end_layout
1455
1456 \begin_layout Itemize
1457 footmisc 
1458 \end_layout
1459
1460 \begin_layout Itemize
1461 natbib and bibentry 
1462 \end_layout
1463
1464 \begin_layout Itemize
1465 placeins 
1466 \end_layout
1467
1468 \begin_layout Itemize
1469 caption 
1470 \end_layout
1471
1472 \begin_layout Itemize
1473 fancyhdr 
1474 \end_layout
1475
1476 \begin_layout Itemize
1477 microtype* 
1478 \end_layout
1479
1480 \begin_layout Itemize
1481 soul* 
1482 \end_layout
1483
1484 \begin_layout Itemize
1485 palatino* 
1486 \end_layout
1487
1488 \begin_layout Itemize
1489 beramono* 
1490 \end_layout
1491
1492 \begin_layout Subsection
1493 Tufte-\SpecialChar LaTeX
1494
1495 \begin_inset space \space{}
1496 \end_inset
1497
1498 Website
1499 \end_layout
1500
1501 \begin_layout Standard
1502 The website for the Tufte-\SpecialChar LaTeX
1503
1504 \begin_inset space \space{}
1505 \end_inset
1506
1507 packages is located at 
1508 \begin_inset Flex URL
1509 status collapsed
1510
1511 \begin_layout Plain Layout
1512
1513 https://tufte-latex.github.io/tufte-latex/
1514 \end_layout
1515
1516 \end_inset
1517
1518 .
1519  On this website, you'll find links to the 
1520 \begin_inset Flex SmallCaps
1521 status open
1522
1523 \begin_layout Plain Layout
1524 svn
1525 \end_layout
1526
1527 \end_inset
1528
1529  repository of the tufte-latex project, mailing lists, bug tracker, and
1530  documentation.
1531 \end_layout
1532
1533 \begin_layout Standard
1534 \begin_inset CommandInset bibtex
1535 LatexCommand bibtex
1536 bibfiles "../biblioExample"
1537 options "plainnat"
1538
1539 \end_inset
1540
1541
1542 \end_layout
1543
1544 \end_body
1545 \end_document