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