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