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