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