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