]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/tufte-handout.lyx
Document the IBus + Qt4 known issue (#9362)
[lyx.git] / lib / examples / tufte-handout.lyx
index 23b1695de3776791335be4351f2d80b1d36d538c..2a6e99e8060499bc3ae7e994c1c37f90da328957 100644 (file)
@@ -1,21 +1,30 @@
-#LyX 1.6.5svn created this file. For more info see http://www.lyx.org/
-\lyxformat 345
+#LyX 2.2 created this file. For more info see http://www.lyx.org/
+\lyxformat 503
 \begin_document
 \begin_header
+\origin /systemlyxdir/examples/
 \textclass tufte-handout
 \use_default_options true
+\maintain_unincluded_children false
 \language english
+\language_package default
 \inputencoding auto
-\font_roman default
-\font_sans helvet
-\font_typewriter default
+\fontencoding global
+\font_roman "default" "default"
+\font_sans "helvet" "default"
+\font_typewriter "default" "default"
+\font_math "auto" "auto"
 \font_default_family default
+\use_non_tex_fonts false
 \font_sc false
 \font_osf false
-\font_sf_scale 100
-\font_tt_scale 100
-
+\font_sf_scale 100 100
+\font_tt_scale 100 100
 \graphics default
+\default_output_format pdf2
+\output_sync 0
+\bibtex_command bibtex
+\index_command default
 \paperfontsize default
 \spacing single
 \use_hyperref true
 \pdf_pdfusetitle true
 \papersize default
 \use_geometry true
-\use_amsmath 1
-\use_esint 1
+\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_type default
+\biblio_style plain
 \use_bibtopic false
+\use_indices false
 \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
-\defskip medskip
+\paragraph_indentation default
 \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
 \begin_inset Note Note
 status open
 
+\begin_layout Plain Layout
+
+\series bold
+Note
+\series default
+: To be able to view your file as PDF you must have the \SpecialCharNoPassThru LaTeX
+-package 
+\family sans
+fpl
+\family default
+ installed to your \SpecialCharNoPassThru LaTeX
+ system.
+ If you are using MiK\SpecialCharNoPassThru TeX
+, you will automatically be asked to install this
+ package when previewing your file, if you are using \SpecialCharNoPassThru TeX
+Live, use \SpecialCharNoPassThru TeX
+Live's
+ package manager.
+\end_layout
+
+\begin_layout Plain Layout
+
+\series bold
+Note 2
+\series default
+: If you wish to compile to PDF with plain \SpecialCharNoPassThru LaTeX
+ (instead of pdf\SpecialCharNoPassThru TeX
+), there
+ is currently a bug in the Tufte class that causes errors.
+ You can add the class option 'nols' (put this in the 
+\begin_inset Quotes eld
+\end_inset
+
+Custom
+\begin_inset Quotes erd
+\end_inset
+
+ field of Document\SpecialChar menuseparator
+Settings \SpecialChar menuseparator
+Document Class) to get rid of the errors, but
+ this also removes letterspacing, an important part of the Tufte design.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Note
+status open
+
 \begin_layout Plain Layout
 If the 
 \emph on
@@ -104,13 +185,15 @@ This document describes the
 \emph on
 Tufte handout
 \emph default
- LaTeX document style.
+ \SpecialCharNoPassThru LaTeX
+ document style.
  It also provides examples and comments on the style's use.
  It is based on the example file shiped with 
 \emph on
 tufte-handout.cls
 \emph default
-, but adapted for the use with LyX.
+, but adapted for the use with \SpecialCharNoPassThru LyX
+.
 \end_layout
 
 \begin_layout Standard
@@ -161,13 +244,6 @@ First part
 
 \begin_layout Section
 Page Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:page-layout"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Subsection
@@ -292,8 +368,8 @@ NewThought
 \family default
  character style (
 \family sans
-Edit\SpecialChar \menuseparator
-TextStyle\SpecialChar \menuseparator
+Edit\SpecialChar menuseparator
+TextStyle\SpecialChar menuseparator
 NewThought
 \family default
 ).
@@ -301,13 +377,6 @@ NewThought
 
 \begin_layout Subsection
 Sidenotes
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:sidenotes"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -334,7 +403,7 @@ Sidenote
 \family default
  inset directly; you'll find it in the 
 \family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
 Custom Insets
 \family default
  menu.
@@ -410,9 +479,9 @@ The first paragraph of this document includes a citation.
 The complete list of references may also be printed automatically by using
  
 \family sans
-Insert\SpecialChar \menuseparator
-Lists/TOC\SpecialChar \menuseparator
-BibTeX
+Insert\SpecialChar menuseparator
+Lists/TOC\SpecialChar menuseparator
+Bib\SpecialCharNoPassThru TeX
 \begin_inset space ~
 \end_inset
 
@@ -421,13 +490,15 @@ Bibliography
  (see the end of this document for an example.) If you do not want to print
  a bibliography at the end of your document, place the 
 \family sans
-BibTeX
+Bib\SpecialCharNoPassThru TeX
 \begin_inset space ~
 \end_inset
 
 Bibliography
 \family default
- inset inside a LyX note and use the LaTeX command 
+ inset inside a \SpecialCharNoPassThru LyX
+ note and use the \SpecialCharNoPassThru LaTeX
+ command 
 \family typewriter
 
 \backslash
@@ -438,13 +509,6 @@ nobibliography
 
 \begin_layout Section
 Figures and Tables
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:figures-and-tables"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -492,7 +556,8 @@ reference "fig:marginfig"
 status collapsed
 
 \begin_layout Plain Layout
-Note: unfortunately, the counting inside the LyX view is wrong.
+Note: unfortunately, the counting inside the \SpecialCharNoPassThru LyX
+ view is wrong.
  Margin floats and normal floats are counted differently, whereas the use
  the same counter in the output.
 \end_layout
@@ -512,10 +577,16 @@ hor_pos "c"
 has_inner_box 1
 inner_pos "t"
 use_parbox 0
+use_makebox 0
 width "100line%"
 special "none"
 height "1in"
 height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 \begin_layout Plain Layout
@@ -529,7 +600,7 @@ replace the box by your figure!
 \end_layout
 
 \begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 This is a margin figure.
@@ -551,6 +622,32 @@ name "fig:marginfig"
 \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
@@ -590,10 +687,16 @@ hor_pos "c"
 has_inner_box 1
 inner_pos "t"
 use_parbox 0
+use_makebox 0
 width "100line%"
 special "none"
 height "1in"
 height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 \begin_layout Plain Layout
@@ -607,7 +710,7 @@ replace the box by your figure!
 \end_layout
 
 \begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 This is a wide figure (
@@ -637,6 +740,13 @@ name "fig:fullfig"
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace 6theight%
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -653,10 +763,16 @@ hor_pos "c"
 has_inner_box 1
 inner_pos "t"
 use_parbox 0
+use_makebox 0
 width "100line%"
 special "none"
 height "1in"
 height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 \begin_layout Plain Layout
@@ -670,7 +786,7 @@ replace the box by your figure!
 \end_layout
 
 \begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 This is a normal figure.
@@ -723,7 +839,8 @@ formal
 \end_inset
 
  in the tabular dialog).
- Notice the lack of vertical rules---they serve only to clutter the table's
+ Notice the lack of vertical rules\threehyphens
+they serve only to clutter the table's
  data.
 \end_layout
 
@@ -738,9 +855,9 @@ status open
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="6" columns="2">
-<features booktabs="true">
-<column alignment="left" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0">
+<features rotate="0" booktabs="true" tabularvalignment="middle">
+<column alignment="left" valignment="top">
+<column alignment="left" valignment="top">
 <row>
 <cell alignment="left" valignment="top" topline="true" bottomline="true" usebox="none">
 \begin_inset Text
@@ -884,7 +1001,7 @@ Sidenote width
 \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 
@@ -952,24 +1069,10 @@ Second part
 
 \begin_layout Section
 Typography
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:typography"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Subsection
 Typefaces
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:typefaces"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -991,13 +1094,6 @@ Computer Modern
 
 \begin_layout Subsection
 Letterspacing
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:letterspacing"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -1021,12 +1117,14 @@ ALL CAPS
 status open
 
 \begin_layout Plain Layout
-Small Caps
+small caps
 \end_layout
 
 \end_inset
 
-, the letterspacing---that is, the spacing between the letters---should
+, the letterspacing\threehyphens
+that is, the spacing between the letters\threehyphens
+should
  be increased slightly.
 \begin_inset CommandInset citation
 LatexCommand cite
@@ -1040,8 +1138,8 @@ AllCaps
 \emph default
  character style (
 \family sans
-Edit\SpecialChar \menuseparator
-TextStyle\SpecialChar \menuseparator
+Edit\SpecialChar menuseparator
+TextStyle\SpecialChar menuseparator
 AllCaps
 \family default
 ) has proper letterspacing for strings of 
@@ -1060,8 +1158,8 @@ SmallCaps
 \emph default
  character style (
 \family sans
-Edit\SpecialChar \menuseparator
-TextStyle\SpecialChar \menuseparator
+Edit\SpecialChar menuseparator
+TextStyle\SpecialChar menuseparator
 SmallCaps
 \family default
 ) has letterspacing for 
@@ -1093,24 +1191,10 @@ The Initial Letters Of The Words In This Sentence Are Capitalized.
 
 \begin_layout Section
 Customization
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:customization"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Subsection
 Document class options
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:options"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -1297,8 +1381,8 @@ makeatother
 \begin_layout Standard
 Place that code in 
 \family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
 Preamble
 \family default
  and you'll now be able to use 
@@ -1307,13 +1391,14 @@ Preamble
 \backslash
 paragraph
 \family default
- in LaTeX mode.
+ in \SpecialCharNoPassThru LaTeX
+ mode.
 \end_layout
 
 \begin_layout Standard
 For more details on defining section levels, see 
 \shape italic
-The LaTeX
+The \SpecialCharNoPassThru LaTeX
 \begin_inset space \space{}
 \end_inset
 
@@ -1335,24 +1420,10 @@ titlesec
 
 \begin_layout Section
 Support
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:support"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Subsection
 Package Dependencies
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:dependencies"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -1421,22 +1492,15 @@ beramono*
 \end_layout
 
 \begin_layout Subsection
-Tufte-LaTeX
+Tufte-\SpecialCharNoPassThru LaTeX
 \begin_inset space \space{}
 \end_inset
 
 Website
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:website"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
-The website for the Tufte-LaTeX
+The website for the Tufte-\SpecialCharNoPassThru LaTeX
 \begin_inset space \space{}
 \end_inset