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