X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fexamples%2Fknitr.lyx;h=cf6ee09f2128ae91030eefa9a72d3bd8f36bbc93;hb=0c7bd9a57f2a308bb9659200eda3b7e45f8d5d3c;hp=cd02537564be9ddc39c81f38692717d117fc2b4b;hpb=4e5fd8e980d4591b3a4ecdaa08fc2b487ba700e3;p=lyx.git diff --git a/lib/examples/knitr.lyx b/lib/examples/knitr.lyx index cd02537564..cf6ee09f21 100644 --- a/lib/examples/knitr.lyx +++ b/lib/examples/knitr.lyx @@ -1,7 +1,9 @@ -#LyX 2.1 created this file. For more info see http://www.lyx.org/ -\lyxformat 474 +#LyX 2.2 created this file. For more info see http://www.lyx.org/ +\lyxformat 508 \begin_document \begin_header +\save_transient_properties true +\origin /systemlyxdir/examples/ \textclass article \use_default_options true \begin_modules @@ -12,16 +14,16 @@ knitr \language_package default \inputencoding auto \fontencoding global -\font_roman palatino -\font_sans lmss -\font_typewriter lmtt -\font_math auto +\font_roman "palatino" "default" +\font_sans "lmss" "default" +\font_typewriter "lmtt" "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 default \output_sync 0 @@ -77,7 +79,8 @@ knitr \begin_body \begin_layout Title -Using knitr with LyX +Using knitr with \SpecialChar LyX + \end_layout \begin_layout Author @@ -122,8 +125,8 @@ knitr \series default is an alternative tool to Sweave based on a different design with more features. - LyX has native support to Sweave since version 2.0.0, and the support to - + \SpecialChar LyX + has native support to Sweave since version 2.0.0, and the support to \series bold knitr \series default @@ -137,9 +140,10 @@ Sweave status open \begin_layout Plain Layout -read the LyX/Sweave manual from +read the \SpecialChar LyX +/Sweave manual from \family sans -Help\SpecialChar \menuseparator +Help\SpecialChar menuseparator Specific Manuals \end_layout @@ -149,14 +153,15 @@ Specific Manuals \end_layout \begin_layout Enumerate -Open a new LyX document; +Open a new \SpecialChar LyX + document; \end_layout \begin_layout Enumerate Go to \family sans -Document\SpecialChar \menuseparator -Settings\SpecialChar \menuseparator +Document\SpecialChar menuseparator +Settings\SpecialChar menuseparator Modules \family default and insert the module named @@ -169,8 +174,9 @@ Rnw (knitr) \begin_layout Enumerate Then insert R code in the document with either \family sans -Insert\SpecialChar \menuseparator -TeX Code +Insert\SpecialChar menuseparator +\SpecialChar TeX + Code \family default or the \family sans @@ -195,7 +201,8 @@ http://yihui.name/knitr \series bold knitr \series default -; many of the examples have links to the LyX source documents. +; many of the examples have links to the \SpecialChar LyX + source documents. \end_layout \begin_layout Standard