]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/tufte-book.lyx
Merge branch 'master' of git.lyx.org:lyx
[lyx.git] / lib / examples / tufte-book.lyx
index 0cb2691d8ad3946469597749f1d345c5505c8ae4..952a5c439a840c42853a8ac8c1cf201ad0cfe138 100644 (file)
@@ -1,7 +1,9 @@
-#LyX 2.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 469
+#LyX 2.3 created this file. For more info see http://www.lyx.org/
+\lyxformat 544
 \begin_document
 \begin_header
+\save_transient_properties true
+\origin /systemlyxdir/examples/
 \textclass tufte-book
 \use_default_options true
 \maintain_unincluded_children false
 \language_package default
 \inputencoding auto
 \fontencoding global
-\font_roman default
-\font_sans default
-\font_typewriter default
-\font_math auto
+\font_roman "default" "default"
+\font_sans "default" "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
+\use_microtype false
+\use_dash_ligatures false
 \graphics default
 \default_output_format pdf2
 \output_sync 0
-\bibtex_command default
+\bibtex_command bibtex
 \index_command default
 \paperfontsize default
 \spacing single
 \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
+\use_package stackrel 1
+\use_package stmaryrd 1
+\use_package undertilde 1
 \cite_engine basic
-\cite_engine_type numerical
+\cite_engine_type default
 \biblio_style plain
 \use_bibtopic false
 \use_indices false
@@ -57,6 +61,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
@@ -88,14 +96,18 @@ status open
 \series bold
 Note
 \series default
-: To be able to view your file as PDF you must have the LaTeX-package 
+: To be able to view your file as PDF you must have the \SpecialChar LaTeX
+-package 
 \family sans
 fpl
 \family default
- 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.
+ installed to your \SpecialChar LaTeX
+ system.
+ 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
@@ -103,10 +115,22 @@ fpl
 \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.
+: 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
+
+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
@@ -220,7 +244,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
@@ -256,8 +280,8 @@ Custom
 \emph default
  field in 
 \family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
 Document Class
 \family default
 .
@@ -296,8 +320,8 @@ Custom
 \emph default
  field in 
 \family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
 Document Class
 \family default
 .
@@ -316,8 +340,8 @@ Numbering
 \emph default
  slider in 
 \family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
 Numbering & TOC
 \family default
  to the very right (as done in this document).
@@ -359,6 +383,11 @@ width "100col%"
 special "none"
 height "1in"
 height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 \begin_layout Plain Layout
@@ -424,6 +453,11 @@ width "100col%"
 special "none"
 height "1in"
 height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 \begin_layout Plain Layout
@@ -545,6 +579,11 @@ 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
@@ -613,7 +652,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.
@@ -682,8 +721,8 @@ NewThought
 \family default
  character style (
 \family sans
-Edit\SpecialChar \menuseparator
-TextStyle\SpecialChar \menuseparator
+Edit\SpecialChar menuseparator
+TextStyle\SpecialChar menuseparator
 NewThought
 \family default
 ).
@@ -718,11 +757,12 @@ small caps
 
 \end_inset
 
-, the letterspacing---that is, the spacing between the letters---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
 
@@ -732,8 +772,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 
@@ -752,8 +792,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 
@@ -837,9 +877,10 @@ The previous section 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\SpecialChar TeX
+
 \begin_inset space ~
 \end_inset
 
@@ -848,13 +889,16 @@ 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\SpecialChar TeX
+
 \begin_inset space ~
 \end_inset
 
 Bibliography
 \family default
- inset inside a LyX note and use the LaTeX command 
+ inset inside a \SpecialChar LyX
+ note and use the \SpecialChar LaTeX
+ command 
 \family typewriter
 
 \backslash
@@ -900,6 +944,11 @@ width "100col%"
 special "none"
 height "1in"
 height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 \begin_layout Plain Layout
@@ -953,6 +1002,11 @@ width "100col%"
 special "none"
 height "1in"
 height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 \begin_layout Plain Layout
@@ -1030,11 +1084,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
 
 .
@@ -1128,7 +1182,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
@@ -1144,7 +1198,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
@@ -1167,7 +1221,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
@@ -1187,7 +1241,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
@@ -1264,6 +1318,11 @@ width "100col%"
 special "none"
 height "1in"
 height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 \begin_layout Plain Layout
@@ -1322,8 +1381,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
@@ -1347,7 +1406,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
@@ -1374,6 +1433,11 @@ width "100col%"
 special "none"
 height "1in"
 height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 \begin_layout Plain Layout
@@ -1402,8 +1466,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)\\