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