X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fexamples%2Ftufte-handout.lyx;h=71c135da67eb0dc3834d9f2966bbb9c713882118;hb=aca303135257f979ba09c9ab70147d4b51cef230;hp=048e38848a5d2fb6a9581f9603999425d84064cd;hpb=56ca770e7984e891d2606a0e736b167bea904d39;p=lyx.git diff --git a/lib/examples/tufte-handout.lyx b/lib/examples/tufte-handout.lyx index 048e38848a..71c135da67 100644 --- a/lib/examples/tufte-handout.lyx +++ b/lib/examples/tufte-handout.lyx @@ -1,24 +1,28 @@ -#LyX 2.1 created this file. For more info see http://www.lyx.org/ -\lyxformat 474 +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 553 \begin_document \begin_header +\save_transient_properties true +\origin /systemlyxdir/examples/ \textclass tufte-handout \use_default_options true \maintain_unincluded_children false \language english \language_package default \inputencoding auto -\fontencoding global -\font_roman default -\font_sans helvet -\font_typewriter default -\font_math auto +\fontencoding auto +\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 +\use_microtype false +\use_dash_ligatures false \graphics default \default_output_format pdf2 \output_sync 0 @@ -40,16 +44,16 @@ \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 @@ -57,6 +61,7 @@ \suppress_date false \justification true \use_refstyle 0 +\use_minted 0 \notefontcolor #0000ff \index Index \shortcut idx @@ -66,7 +71,10 @@ \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,8 +115,10 @@ 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. +: 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 @@ -113,8 +127,8 @@ Custom \begin_inset Quotes erd \end_inset - field of Document\SpecialChar \menuseparator -Settings \SpecialChar \menuseparator + 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 @@ -146,29 +160,7 @@ An Example of the Usage of the Tufte-Handout Style \end_layout \begin_layout Author -Tufte-LaTe -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - -X Developers and The Ly -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - -X Team +Tufte-LaTeX Developers and The LyX Team \end_layout \begin_layout Abstract @@ -177,13 +169,15 @@ This document describes the \emph on Tufte handout \emph default - LaTeX document style. + \SpecialChar 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 \SpecialChar LyX +. \end_layout \begin_layout Standard @@ -315,6 +309,7 @@ The Elements of Typographic Style \begin_inset CommandInset citation LatexCommand cite key "Bringhurst2005" +literal "true" \end_inset @@ -343,6 +338,7 @@ In his later books \begin_inset CommandInset citation LatexCommand cite key "Tufte2006" +literal "true" \end_inset @@ -358,8 +354,8 @@ NewThought \family default character style ( \family sans -Edit\SpecialChar \menuseparator -TextStyle\SpecialChar \menuseparator +Edit\SpecialChar menuseparator +TextStyle\SpecialChar menuseparator NewThought \family default ). @@ -393,7 +389,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. @@ -469,9 +465,10 @@ 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\SpecialChar TeX + \begin_inset space ~ \end_inset @@ -480,13 +477,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 @@ -544,7 +544,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 \SpecialChar LyX + view is wrong. Margin floats and normal floats are counted differently, whereas the use the same counter in the output. \end_layout @@ -553,6 +554,8 @@ Note: unfortunately, the counting inside the LyX view is wrong. \begin_inset Float marginfigure +placement document +alignment document wide false sideways false status open @@ -569,6 +572,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 @@ -658,6 +666,8 @@ reference "fig:textfig" is an example of the normal figure float. \begin_inset Float figure +placement document +alignment document wide true sideways false status open @@ -674,6 +684,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 @@ -729,6 +744,7 @@ name "fig:fullfig" \begin_layout Standard \begin_inset Float figure placement h +alignment document wide false sideways false status open @@ -745,6 +761,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 @@ -811,13 +832,14 @@ 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—they serve only to clutter the table's data. \end_layout \begin_layout Standard \begin_inset Float table placement ht +alignment document wide false sideways false status open @@ -826,7 +848,7 @@ status open \align center \begin_inset Tabular - + @@ -1093,11 +1115,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 @@ -1107,8 +1130,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 @@ -1127,8 +1150,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 @@ -1350,8 +1373,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 @@ -1360,13 +1383,15 @@ Preamble \backslash paragraph \family default - in LaTeX mode. + in \SpecialChar LaTeX + mode. \end_layout \begin_layout Standard For more details on defining section levels, see \shape italic -The LaTeX +The \SpecialChar LaTeX + \begin_inset space \space{} \end_inset @@ -1376,6 +1401,7 @@ Companion \begin_inset CommandInset citation LatexCommand cite key "LComp2004" +literal "true" \end_inset @@ -1460,7 +1486,8 @@ beramono* \end_layout \begin_layout Subsection -Tufte-LaTeX +Tufte-\SpecialChar LaTeX + \begin_inset space \space{} \end_inset @@ -1468,7 +1495,8 @@ Website \end_layout \begin_layout Standard -The website for the Tufte-LaTeX +The website for the Tufte-\SpecialChar LaTeX + \begin_inset space \space{} \end_inset @@ -1478,7 +1506,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