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