]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/tufte-book.lyx
Fix up e5fc7327.
[lyx.git] / lib / examples / tufte-book.lyx
index 87accfa070199c04c17b4b83f0dfb251bb78a8cd..d1642777f68496203de33fb7c7d4bb4586942acf 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 2.2 created this file. For more info see http://www.lyx.org/
-\lyxformat 504
+#LyX 2.4 created this file. For more info see https://www.lyx.org/
+\lyxformat 553
 \begin_document
 \begin_header
 \save_transient_properties true
@@ -10,7 +10,7 @@
 \language english
 \language_package default
 \inputencoding auto
-\fontencoding global
+\fontencoding auto
 \font_roman "default" "default"
 \font_sans "default" "default"
 \font_typewriter "default" "default"
 \font_osf false
 \font_sf_scale 100 100
 \font_tt_scale 100 100
+\use_microtype false
+\use_dash_ligatures false
 \graphics default
 \default_output_format pdf2
 \output_sync 0
 \bibtex_command bibtex
 \index_command default
+\float_placement class
+\float_alignment class
 \paperfontsize default
 \spacing single
 \use_hyperref true
 \use_geometry true
 \use_package amsmath 1
 \use_package amssymb 1
-\use_package cancel 0
+\use_package cancel 1
 \use_package esint 1
 \use_package mathdots 1
-\use_package mathtools 0
+\use_package mathtools 1
 \use_package mhchem 1
-\use_package stackrel 0
-\use_package stmaryrd 0
-\use_package undertilde 0
-\cite_engine basic
-\cite_engine_type default
+\use_package stackrel 1
+\use_package stmaryrd 1
+\use_package undertilde 1
+\cite_engine natbib
+\cite_engine_type authoryear
 \biblio_style plain
 \use_bibtopic false
 \use_indices false
@@ -59,6 +63,7 @@
 \suppress_date false
 \justification true
 \use_refstyle 0
+\use_minted 0
 \notefontcolor #0000ff
 \index Index
 \shortcut idx
 \tocdepth 2
 \paragraph_separation indent
 \paragraph_indentation default
-\quotes_language english
+\is_math_indent 0
+\math_numbering_side default
+\quotes_style english
+\dynamic_quotes 0
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
@@ -90,19 +98,18 @@ status open
 \series bold
 Note
 \series default
-: To be able to view your file as PDF you must have the \SpecialCharNoPassThru LaTeX
+: To be able to view your file as PDF you must have the \SpecialChar LaTeX
 -package 
 \family sans
 fpl
 \family default
- installed to your \SpecialCharNoPassThru LaTeX
+ installed to your \SpecialChar 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.
+ If you are using MiK\SpecialChar TeX
+, you will automatically be asked to install this package
+ when previewing your file, if you are using \SpecialChar TeX
+Live, use \SpecialChar TeX
+Live's package manager.
 \end_layout
 
 \begin_layout Plain Layout
@@ -110,10 +117,10 @@ Live's
 \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.
+: If you wish to compile to PDF with plain \SpecialChar LaTeX
+ (instead of pdf\SpecialChar 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
@@ -239,7 +246,7 @@ status collapsed
 
 \begin_layout Plain Layout
 
-http://code.google.com/p/tufte-latex
+https://tufte-latex.github.io/tufte-latex/
 \end_layout
 
 \end_inset
@@ -362,6 +369,8 @@ Tufte uses ordinary figure floats such as the following:
 
 \begin_layout Standard
 \begin_inset Float figure
+placement document
+alignment document
 wide false
 sideways false
 status open
@@ -432,6 +441,8 @@ reference "fig:margin-figure"
 
 \begin_layout Standard
 \begin_inset Float marginfigure
+placement document
+alignment document
 wide false
 sideways false
 status open
@@ -558,6 +569,8 @@ reference "fig:full-width-figure"
 
 \begin_layout Standard
 \begin_inset Float figure
+placement document
+alignment document
 wide true
 sideways false
 status open
@@ -752,13 +765,12 @@ small caps
 
 \end_inset
 
-, the letterspacing\threehyphens
-that is, the spacing between the letters\threehyphens
-should
- be increased slightly.
+, the letterspacing—that is, the spacing between the letters—should be increased
+ slightly.
 \begin_inset CommandInset citation
 LatexCommand cite
 key "Bringhurst2005"
+literal "true"
 
 \end_inset
 
@@ -875,7 +887,8 @@ The complete list of references may also be printed automatically by using
 \family sans
 Insert\SpecialChar menuseparator
 Lists/TOC\SpecialChar menuseparator
-Bib\SpecialCharNoPassThru TeX
+Bib\SpecialChar TeX
+
 \begin_inset space ~
 \end_inset
 
@@ -884,14 +897,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
-Bib\SpecialCharNoPassThru TeX
+Bib\SpecialChar TeX
+
 \begin_inset space ~
 \end_inset
 
 Bibliography
 \family default
- inset inside a \SpecialCharNoPassThru LyX
- note and use the \SpecialCharNoPassThru LaTeX
+ inset inside a \SpecialChar LyX
+ note and use the \SpecialChar LaTeX
  command 
 \family typewriter
 
@@ -922,6 +936,8 @@ Visualizing Rotation
 
 \begin_layout Standard
 \begin_inset Float marginfigure
+placement document
+alignment document
 wide false
 sideways false
 status open
@@ -980,6 +996,8 @@ A graph of
 
 \begin_layout Standard
 \begin_inset Float marginfigure
+placement document
+alignment document
 wide false
 sideways false
 status open
@@ -1078,11 +1096,11 @@ Now, suppose we wished to find the volume of the figure.
 .
  Since height multiplied by width was the area of each rectangle, we summed
  these areas and rewrote this as 
-\begin_inset Formula $\int\, f(x)\, dx$
+\begin_inset Formula $\int\,f(x)\,dx$
 \end_inset
 
 , or, in this specific case, 
-\begin_inset Formula $\int\,\sqrt{x}\, dx$
+\begin_inset Formula $\int\,\sqrt{x}\,dx$
 \end_inset
 
 .
@@ -1176,7 +1194,7 @@ To calculate the volume of one disk, we have
 \begin_layout Standard
 \begin_inset Formula 
 \[
-V=\pi x\, dx
+V=\pi x\,dx
 \]
 
 \end_inset
@@ -1192,7 +1210,7 @@ or, in the general case
 \begin_layout Standard
 \begin_inset Formula 
 \[
-V=\pi f^{2}(x)\, dx
+V=\pi f^{2}(x)\,dx
 \]
 
 \end_inset
@@ -1215,7 +1233,7 @@ To find the volume of the figure between points
 \begin_layout Standard
 \begin_inset Formula 
 \begin{equation}
-\int_{a}^{b}\,\pi f^{2}(x)\, dx
+\int_{a}^{b}\,\pi f^{2}(x)\,dx
 \end{equation}
 
 \end_inset
@@ -1235,7 +1253,7 @@ In the specific example, over the interval
 \begin_layout Standard
 \begin_inset Formula 
 \begin{eqnarray*}
-\int_{0}^{4}\,\pi x\, dx & = & \pi\int_{0}^{4}\, x\, dx\\
+\int_{0}^{4}\,\pi x\,dx & = & \pi\int_{0}^{4}\,x\,dx\\
  & = & \pi\left.\left(\frac{x^{2}}{2}\right)\right|_{0}^{4}\\
  & = & \pi\left(\frac{4^{2}}{2}-0\right)\\
  & = & 8\pi
@@ -1296,6 +1314,8 @@ washer
 
 \begin_layout Standard
 \begin_inset Float marginfigure
+placement document
+alignment document
 wide false
 sideways false
 status open
@@ -1375,8 +1395,8 @@ The volume of each washer would be
 \begin_layout Standard
 \begin_inset Formula 
 \begin{eqnarray*}
-V_{washer} & = & A_{washer}\, dx\\
- & = & \pi\left(f^{2}(x)-g^{2}(x)\right)\, dx
+V_{washer} & = & A_{washer}\,dx\\
+ & = & \pi\left(f^{2}(x)-g^{2}(x)\right)\,dx
 \end{eqnarray*}
 
 \end_inset
@@ -1400,7 +1420,7 @@ Then, by summing the volumes of all the washers between points
 \begin_layout Standard
 \begin_inset Formula 
 \begin{equation}
-\int_{a}^{b}\,\pi\left(f^{2}(x)-g^{2}(x)\right)\, dx
+\int_{a}^{b}\,\pi\left(f^{2}(x)-g^{2}(x)\right)\,dx
 \end{equation}
 
 \end_inset
@@ -1411,6 +1431,8 @@ Then, by summing the volumes of all the washers between points
 \begin_layout Standard
 In the case of our quadratic drill bit::
 \begin_inset Float marginfigure
+placement document
+alignment document
 wide false
 sideways false
 status open
@@ -1460,8 +1482,8 @@ The cup with a quadratic hole drilled down its length
 \begin_layout Standard
 \begin_inset Formula 
 \begin{eqnarray*}
-\int_{0}^{4}\,\pi\left(\left(\sqrt{x}\right)^{2}-\left(\frac{x^{2}}{16}\right)\right)\, dx & = & \pi\int_{0}^{4}\,\left(x-\frac{x^{4}}{256}\right)\, dx\\
- & = & \pi\left(\int_{0}^{4}\, x\, dx-\int_{0}^{4}\,\frac{x^{4}}{256}\, dx\right)\\
+\int_{0}^{4}\,\pi\left(\left(\sqrt{x}\right)^{2}-\left(\frac{x^{2}}{16}\right)\right)\,dx & = & \pi\int_{0}^{4}\,\left(x-\frac{x^{4}}{256}\right)\,dx\\
+ & = & \pi\left(\int_{0}^{4}\,x\,dx-\int_{0}^{4}\,\frac{x^{4}}{256}\,dx\right)\\
  & = & \pi\left(\left.\left(\frac{x^{2}}{2}\right)\right|_{0}^{4}-\left.\left(\frac{x^{5}}{1280}\right)\right|_{0}^{4}\right)\\
  & = & \pi\left(\left(\frac{4^{2}}{2}-0\right)-\left(\frac{4^{5}}{1280}-0\right)\right)\\
  & = & \pi\left(8-0.8\right)\\