]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/tufte-handout.lyx
Assure bibtex is used for documents that use bibtex
[lyx.git] / lib / examples / tufte-handout.lyx
index e3837f3e2e0b49e2adeab7fece9db6b8ff50dad1..0bb96fe09f9f65eb854f772a98b5e51225b319fd 100644 (file)
@@ -1,43 +1,80 @@
-#LyX 1.6.5svn created this file. For more info see http://www.lyx.org/
-\lyxformat 345
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 469
 \begin_document
 \begin_header
 \textclass tufte-handout
 \begin_document
 \begin_header
 \textclass tufte-handout
-\use_default_options false
+\use_default_options true
+\maintain_unincluded_children false
 \language english
 \language english
+\language_package default
 \inputencoding auto
 \inputencoding auto
+\fontencoding global
 \font_roman default
 \font_sans helvet
 \font_typewriter default
 \font_roman default
 \font_sans helvet
 \font_typewriter default
+\font_math auto
 \font_default_family default
 \font_default_family default
+\use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
-
 \graphics default
 \graphics default
+\default_output_format pdf2
+\output_sync 0
+\bibtex_command bibtex
+\index_command default
 \paperfontsize default
 \spacing single
 \paperfontsize default
 \spacing single
-\use_hyperref false
+\use_hyperref true
+\pdf_bookmarks true
+\pdf_bookmarksnumbered true
+\pdf_bookmarksopen true
+\pdf_bookmarksopenlevel 1
+\pdf_breaklinks true
+\pdf_pdfborder true
+\pdf_colorlinks false
+\pdf_backref false
+\pdf_pdfusetitle true
 \papersize default
 \use_geometry true
 \papersize default
 \use_geometry true
-\use_amsmath 1
-\use_esint 0
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package cancel 0
+\use_package esint 1
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
 \cite_engine basic
 \cite_engine basic
+\cite_engine_type numerical
+\biblio_style plain
 \use_bibtopic false
 \use_bibtopic false
+\use_indices false
 \paperorientation portrait
 \paperorientation portrait
+\suppress_date false
+\justification true
+\use_refstyle 0
+\notefontcolor #0000ff
+\index Index
+\shortcut idx
+\color #008000
+\end_index
 \secnumdepth 2
 \tocdepth 2
 \paragraph_separation indent
 \secnumdepth 2
 \tocdepth 2
 \paragraph_separation indent
-\defskip medskip
+\paragraph_indentation default
 \quotes_language english
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
 \tracking_changes false
 \output_changes false
 \quotes_language english
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
 \tracking_changes false
 \output_changes false
-\author "" 
-\author "" 
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
 \end_header
 
 \begin_body
 \end_header
 
 \begin_body
@@ -49,28 +86,35 @@ status open
 \begin_layout Plain Layout
 
 \series bold
 \begin_layout Plain Layout
 
 \series bold
-Important note:
+Note
 \series default
 \series default
- The menu 
-\family sans
-Insert\SpecialChar \menuseparator
-Hyperlinks
-\family default
- and the 
+: To be able to view your file as PDF you must have the LaTeX-package 
 \family sans
 \family sans
-PDF properties
-\family default
- in the 
-\family sans
-Document\SpecialChar \menuseparator
-Settings
+fpl
 \family default
 \family default
- menu cannot be used for tufte document classes!
+ installed to your LaTeX system.
+ If you are using MiKTeX, you will automatically be asked to install this
+ package when previewing your file, if you are using TeXLive, use TeXLive's
+ package manager.
+\end_layout
+
+\begin_layout Plain Layout
+
+\series bold
+Note 2
+\series default
+: If you wish to compile to PDF with plain LaTeX (instead of pdfTeX), there
+ is currently a bug in the Tufte class that causes errors.
+ You can add the class option 'nols' to get rid of the errors, but this
+ also removes letterspacing, an important part of the Tufte design.
 \end_layout
 
 \end_inset
 
 
 \end_layout
 
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
 \begin_inset Note Note
 status open
 
 \begin_inset Note Note
 status open
 
@@ -92,7 +136,7 @@ An Example of the Usage of the Tufte-Handout Style
 \end_layout
 
 \begin_layout Author
 \end_layout
 
 \begin_layout Author
-Tufte-LaT
+Tufte-LaTe
 \begin_inset ERT
 status collapsed
 
 \begin_inset ERT
 status collapsed
 
@@ -103,7 +147,7 @@ status collapsed
 
 \end_inset
 
 
 \end_inset
 
-eX Developers and The Ly
+X Developers and The Ly
 \begin_inset ERT
 status collapsed
 
 \begin_inset ERT
 status collapsed
 
@@ -174,22 +218,15 @@ tufte-handout
  document class and a style guide to its use.
 \end_layout
 
  document class and a style guide to its use.
 \end_layout
 
-\begin_layout Part*
+\begin_layout Part
 First part
 \end_layout
 
 First part
 \end_layout
 
-\begin_layout Section*
+\begin_layout Section
 Page Layout
 Page Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:page-layout"
-
-\end_inset
-
 \end_layout
 
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Headings and paragraph design
 \begin_inset CommandInset label
 LatexCommand label
 Headings and paragraph design
 \begin_inset CommandInset label
 LatexCommand label
@@ -197,7 +234,7 @@ name "sec:headings"
 
 \end_inset
 
 
 \end_inset
 
+
 \end_layout
 
 \begin_layout Standard
 \end_layout
 
 \begin_layout Standard
@@ -217,7 +254,7 @@ section
 \emph on
 subsection
 \emph default
 \emph on
 subsection
 \emph default
-) demonstrated above.
+, both numbered and non-numbered), as demonstrated above.
 \end_layout
 
 \begin_layout Standard
 \end_layout
 
 \begin_layout Standard
@@ -227,7 +264,7 @@ If you need more than two levels of section headings, you'll have to define
 status collapsed
 
 \begin_layout Plain Layout
 status collapsed
 
 \begin_layout Plain Layout
-See see 
+See 
 \begin_inset Quotes eld
 \end_inset
 
 \begin_inset Quotes eld
 \end_inset
 
@@ -318,15 +355,8 @@ NewThought
 ).
 \end_layout
 
 ).
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Sidenotes
 Sidenotes
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:sidenotes"
-
-\end_inset
-
 \end_layout
 
 \begin_layout Standard
 \end_layout
 
 \begin_layout Standard
@@ -347,7 +377,16 @@ footnote
 
 \end_inset
 
 
 \end_inset
 
- Alternatively, you can also use directly the sidenote inset.
+ Alternatively, you can also use the 
+\family typewriter
+Sidenote
+\family default
+ inset directly; you'll find it in the 
+\family sans
+Insert\SpecialChar \menuseparator
+Custom Insets
+\family default
+ menu.
 \begin_inset Flex Sidenote
 status open
 
 \begin_inset Flex Sidenote
 status open
 
@@ -397,7 +436,7 @@ This is a normal margin note.
 
 \end_layout
 
 
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 References
 \end_layout
 
 References
 \end_layout
 
@@ -429,24 +468,25 @@ BibTeX
 Bibliography
 \family default
  (see the end of this document for an example.) If you do not want to print
 Bibliography
 \family default
  (see the end of this document for an example.) If you do not want to print
- a bibliography at the end of your document, use the LaTeX command 
+ a bibliography at the end of your document, place the 
+\family sans
+BibTeX
+\begin_inset space ~
+\end_inset
+
+Bibliography
+\family default
+ inset inside a LyX note and use the LaTeX command 
 \family typewriter
 
 \backslash
 nobibliography
 \family default
 \family typewriter
 
 \backslash
 nobibliography
 \family default
in its place.
the text.
 \end_layout
 
 \end_layout
 
-\begin_layout Section*
+\begin_layout Section
 Figures and Tables
 Figures and Tables
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:figures-and-tables"
-
-\end_inset
-
 \end_layout
 
 \begin_layout Standard
 \end_layout
 
 \begin_layout Standard
@@ -514,6 +554,7 @@ hor_pos "c"
 has_inner_box 1
 inner_pos "t"
 use_parbox 0
 has_inner_box 1
 inner_pos "t"
 use_parbox 0
+use_makebox 0
 width "100line%"
 special "none"
 height "1in"
 width "100line%"
 special "none"
 height "1in"
@@ -531,7 +572,7 @@ replace the box by your figure!
 \end_layout
 
 \begin_layout Plain Layout
 \end_layout
 
 \begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 This is a margin figure.
 
 \begin_layout Plain Layout
 This is a margin figure.
@@ -553,6 +594,32 @@ name "fig:marginfig"
 \end_inset
 
 
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ If you are using margin figures or tables you must use the default float
+ placement option in the document settings under 
+\family sans
+Float
+\begin_inset space ~
+\end_inset
+
+Placement
+\family default
+.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
 \end_layout
 
 \begin_layout Standard
@@ -592,6 +659,7 @@ hor_pos "c"
 has_inner_box 1
 inner_pos "t"
 use_parbox 0
 has_inner_box 1
 inner_pos "t"
 use_parbox 0
+use_makebox 0
 width "100line%"
 special "none"
 height "1in"
 width "100line%"
 special "none"
 height "1in"
@@ -609,7 +677,7 @@ replace the box by your figure!
 \end_layout
 
 \begin_layout Plain Layout
 \end_layout
 
 \begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 This is a wide figure (
 
 \begin_layout Plain Layout
 This is a wide figure (
@@ -639,6 +707,13 @@ name "fig:fullfig"
 \end_inset
 
 
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace 6theight%
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
 \end_layout
 
 \begin_layout Standard
@@ -655,6 +730,7 @@ hor_pos "c"
 has_inner_box 1
 inner_pos "t"
 use_parbox 0
 has_inner_box 1
 inner_pos "t"
 use_parbox 0
+use_makebox 0
 width "100line%"
 special "none"
 height "1in"
 width "100line%"
 special "none"
 height "1in"
@@ -672,7 +748,7 @@ replace the box by your figure!
 \end_layout
 
 \begin_layout Plain Layout
 \end_layout
 
 \begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 This is a normal figure.
 
 \begin_layout Plain Layout
 This is a normal figure.
@@ -737,23 +813,10 @@ sideways false
 status open
 
 \begin_layout Plain Layout
 status open
 
 \begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-centering
-\end_layout
-
-\end_inset
-
+\align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="6" columns="2">
 \begin_inset Tabular
 <lyxtabular version="3" rows="6" columns="2">
-<features booktabs="true">
+<features rotate="0" booktabs="true" tabularvalignment="middle">
 <column alignment="left" valignment="top" width="0">
 <column alignment="left" valignment="top" width="0">
 <row>
 <column alignment="left" valignment="top" width="0">
 <column alignment="left" valignment="top" width="0">
 <row>
@@ -790,64 +853,7 @@ Paper width
 \begin_inset Text
 
 \begin_layout Plain Layout
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-unit
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-[
-\end_layout
-
-\end_inset
-
-8
-\begin_inset Formula $\nicefrac{1}{2}$
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-]
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-inches
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
+\begin_inset Formula $\unit[8\nicefrac{1}{2}]{inches}$
 \end_inset
 
  
 \end_inset
 
  
@@ -870,63 +876,10 @@ Paper height
 \begin_inset Text
 
 \begin_layout Plain Layout
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-unit
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-[
-\end_layout
-
+\begin_inset Formula $\unit[11]{inches}$
 \end_inset
 
 \end_inset
 
-11
-\begin_inset ERT
-status collapsed
 
 
-\begin_layout Plain Layout
-
-]
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-inches
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
 \end_layout
 
 \end_inset
 \end_layout
 
 \end_inset
@@ -946,64 +899,7 @@ Textblock width
 \begin_inset Text
 
 \begin_layout Plain Layout
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-unit
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-[
-\end_layout
-
-\end_inset
-
-6
-\begin_inset Formula $\nicefrac{1}{2}$
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-]
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-inches
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
+\begin_inset Formula $\unit[6\nicefrac{1}{2}]{inches}$
 \end_inset
 
  
 \end_inset
 
  
@@ -1026,67 +922,10 @@ Textblock/sidenote gutter
 \begin_inset Text
 
 \begin_layout Plain Layout
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-unit
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-[
-\end_layout
-
-\end_inset
-
-
-\begin_inset Formula $\nicefrac{3}{8}$
+\begin_inset Formula $\unit[\nicefrac{3}{8}]{inches}$
 \end_inset
 
 
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-]
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-inches
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
 \end_layout
 
 \end_inset
 \end_layout
 
 \end_inset
@@ -1106,63 +945,10 @@ Sidenote width
 \begin_inset Text
 
 \begin_layout Plain Layout
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-unit
-\end_layout
-
+\begin_inset Formula $\unit[2]{inches}$
 \end_inset
 
 
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-[
-\end_layout
-
-\end_inset
-
-2
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-]
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-inches
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
 \end_layout
 
 \end_inset
 \end_layout
 
 \end_inset
@@ -1176,7 +962,7 @@ status collapsed
 \end_layout
 
 \begin_layout Plain Layout
 \end_layout
 
 \begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 Here are the dimensions of the various margins used in the 
 
 \begin_layout Plain Layout
 Here are the dimensions of the various margins used in the 
@@ -1203,7 +989,7 @@ name "tab:normaltab"
 
 \end_layout
 
 
 \end_layout
 
-\begin_layout Section*
+\begin_layout Section
 Full-width text blocks
 \end_layout
 
 Full-width text blocks
 \end_layout
 
@@ -1238,30 +1024,16 @@ Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  Duis eget orci sit amet orci dignissim rutrum.
 \end_layout
 
  Duis eget orci sit amet orci dignissim rutrum.
 \end_layout
 
-\begin_layout Part*
+\begin_layout Part
 Second part
 \end_layout
 
 Second part
 \end_layout
 
-\begin_layout Section*
+\begin_layout Section
 Typography
 Typography
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:typography"
-
-\end_inset
-
-
 \end_layout
 
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Typefaces
 Typefaces
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:typefaces"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
 \end_layout
 
 \begin_layout Standard
@@ -1281,15 +1053,8 @@ Computer Modern
  typefaces.
 \end_layout
 
  typefaces.
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Letterspacing
 Letterspacing
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:letterspacing"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
 \end_layout
 
 \begin_layout Standard
@@ -1313,7 +1078,7 @@ ALL CAPS
 status open
 
 \begin_layout Plain Layout
 status open
 
 \begin_layout Plain Layout
-Small Caps
+small caps
 \end_layout
 
 \end_inset
 \end_layout
 
 \end_inset
@@ -1383,26 +1148,12 @@ Small Caps
 The Initial Letters Of The Words In This Sentence Are Capitalized.
 \end_layout
 
 The Initial Letters Of The Words In This Sentence Are Capitalized.
 \end_layout
 
-\begin_layout Section*
+\begin_layout Section
 Customization
 Customization
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:customization"
-
-\end_inset
-
-
 \end_layout
 
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Document class options
 Document class options
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:options"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
 \end_layout
 
 \begin_layout Standard
@@ -1484,7 +1235,7 @@ justified
  in the slightly narrower column.
 \end_layout
 
  in the slightly narrower column.
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Defining new sections
 \begin_inset CommandInset label
 LatexCommand label
 Defining new sections
 \begin_inset CommandInset label
 LatexCommand label
@@ -1523,7 +1274,7 @@ subsection
 \end_layout
 
 \begin_layout Standard
 \end_layout
 
 \begin_layout Standard
-If you wanted to define, say, a 
+If you want to define, say, a 
 \emph on
 paragraph
 \emph default
 \emph on
 paragraph
 \emph default
@@ -1614,7 +1365,7 @@ Companion
 ,
 \begin_inset CommandInset citation
 LatexCommand cite
 ,
 \begin_inset CommandInset citation
 LatexCommand cite
-key "Mittelbach2004"
+key "LComp2004"
 
 \end_inset
 
 
 \end_inset
 
@@ -1625,26 +1376,12 @@ titlesec
  package.
 \end_layout
 
  package.
 \end_layout
 
-\begin_layout Section*
+\begin_layout Section
 Support
 Support
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:support"
-
-\end_inset
-
-
 \end_layout
 
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Package Dependencies
 Package Dependencies
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:dependencies"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
 \end_layout
 
 \begin_layout Standard
@@ -1712,19 +1449,12 @@ palatino*
 beramono* 
 \end_layout
 
 beramono* 
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Tufte-LaTeX
 \begin_inset space \space{}
 \end_inset
 
 Website
 Tufte-LaTeX
 \begin_inset space \space{}
 \end_inset
 
 Website
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:website"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
 \end_layout
 
 \begin_layout Standard
@@ -1744,7 +1474,7 @@ http://code.google.com/p/tufte-latex/
 \end_inset
 
 .
 \end_inset
 
 .
- On our website, you'll find links to our 
+ On this website, you'll find links to the 
 \begin_inset Flex SmallCaps
 status open
 
 \begin_inset Flex SmallCaps
 status open
 
@@ -1754,7 +1484,8 @@ svn
 
 \end_inset
 
 
 \end_inset
 
- repository, mailing lists, bug tracker, and documentation.
+ repository of the tufte-latex project, mailing lists, bug tracker, and
+ documentation.
 \end_layout
 
 \begin_layout Standard
 \end_layout
 
 \begin_layout Standard