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