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