]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/tufte-handout.lyx
Add some material to the section on tex2lyx that explains the need for layout files...
[lyx.git] / lib / examples / tufte-handout.lyx
index e3837f3e2e0b49e2adeab7fece9db6b8ff50dad1..23b1695de3776791335be4351f2d80b1d36d538c 100644 (file)
@@ -3,7 +3,7 @@
 \begin_document
 \begin_header
 \textclass tufte-handout
-\use_default_options false
+\use_default_options true
 \language english
 \inputencoding auto
 \font_roman default
 \graphics default
 \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
 \use_amsmath 1
-\use_esint 0
+\use_esint 1
 \cite_engine basic
 \use_bibtopic false
 \paperorientation portrait
 \begin_inset Note Note
 status open
 
-\begin_layout Plain Layout
-
-\series bold
-Important note:
-\series default
- The menu 
-\family sans
-Insert\SpecialChar \menuseparator
-Hyperlinks
-\family default
- and the 
-\family sans
-PDF properties
-\family default
- in the 
-\family sans
-Document\SpecialChar \menuseparator
-Settings
-\family default
- menu cannot be used for tufte document classes!
-\end_layout
-
-\end_inset
-
-
-\begin_inset Note Note
-status open
-
 \begin_layout Plain Layout
 If the 
 \emph on
@@ -92,7 +73,7 @@ An Example of the Usage of the Tufte-Handout Style
 \end_layout
 
 \begin_layout Author
-Tufte-LaT
+Tufte-LaTe
 \begin_inset ERT
 status collapsed
 
@@ -103,7 +84,7 @@ status collapsed
 
 \end_inset
 
-eX Developers and The Ly
+X Developers and The Ly
 \begin_inset ERT
 status collapsed
 
@@ -174,11 +155,11 @@ tufte-handout
  document class and a style guide to its use.
 \end_layout
 
-\begin_layout Part*
+\begin_layout Part
 First part
 \end_layout
 
-\begin_layout Section*
+\begin_layout Section
 Page Layout
 \begin_inset CommandInset label
 LatexCommand label
@@ -186,10 +167,10 @@ name "sec:page-layout"
 
 \end_inset
 
+
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Headings and paragraph design
 \begin_inset CommandInset label
 LatexCommand label
@@ -197,7 +178,7 @@ name "sec:headings"
 
 \end_inset
 
+
 \end_layout
 
 \begin_layout Standard
@@ -217,7 +198,7 @@ section
 \emph on
 subsection
 \emph default
-) demonstrated above.
+, both numbered and non-numbered), as demonstrated above.
 \end_layout
 
 \begin_layout Standard
@@ -227,7 +208,7 @@ If you need more than two levels of section headings, you'll have to define
 status collapsed
 
 \begin_layout Plain Layout
-See see 
+See 
 \begin_inset Quotes eld
 \end_inset
 
@@ -318,7 +299,7 @@ NewThought
 ).
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Sidenotes
 \begin_inset CommandInset label
 LatexCommand label
@@ -326,7 +307,7 @@ name "sec:sidenotes"
 
 \end_inset
 
+
 \end_layout
 
 \begin_layout Standard
@@ -347,7 +328,16 @@ footnote
 
 \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
 
@@ -397,7 +387,7 @@ This is a normal margin note.
 
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 References
 \end_layout
 
@@ -429,16 +419,24 @@ BibTeX
 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
in its place.
the text.
 \end_layout
 
-\begin_layout Section*
+\begin_layout Section
 Figures and Tables
 \begin_inset CommandInset label
 LatexCommand label
@@ -446,7 +444,7 @@ name "sec:figures-and-tables"
 
 \end_inset
 
+
 \end_layout
 
 \begin_layout Standard
@@ -737,20 +735,7 @@ sideways false
 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">
 <features booktabs="true">
@@ -790,64 +775,7 @@ Paper width
 \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
 
  
@@ -870,63 +798,10 @@ Paper height
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-unit
-\end_layout
-
+\begin_inset Formula $\unit[11]{inches}$
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-[
-\end_layout
-
-\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
@@ -946,64 +821,7 @@ Textblock width
 \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
 
  
@@ -1026,67 +844,10 @@ Textblock/sidenote gutter
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-unit
-\end_layout
-
+\begin_inset Formula $\unit[\nicefrac{3}{8}]{inches}$
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-[
-\end_layout
-
-\end_inset
-
-
-\begin_inset Formula $\nicefrac{3}{8}$
-\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
@@ -1106,63 +867,10 @@ Sidenote width
 \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
-
-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
-
+\begin_inset Formula $\unit[2]{inches}$
 \end_inset
 
-inches
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
 
-}
-\end_layout
-
-\end_inset
-
 \end_layout
 
 \end_inset
@@ -1203,7 +911,7 @@ name "tab:normaltab"
 
 \end_layout
 
-\begin_layout Section*
+\begin_layout Section
 Full-width text blocks
 \end_layout
 
@@ -1238,11 +946,11 @@ Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  Duis eget orci sit amet orci dignissim rutrum.
 \end_layout
 
-\begin_layout Part*
+\begin_layout Part
 Second part
 \end_layout
 
-\begin_layout Section*
+\begin_layout Section
 Typography
 \begin_inset CommandInset label
 LatexCommand label
@@ -1253,7 +961,7 @@ name "sec:typography"
 
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Typefaces
 \begin_inset CommandInset label
 LatexCommand label
@@ -1281,7 +989,7 @@ Computer Modern
  typefaces.
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Letterspacing
 \begin_inset CommandInset label
 LatexCommand label
@@ -1383,7 +1091,7 @@ Small Caps
 The Initial Letters Of The Words In This Sentence Are Capitalized.
 \end_layout
 
-\begin_layout Section*
+\begin_layout Section
 Customization
 \begin_inset CommandInset label
 LatexCommand label
@@ -1394,7 +1102,7 @@ name "sec:customization"
 
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Document class options
 \begin_inset CommandInset label
 LatexCommand label
@@ -1484,7 +1192,7 @@ justified
  in the slightly narrower column.
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Defining new sections
 \begin_inset CommandInset label
 LatexCommand label
@@ -1523,7 +1231,7 @@ subsection
 \end_layout
 
 \begin_layout Standard
-If you wanted to define, say, a 
+If you want to define, say, a 
 \emph on
 paragraph
 \emph default
@@ -1614,7 +1322,7 @@ Companion
 ,
 \begin_inset CommandInset citation
 LatexCommand cite
-key "Mittelbach2004"
+key "LComp2004"
 
 \end_inset
 
@@ -1625,7 +1333,7 @@ titlesec
  package.
 \end_layout
 
-\begin_layout Section*
+\begin_layout Section
 Support
 \begin_inset CommandInset label
 LatexCommand label
@@ -1636,7 +1344,7 @@ name "sec:support"
 
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Package Dependencies
 \begin_inset CommandInset label
 LatexCommand label
@@ -1712,7 +1420,7 @@ palatino*
 beramono* 
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Tufte-LaTeX
 \begin_inset space \space{}
 \end_inset
@@ -1744,7 +1452,7 @@ http://code.google.com/p/tufte-latex/
 \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
 
@@ -1754,7 +1462,8 @@ svn
 
 \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