]> 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 4a4cfce2023a60b09a949adccf971202968c58ae..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,6 +155,10 @@ tufte-handout
  document class and a style guide to its use.
 \end_layout
 
+\begin_layout Part
+First part
+\end_layout
+
 \begin_layout Section
 Page Layout
 \begin_inset CommandInset label
@@ -182,7 +167,7 @@ name "sec:page-layout"
 
 \end_inset
 
+
 \end_layout
 
 \begin_layout Subsection
@@ -193,7 +178,7 @@ name "sec:headings"
 
 \end_inset
 
+
 \end_layout
 
 \begin_layout Standard
@@ -213,7 +198,7 @@ section
 \emph on
 subsection
 \emph default
-) demonstrated above.
+, both numbered and non-numbered), as demonstrated above.
 \end_layout
 
 \begin_layout Standard
@@ -223,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
 
@@ -322,7 +307,7 @@ name "sec:sidenotes"
 
 \end_inset
 
+
 \end_layout
 
 \begin_layout Standard
@@ -343,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
 
@@ -425,13 +419,21 @@ 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
@@ -442,7 +444,7 @@ name "sec:figures-and-tables"
 
 \end_inset
 
+
 \end_layout
 
 \begin_layout Standard
@@ -733,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">
@@ -786,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
 
  
@@ -866,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
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-[
-\end_layout
-
+\begin_inset Formula $\unit[11]{inches}$
 \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
@@ -942,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
 
  
@@ -1022,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
-
-\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
-
+\begin_inset Formula $\unit[\nicefrac{3}{8}]{inches}$
 \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
@@ -1102,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
-
+\begin_inset Formula $\unit[2]{inches}$
 \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
@@ -1232,7 +944,10 @@ Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  Donec varius orci eget risus.
  Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
  Duis eget orci sit amet orci dignissim rutrum.
+\end_layout
+
+\begin_layout Part
+Second part
 \end_layout
 
 \begin_layout Section
@@ -1516,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
@@ -1607,7 +1322,7 @@ Companion
 ,
 \begin_inset CommandInset citation
 LatexCommand cite
-key "Mittelbach2004"
+key "LComp2004"
 
 \end_inset
 
@@ -1737,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
 
@@ -1747,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