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