]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/Additional.lyx
Fix # 8414: Use the noweb module instead of literate-* article layouts
[lyx.git] / lib / doc / Additional.lyx
index 6072597d4fc26fde90b20ca5cf8380a1288d3418..a4d0c2186555008718d5aec633ee180dbbcbacd0 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 2.0 created this file. For more info see http://www.lyx.org/
-\lyxformat 413
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 447
 \begin_document
 \begin_header
 \textclass scrbook
  \cleardoublepage
  \pagenumbering{arabic}}
 
-% redefine the \LyX macro for PDF bookmarks
-\def\LyX{\texorpdfstring{%
-  L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
-  {LyX}}
-
 % used for multi-column text
 \usepackage{multicol}
 
 % extra space for tables
 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
+\usepackage{enumitem}
 \end_preamble
-\options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
+\options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
 \use_default_options false
 \begin_modules
 logicalmkup
 theorems-ams
 theorems-ams-extended
+multicol
 \end_modules
 \maintain_unincluded_children false
 \begin_local_layout
@@ -69,18 +66,18 @@ End
 \end_local_layout
 \language english
 \language_package default
-\inputencoding latin1
+\inputencoding auto
 \fontencoding global
 \font_roman default
 \font_sans default
 \font_typewriter default
+\font_math auto
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
-
 \graphics default
 \default_output_format default
 \output_sync 0
@@ -102,19 +99,26 @@ End
 \pdf_colorlinks true
 \pdf_backref false
 \pdf_pdfusetitle false
-\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,  pdfpagelayout=OneColumn, pdfnewwindow=true,  pdfstartview=XYZ, plainpages=false, pdfpagelabels"
+\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
 \papersize default
 \use_geometry false
-\use_amsmath 0
-\use_esint 0
-\use_mhchem 1
-\use_mathdots 1
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package esint 0
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package undertilde 0
 \cite_engine basic
+\cite_engine_type numerical
+\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
@@ -127,11 +131,12 @@ End
 \papercolumns 1
 \papersides 2
 \paperpagestyle headings
-\tracking_changes false
+\tracking_changes true
 \output_changes false
 \html_math_output 0
 \html_css_as_file 0
 \html_be_strict true
+\author 819523532 "Kayvan Sylvan" 
 \end_header
 
 \begin_body
@@ -140,6 +145,10 @@ End
 Additional LyX Features
 \end_layout
 
+\begin_layout Subtitle
+Version 2.0.x
+\end_layout
+
 \begin_layout Author
 by the LyX Team
 \begin_inset Foot
@@ -169,7 +178,7 @@ status collapsed
 
 \end_inset
 
+
 \end_layout
 
 \begin_layout Standard
@@ -191,7 +200,7 @@ This manual is essentially Part II of the
 User's Guide\SpecialChar \@.
 
 \emph default
- The reason for separating this document out is simple: the 
+ The reason for separating the two documents is simple: the 
 \emph on
 User's Guide
 \emph default
@@ -363,7 +372,7 @@ status collapsed
 
 \begin_layout Plain Layout
 View\SpecialChar \menuseparator
-Format
+View
 \end_layout
 
 \end_inset
@@ -377,8 +386,7 @@ status collapsed
 
 \begin_layout Plain Layout
 View\SpecialChar \menuseparator
-Update\SpecialChar \menuseparator
-Format
+Update
 \end_layout
 
 \end_inset
@@ -487,7 +495,7 @@ If there are any errors, show the error log.
 \end_layout
 
 \begin_layout Standard
-If you've run LaTeX using 
+If you have run LaTeX using 
 \begin_inset Flex MenuItem
 status collapsed
 
@@ -503,7 +511,7 @@ DVI
 \end_inset
 
 , LyX then runs a DVI viewer to display the DVI-file.
- If you've used 
+ If you have used 
 \begin_inset Flex MenuItem
 status collapsed
 
@@ -687,6 +695,12 @@ Insert\SpecialChar \menuseparator
 TeX Code
 \end_layout
 
+\end_inset
+
+ or the keyboard shortcut 
+\begin_inset Info
+type  "shortcut"
+arg   "ert-insert"
 \end_inset
 
 .
@@ -710,7 +724,7 @@ begin{minipage}{5cm}
 \begin_inset Newline newline
 \end_inset
 
-This is an example for a minipage environment.
+This is an example of a minipage environment.
  You 
 \begin_inset Newline newline
 \end_inset
@@ -798,11 +812,15 @@ TeX Code
  box containing this text is directly after this paragraph.
  Those of you reading the manual in LyX will only see the TeX code inset.
  Those reading a printed version of the manuals will see the actual results:
+\begin_inset VSpace bigskip
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
 \begin_inset ERT
-status collapsed
+status open
 
 \begin_layout Plain Layout
 
@@ -820,7 +838,7 @@ begin{minipage}{5cm}
 
 \begin_layout Plain Layout
 
-This is an example for a minipage environment.
+This is an example of a minipage environment.
  You can put nearly everything in it, even (non-floating) figures and tables.
  
 \end_layout
@@ -895,6 +913,10 @@ end{tabular}
 \end_inset
 
 
+\begin_inset VSpace bigskip
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -956,7 +978,7 @@ does not
 \end_layout
 
 \begin_layout Itemize
-Beware reinventing the wheel.
+Beware of reinventing the wheel.
 \end_layout
 
 \begin_layout Standard
@@ -974,14 +996,7 @@ target "http://www.ctan.org/"
 
 \end_inset
 
- for details, and see chapter 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "cha:secrets"
-
-\end_inset
-
-.
+ for details.
 \end_layout
 
 \begin_layout Standard
@@ -1044,6 +1059,8 @@ Declare the usage of packages.
 
 LaTeX packages provide special commands, which are only available within
  a document when the package has been declared in the preamble.
+ In addition to providing special commands, the inclusion of a package can
+ change the document.
  For example, the package 
 \begin_inset Flex Code
 status collapsed
@@ -1065,13 +1082,13 @@ Set counters, variables, lengths and widths.
 \begin_inset Newline newline
 \end_inset
 
-There are several LaTeX counters and variables which 
+There are several LaTeX counters and variables that 
 \emph on
 must
 \emph default
  be set globally from within the preamble in order to have the desired effect.
- (There are variables which you can set and reset inside the document, too.)
- Margins are a good example of something which must be set in the preamble.
+ (There are variables that you can set and reset inside the document, too.)
+ Margins are a good example of something that must be set in the preamble.
  Another example is the label format for lists.
  You can actually set these just about anywhere, but it's best to do it
  just once, inside the preamble.
@@ -1560,27 +1577,6 @@ Example #4: This Document
 \begin_layout Standard
 You can also check out the preamble of this document to get an idea of some
  of the advanced things you can do.
- Also, there are more examples and an assortment of LaTeX 
-\begin_inset Quotes eld
-\end_inset
-
-dirty tricks
-\begin_inset Quotes erd
-\end_inset
-
- given in Chapter
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "cha:secrets"
-
-\end_inset
-
-.
 \end_layout
 
 \begin_layout Section
@@ -1591,7 +1587,7 @@ LyX and LaTeX Errors
 When LyX calls LaTeX, it tells LaTeX to blithely ignore any errors and keep
  going.
  It then uses the logfile from the LaTeX run to do a post-mortem.
- After analyzing the logfile,LyX displays a dialog listing the errors.
+ After analyzing the logfile, LyX displays a dialog listing the errors.
  Clicking on any one of them will take you to the position in your LyX file
  where the error occurred.
 \begin_inset Foot
@@ -1810,7 +1806,7 @@ Warnings about troubles breaking the page.
 status collapsed
 
 \begin_layout Plain Layout
- LaTeX Error: File 
+LaTeX Error: File 
 \begin_inset Quotes els
 \end_inset
 
@@ -2200,7 +2196,7 @@ natbib
 
 \end_inset
 
-, than the established 
+, then the established 
 \begin_inset Flex Code
 status collapsed
 
@@ -2499,7 +2495,7 @@ scientific.bib
 
 .
  You are free to use the same or different styles for each section.
- Additionally, you can chose if the bibliography section should contain
+ Additionally, you can choose if the bibliography section should contain
  
 \begin_inset Quotes eld
 \end_inset
@@ -2562,7 +2558,7 @@ bibtopic
 
 \end_inset
 
- removes the bibliography title, you have manually re-add that, too (as
+ removes the bibliography title, you have to manually re-add that, too (as
  a chapter* or section*, for instance).
 \end_layout
 
@@ -2707,7 +2703,7 @@ end{btUnit}
 \end_inset
 
  (those commands have to be inserted as TeX code).
- The bibliography will contain all references which have been cited in the
+ The bibliography will contain all references that have been cited in the
  current 
 \begin_inset Flex Code
 status collapsed
@@ -2784,7 +2780,7 @@ master
 \begin_inset space \thinspace{}
 \end_inset
 
-g.
+e.
 \begin_inset space \space{}
 \end_inset
 
@@ -2884,7 +2880,7 @@ input
 \end_inset
 
  is really only meaningful to LaTeXperts, but the practical difference is
- that files which are 
+ that files that are 
 \begin_inset Quotes eld
 \end_inset
 
@@ -2892,7 +2888,7 @@ included
 \begin_inset Quotes erd
 \end_inset
 
- are typeset beginning on a new page, while files which are 
+ are typeset beginning on a new page, while files that are 
 \begin_inset Quotes eld
 \end_inset
 
@@ -2905,7 +2901,7 @@ inputted
 
 \begin_layout Standard
 Generally, the master file is converted into a full LaTeX file before typesettin
-g, while the included files are converted to LaTeX files which do not have
+g, while the included files are converted to LaTeX files that do not have
  all the preamble information.
 \end_layout
 
@@ -2923,7 +2919,7 @@ verbatim
 \begin_inset space \thinspace{}
 \end_inset
 
-g.
+e.
 \begin_inset space \space{}
 \end_inset
 
@@ -3001,7 +2997,7 @@ It is possible to set up cross-references between the different files.
  First, open all the files in question: let's call them A and B in a two
  file example, where B is included in A.
  Let's say you insert a label in A, then want to reference it in B.
- Open the cross-reference dialog in whilst in document B, and you can select
+ Open the cross-reference dialog whilst in document B, and you can select
  the 
 \begin_inset Quotes eld
 \end_inset
@@ -3059,8 +3055,8 @@ status collapsed
 \end_layout
 
 \begin_layout Standard
-As the bibliography list is in a comment, LaTeX won't use use it and the
references will look like this: [?], instead of like this: [1].
+As the bibliography list is in a comment, LaTeX won't use it and the references
+ will look like this: [?], instead of like this: [1].
  One solution is to use the LaTeX-package 
 \begin_inset Flex Code
 status collapsed
@@ -3424,7 +3420,7 @@ lhead{John Q.
 \begin_layout Standard
 You will now see your name in the upper left.
  If a field has a default entry that you would like to get rid of (often
- the page number appears in the central footer, simply include a command
+ the page number appears in the central footer) simply include a command
  with a blank argument, e.
 \begin_inset space \thinspace{}
 \end_inset
@@ -3771,14 +3767,14 @@ The dialog provides you with a table of bullet shapes.
 
 \begin_layout Standard
 The six panels are divided up by the packages they require.
- The following table shows the mappings from button name to LaTeX packages.
+ The following table shows the mappings from button name to LaTeX package.
 \end_layout
 
 \begin_layout Standard
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="7" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
 <row>
@@ -4528,7 +4524,7 @@ development/HTML.notes
 \begin_inset CommandInset href
 LatexCommand href
 name "accessed online"
-target "http://www.lyx.org/trac/browser/lyx-devel/trunk/development/HTML/HTML.notes"
+target "http://www.lyx.org/trac/browser/lyxgit/development/HTML/HTML.notes?rev=master"
 
 \end_inset
 
@@ -5357,7 +5353,7 @@ development/lyxserver/server_monitor.c
 \end_layout
 
 \begin_layout Standard
-Another useful tool is command-line based client you will find in 
+Another useful tool is the command-line based clientfound in 
 \begin_inset Flex Code
 status collapsed
 
@@ -5689,26 +5685,37 @@ lyxclient
 \end_layout
 
 \begin_layout Subsection
+Automatic setup
 \begin_inset CommandInset label
 LatexCommand label
 name "sub:rev-search"
 
 \end_inset
 
-Automatic setup
+
 \end_layout
 
 \begin_layout Standard
-In most cases LyX will do the work for you by enabling 
+In most cases LyX will do the work for you by enabling the option 
 \begin_inset Flex MenuItem
 status collapsed
 
 \begin_layout Plain Layout
-Document\SpecialChar \menuseparator
-Output\SpecialChar \menuseparator
 Synchronize with Output
 \end_layout
 
+\end_inset
+
+ in the menu 
+\begin_inset Flex MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Output
+\end_layout
+
 \end_inset
 
 .
@@ -5735,6 +5742,7 @@ status collapsed
 
 \begin_layout Plain Layout
 Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
 Output\SpecialChar \menuseparator
 Synchronize with Output
 \end_layout
@@ -5745,7 +5753,36 @@ Synchronize with Output
 \end_layout
 
 \begin_layout Standard
-Please note that including the 
+Note that the method 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+synctex=1
+\end_layout
+
+\end_inset
+
+ enables gzip compression.
+ If your viewer does not support it, you should instead use 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+synctex=-1
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+Please aöso note that including the 
 \begin_inset Flex Code
 status collapsed
 
@@ -5788,6 +5825,7 @@ src-specials
 \end_inset
 
 .
 \end_layout
 
 \begin_layout Standard
@@ -6144,7 +6182,7 @@ d for the use with SyncTeX.
 status collapsed
 
 \begin_layout Plain Layout
-The 
+Note that the option 
 \begin_inset Flex Code
 status collapsed
 
@@ -6451,18 +6489,27 @@ Sync
 
 \end_inset
 
- select Ly
-\begin_inset ERT
+ choose 
+\begin_inset Flex MenuItem
 status collapsed
 
 \begin_layout Plain Layout
+custom
+\end_layout
 
-{}
+\end_inset
+
+ preset and enter command 
+\begin_inset Flex MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+/Applications/LyX.app/Contents/MacOS/lyxeditor
 \end_layout
 
 \end_inset
 
-X.
+.
 \end_layout
 
 \begin_layout Standard
@@ -6861,7 +6908,7 @@ In order to use SumatraPDF for inverse search, enter
 status collapsed
 
 \begin_layout Plain Layout
-SumatraPDF.sh
+SumatraPDF -inverse-search "lyxeditor -g %f %l"
 \end_layout
 
 \end_inset
@@ -6879,46 +6926,8 @@ PDF (pdflatex)
 
 \end_inset
 
-, where 
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-SumatraPDF.sh
-\end_layout
-
-\end_inset
-
- is the following script (to be placed in your command PATH, 
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-/usr/local/bin
-\end_layout
-
-\end_inset
-
- being the best choice):
-\end_layout
-
-\begin_layout LyX-Code
-#!/bin/bash
-\begin_inset Newline newline
-\end_inset
-
-cd $(dirname $1)
-\begin_inset Newline newline
-\end_inset
-
-SumatraPDF -inverse-search "lyxeditor -g %f %l" $(basename $1)
-\end_layout
-
-\begin_layout Standard
-This wrapper script is needed because SumatraPDF is a native Windows application
- and does not understand the posix paths used by the Cygwin version of LyX.
- If SumatraPDF.exe is not in your command PATH, use its full posix path in
- the script above.
+.
+ If SumatraPDF.exe is not in your command PATH, use its full posix path.
  The 
 \begin_inset Flex Code
 status collapsed
@@ -6968,7 +6977,7 @@ opposite
 \begin_inset Quotes erd
 \end_inset
 
to reverse search.
of reverse search.
  It allows you to let the viewer jump to a given position from within LyX.
  If forward search is set up (as described in what follows), you can put
  the cursor anywhere in your LyX document, and hit 
@@ -7029,7 +7038,7 @@ General
  can select from the drop down list.
  If none of these configurations suits you, you have to find out and enter
  a suitable configuration yourself.
- The definition syntax uses the following placeholders: 
+ The definition syntax uses the following placeholders:
 \end_layout
 
 \begin_layout Itemize
@@ -7057,7 +7066,21 @@ $$t
 
 \end_inset
 
-: name of the (temporary) exported .tex file
+: name of the (temporary) exported .tex file (without path)
+\end_layout
+
+\begin_layout Itemize
+\noindent
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+$$f
+\end_layout
+
+\end_inset
+
+: name of the (temporary) exported .tex file (including path)
 \end_layout
 
 \begin_layout Itemize
@@ -7077,18 +7100,23 @@ $$o
 
 \begin_layout Standard
 Note that only some of the viewers provide full forward search functionality,
- among them yap, xdvi, okular and Sumatra PDF
+ among them yap, xdvi, okular and Sumatra PDF.
 \begin_inset Foot
 status collapsed
 
 \begin_layout Plain Layout
-For Sumatra CMCDDE is needed --- downloadable from http://www.istri.fr/zip/CMCDDE.z
-ip
+For Sumatra CMCDDE is needed --- downloadable from 
+\begin_inset CommandInset href
+LatexCommand href
+target "http://www.istri.fr/zip/CMCDDE.zip"
+
+\end_inset
+
+
 \end_layout
 
 \end_inset
 
-.
  While many of the widespread PDF viewers (most notably Adobe Reader) do
  not support forward search at all, some other viewers -- e.
 \begin_inset space \thinspace{}
@@ -7105,7 +7133,7 @@ near
 \end_inset
 
 .
- These latter functionality is provided by an external call of synctex (see
+ This latter functionality is provided by an external call of synctex (see
  the predefined example configurations).
  
 \end_layout
@@ -7118,7 +7146,6 @@ Forward search works both with DVI and PDF output.
 
 e., which format is already there in the temporary directory) and chooses
  the appropriate configuration for the respective format.
 \end_layout
 
 \begin_layout Chapter
@@ -8030,22 +8057,6 @@ aasguide.tex
 Things that work as expected
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{sloppypar}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
 \begin_layout Standard
 Because they work as you might expect, I simply list them and the section
  they are found in: 
@@ -8242,22 +8253,6 @@ Document
 .
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-
-\backslash
-end{sloppypar}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
 \begin_layout Subsubsection
 Things that work, but require more comment
 \end_layout
@@ -8488,22 +8483,6 @@ figcaption
 Things not implemented, use TeX code
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{sloppypar}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
 \begin_layout Standard
 
 \family typewriter
@@ -8630,22 +8609,6 @@ twocolumn
  (3.2)
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-
-\backslash
-end{sloppypar}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
 \begin_layout Subsubsection
 Things that cannot be implemented
 \end_layout
@@ -8904,7 +8867,11 @@ AMS LaTeX
 \begin_layout Standard
 by 
 \noun on
-David Johnson; updated by Richard Heck
+David Johnson
+\noun default
+; updated by 
+\noun on
+Richard Heck
 \end_layout
 
 \begin_layout Standard
@@ -8977,8 +8944,7 @@ Theorems (AMS)
 
 \end_inset
 
- module, which is loaded by default when when you select one of the AMS
- classes.
+ module, which is loaded by default when you select one of the AMS classes.
  (It can also be used with other classes and can be removed, if you would
  rather use something else.) Less commonly used environments are in the 
 \begin_inset Flex Code
@@ -9980,80 +9946,12 @@ Elsevier Journals
 \end_layout
 
 \begin_layout Standard
-By 
-\noun on
-Rod Pinna
-\end_layout
-
-\begin_layout Standard
-Elsevier Science Publishers B.V.
- provides a standard LaTeX document class (
+See the LyX template file 
 \family typewriter
-elsart.cls
+elsarticle.lyx
 \family default
-) for submitting articles to their various journals.
- The style file can be downloaded directly from their web site: 
-\begin_inset Flex URL
-status collapsed
-
-\begin_layout Plain Layout
-
-http://www.elsevier.com/wps/find/authorsview.authors/latex
-\end_layout
-
-\end_inset
-
 .
- Instructions are supplied along with the class file, which details the
- requirements of the publishers.
- LyX includes a package that allows for the use of this class, by a layout
- and a template file.
- Installation of the class file is the same as for any other LaTeX package;
- instructions are provided in the Elsevier documentation.
-\end_layout
-
-\begin_layout Standard
-To make use of 
-\family typewriter
-elsart.cls
-\family default
-, a file 
-\family typewriter
-elsart.layout
-\family default
- is supplied.
- As the Elsevier class file is based mainly on the standard article class,
- most of the normal functionality is provided.
- The Elsevier class defines a number of mathematical environments, which
- are similar to the AMS environments.
- These commands are all described in the Elsevier documentation, and are
- available in LyX.
-\end_layout
-
-\begin_layout Standard
-The easiest way to use the Elsevier style is to base documents on the included
- template file.
- It is best not to use options such as fancy headings or the geometry package,
- as elements such as these are defined by Elsevier in their style file.
- Ideally, no extra packages except those mentioned in the Elsevier documentation
- should be used.
- Essentially, Elsevier require as 
-\begin_inset Quotes eld
-\end_inset
-
-clean
-\begin_inset Quotes erd
-\end_inset
-
- a LaTeX file as possible, as their intention is to take the supplied file
- and replace the class file with one for the particular journal to which
- the paper has been submitted.
- This also means that not too much time should be spent on the formating
- of the document.
- When it comes to be published, this will change anyway.
- The rest of the usage for this layout is substantially the same as for
- the normal article class.
- For details of what Elsevier do and don't allow, refer to their documentation.
+ It contains all infos you need.
 \end_layout
 
 \begin_layout Section
@@ -10860,7 +10758,7 @@ FoilTeX
 \begin_inset space \thinspace{}
 \end_inset
 
-g.
+e.
 \emph on
 
 \begin_inset space \space{}
@@ -12978,7 +12876,7 @@ Information given at the beginning of the article (i.
 \begin_inset space \thinspace{}
 \end_inset
 
-g.
+e.
 \begin_inset space \space{}
 \end_inset
 
@@ -13759,22 +13657,6 @@ scrmacros.inc
 letter (koma-script)
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{sloppypar}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
 \begin_layout Standard
 \noindent
 The document class 
@@ -13829,22 +13711,6 @@ Verse
  Furthermore, there are a number of new letter specific types.
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-
-\backslash
-end{sloppypar}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
 \begin_layout Standard
 The appearance of the letter produced by this document class can be controlled
  by a number of LaTeX commands, which you can put in the LaTeX preamble.
@@ -14529,7 +14395,7 @@ NextAddress
 \begin_inset space \thinspace{}
 \end_inset
 
-g.
+e.
 \begin_inset space \space{}
 \end_inset
 
@@ -14710,113 +14576,6 @@ Skip
  document to produce the gap, which is not what is wanted in this case.
 \end_layout
 
-\begin_layout Section
-Latex8 (IEEE Conference Papers)
-\end_layout
-
-\begin_layout Standard
-by 
-\noun on
-Allan Rae
-\end_layout
-
-\begin_layout Subsection
-Introduction
-\end_layout
-
-\begin_layout Standard
-Since this class is specifically for writing submissions to IEEE sponsored
- conferences I strongly recommend that you get a copy of their Authors Kit.
- The 
-\family sans
-latex.sty
-\family default
- package and associated bibliography style file is included in the kit.
- The Authors Kit is usually sent out by email once your initial submission
- has been accepted.
- There is a lot of useful information in the Authors Kit explaining formatting
- restrictions and so on and I will assume you have read this since that
- means I don't have to repeat it all here.
-\end_layout
-
-\begin_layout Subsection
-Getting Started
-\end_layout
-
-\begin_layout Standard
-[AR\SpecialChar \@.
- more to come]
-\end_layout
-
-\begin_layout Subsection
-Supported Environments
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Standard
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Title
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Author
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-E-mail
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Affiliation
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Abstract
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Section
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-SubSection
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Caption
-\end_layout
-
-\begin_layout Subsection
-Differences Between Screen and Paper
-\end_layout
-
-\begin_layout Standard
-There are slight differences in appearance mainly with the presentation
- of section counters.
- On screen the trailing period of the section counter is missing but it
- will appear in the output so don't let this worry you.
-\end_layout
-
 \begin_layout Section
 Memoir
 \end_layout
@@ -14868,7 +14627,8 @@ lyx-devel@lists.lyx.org
 
 \end_inset
 
-, lots will probably never, due to the limitations of LyX's framework.
+, lots will probably never be supported, due to the limitations of LyX's
+ framework.
  Of course you can still use all features with the help of some native LaTeX
  commands (TeX code
 \begin_inset Foot
@@ -14905,7 +14665,7 @@ reference "sec:Inserting-TeX-Code"
 \end_inset
 
 ).
- In this section, we can only list those features which are natively supported
+ In this section, we can only list those features that are natively supported
  by LyX.
  For detailed descriptions (and for the rest of features) we recommend you
  have a look at the detailed manual of the Memoir class
@@ -15049,15 +14809,7 @@ empty
 \begin_inset Quotes erd
 \end_inset
 
-, i.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\begin_inset space \space{}
-\end_inset
-
-without pagina).
+).
  If you want an empty title page, type 
 \family typewriter
 
@@ -15242,7 +14994,7 @@ Poemtitle*: Same as poemtitle, but it adds no entry to the table of contents.
 
 \begin_layout Section
 Article (mwart), book (mwbk) and report (mwrep)
-\begin_inset Argument
+\begin_inset Argument status
 status collapsed
 
 \begin_layout Plain Layout
@@ -15497,7 +15249,7 @@ http://publish.aps.org/revtex4/
 \begin_inset space \thinspace{}
 \end_inset
 
-g.
+e.
 \begin_inset space \space{}
 \end_inset
 
@@ -18088,7 +17840,7 @@ TeX
 \family typewriter
 chktex
 \family default
it from CTAN, 
+ from CTAN, 
 \begin_inset CommandInset href
 LatexCommand href
 target "http://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
@@ -18233,8 +17985,8 @@ Space in front of references, instead of hard spaces:
 \begin_inset Newline newline
 \end_inset
 
-In you are in bad luck, the text will break right between the referenced
text and reference number, and that's a pity.
+If you have bad luck, the text will break right between the referenced text
+ and reference number, and that's a pity.
  See section 
 \begin_inset CommandInset ref
 LatexCommand ref
@@ -18356,8 +18108,7 @@ emacs
 \family sans
 ChkTeX
 \family default
-, and this gap can make some warnings seem arcane or just right down plain
- silly.
+, and this gap can make some warnings seem arcane or just plain silly.
 \end_layout
 
 \begin_layout Standard
@@ -18383,24 +18134,6 @@ ChkTeX
 ChkTeX
 \family default
  to get better along with you.
- Another choice in the most desperate situations is to use 
-\family sans
-View\SpecialChar \menuseparator
-Remove
-\begin_inset space ~
-\end_inset
-
-All
-\begin_inset space ~
-\end_inset
-
-Error
-\begin_inset space ~
-\end_inset
-
-Boxes
-\family default
-, which will get rid of all warnings instantly.
 \end_layout
 
 \begin_layout Standard
@@ -18454,8 +18187,8 @@ chktex
 
 \end_inset
 
- to the internal document structure, some of the warnings will not seen
to appear correctly.
+ to the internal document structure, some of the warnings will not appear
+ correctly.
  There are two things you can do about this:
 \end_layout
 
@@ -18465,18 +18198,20 @@ Fine tune the
 ChkTeX
 \family default
  invocation command line in 
-\family sans
-Preferences
-\family default
- (tabs 
-\family sans
-Outputs
-\family default
-, 
-\family sans
-Misc
-\family default
-), or the global 
+\begin_inset Flex MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+Tools\SpecialChar \menuseparator
+Preferences\SpecialChar \menuseparator
+Output\SpecialChar \menuseparator
+LaTeX\SpecialChar \menuseparator
+CheckTeX command
+\end_layout
+
+\end_inset
+
+, or the global 
 \family sans
 ChkTeX
 \family default
@@ -18487,7 +18222,6 @@ chktexrc
 ).
  See below to learn what warnings can be enabled and disabled on the command
  line.
 \end_layout
 
 \begin_layout Itemize
@@ -19179,23 +18913,15 @@ Introduction
 \end_layout
 
 \begin_layout Standard
-A friend of mine wanted to try LyX for a group project.
- When he didn't find support for version control or file locking, he dropped
- it.
- This angered me a bit, so I thought that I should at least make support
- for RCS (with the possibility of CVS and/or SCCS as a future improvement.)
- This has been done.
- LyX now supports some of the most basic RCS/CVS/SVN commands.
+LyX supports some of the most basic RCS/CVS/SVN commands.
  If you need something a bit more sophisticated you will have to do that
  manually in a terminal.
 \end_layout
 
 \begin_layout Standard
-Before you begin to use the version control features in LyX, you should
- be familiar with RCS/CVS/SVN usage before start using it under LyX.
- Also note that CVS support is not as good as subversion support so we advice
+Also note that CVS support is not as good as subversion support so we advise
  using SVN instead.
Good place to start with Subversion is SVN Book
A good place to start learning Subversion is SVN Book
 \begin_inset Foot
 status open
 
@@ -19212,7 +18938,7 @@ target "http://svnbook.red-bean.com/"
 \end_inset
 
 .
- In case of RCS you should read 
+ In the case of RCS you should read 
 \begin_inset Quotes eld
 \end_inset
 
@@ -19235,10 +18961,24 @@ man rcsintro
 \end_layout
 
 \begin_layout Standard
-The implementation in LyX assumes a recent version of the GNU RCS or CVS/SVN
+Before you begin to use the version control features in LyX, you should
+ be familiar with RCS/CVS/SVN usage.
+ The implementation in LyX assumes a recent version of the GNU RCS or CVS/SVN
  package—no guarantees are made for older versions.
  Most of the log messages are not currently displayed after operations —
- you can check them in Messages pane if unsure.
+ you can check them in the Messages pane if unsure.
+ Regular users of version control will appreciate VC toolbar, which can
+ be enabled via 
+\family sans
+View\SpecialChar \menuseparator
+Toolbars\SpecialChar \menuseparator
+Version
+\begin_inset space ~
+\end_inset
+
+Control
+\family default
+.
 \end_layout
 
 \begin_layout Standard
@@ -19262,7 +19002,22 @@ Version
 Control
 \family default
  submenu.
- LyX was tested against RCS 5.7.
+ LyX was tested against RCS 5.7/5.8
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+Note that old DOS / MS Windows builds (5.7) need to setup environment variables
+ in order to work properly with LyX.
+ In particular time zone (TZ) should be set and more importantly RCSINIT
+ in order to change default archive location ("SET RCSINIT=-x,v/") --- LyX
+ expects archive to be found in file.lyx,v within the original document directory.
+ See also README shipped with Windows RCS binaries.
+\end_layout
+
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Subsubsection
@@ -19434,7 +19189,13 @@ Revision info
 \end_layout
 
 \begin_layout Standard
-LyX supports RCS version number information (only), see 
+LyX supports RCS version number, author name, date and time of last commit.
+ All those are extracted from 
+\family typewriter
+rlog -r <file-name>
+\family default
+.
+ For other details see 
 \begin_inset CommandInset ref
 LatexCommand ref
 reference "sub:VCS-Revision-Information"
@@ -19623,8 +19384,8 @@ only
 
 \end_inset
 
- in case you have already the documents directory under CVS control (in
- particular 
+ in the case you have already the documents directory under CVS control
(in particular 
 \family typewriter
 CVS/Entries
 \family default
@@ -20533,7 +20294,7 @@ svnversion
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="6" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0">
 <column alignment="center" valignment="top" width="0">
 <row>
@@ -21042,7 +20803,7 @@ SSH tunnel used with SVN under Windows
 \end_layout
 
 \begin_layout Standard
-Compared with Linux setting up svn client to communicate over ssh under
+Compared with Linux setting up an svn client to communicate over ssh under
  Windows is a rather troublesome task.
  We will at least offer some hints how to setup the client side but prior
  knowledge about ssh and the Windows command line is needed, also be prepared
@@ -21051,7 +20812,7 @@ Compared with Linux setting up svn client to communicate over ssh under
 \end_layout
 
 \begin_layout Enumerate
-Get a svn client for windows, as described in the previous sections.
+Get an svn client for windows, as described in the previous sections.
  When it is a fresh install run some svn command (e.g.
  
 \begin_inset Flex Code
@@ -21067,7 +20828,7 @@ svn --version
 \end_layout
 
 \begin_layout Enumerate
-Choose a ssh client for Windows.
+Choose an ssh client for Windows.
  There are several possibilities, we will use the one from Putty tools
 \begin_inset Foot
 status open
@@ -21125,7 +20886,7 @@ status collapsed
 
 \end_inset
 
-/ 
+ 
 \begin_inset Flex Code
 status collapsed
 
@@ -21243,8 +21004,8 @@ End-of-Line Conversions
 \end_layout
 
 \begin_layout Standard
-When the collsraborators are mixing Linux and Windows environments, LyX
will use different line endings inside the .lyx files.
+When the collaborators are mixing Linux and Windows environments, LyX will
+ use different line endings inside the .lyx files.
  This is not a problem as far as LyX functionality is concerned, but the
  commit diffs will be huge and merge-conflicts prone.
  Fortunately SVN itself knows
@@ -21360,9 +21121,9 @@ diff
 
  dumps.
  While this is useful for plain text files, it is much less useful in the
- case of LyX files, which have more complicated structure.
+ case of LyX files, which have more complicated structure.
  Hence we provide binding to the Document comparison feature.
- They are two ways of calling this feature - either by direct call of 
+ There are two ways of calling this feature - either by direct call of 
 \begin_inset Flex Code
 status collapsed
 
@@ -21575,7 +21336,7 @@ It has a open architecture, i.
 \begin_inset space \thinspace{}
 \end_inset
 
-g.
+e.
 \begin_inset space \space{}
 \end_inset
 
@@ -21618,7 +21379,7 @@ Starting from there you can reach many other interesting links and even
 \end_layout
 
 \begin_layout Subsection
-LyX and Literate Programming
+LyX and Literate Programming with Noweb
 \end_layout
 
 \begin_layout Standard
@@ -21636,7 +21397,7 @@ Noweb independent
 \begin_inset space \thinspace{}
 \end_inset
 
-g.
+e.
 \begin_inset space \space{}
 \end_inset
 
@@ -21649,63 +21410,72 @@ Generating documents and code (weaving and tangling)
 \end_layout
 
 \begin_layout Paragraph
-Selecting the document class
+Using the noweb module
 \end_layout
 
 \begin_layout Standard
 If you have installed Noweb and LyX successfully, whenever you open a new
- document or try to change the document class of an existing one, you will
- find that there are three new document classes available:
-\end_layout
+ document, after you have chosen its document class, use the Document->Settings
+ menu to add the 
+\begin_inset Quotes eld
+\end_inset
 
-\begin_layout Itemize
-Article (Noweb)
-\end_layout
+noweb
+\begin_inset Quotes erd
+\end_inset
 
-\begin_layout Itemize
-Book (Noweb)
-\end_layout
+ module.
+ If Noweb is correctly installed, when you click on the 
+\begin_inset Quotes eld
+\end_inset
 
-\begin_layout Itemize
-Report (Noweb)
+Modules
+\begin_inset Quotes erd
+\end_inset
+
+ link, you will see the 
+\begin_inset Quotes eld
+\end_inset
+
+noweb
+\begin_inset Quotes erd
+\end_inset
+
+ module in the available list and you can add it to your document.
 \end_layout
 
-\begin_layout Standard
-You must select one of them to create your literate documents from.
+\begin_layout Paragraph
+Typing code in
 \end_layout
 
 \begin_layout Standard
-Note that literate documents are not limited to these three classes.
- New classes can be generated from other styles like letter or in combination
- with other class variations like Article (AMS).
- If you have special needs that cannot be covered by one of the existing
- classes, let the LyX developers list (lyx-devel@lists.lyx.org) know and we
- will arrange to insert a new entry, or teach you how to do it.
-\begin_inset Foot
+LyX enables you to write code with a layout named 
+\change_inserted 819523532 1353904450
+
+\begin_inset Flex Noun
 status collapsed
 
 \begin_layout Plain Layout
-It is very simple, it involves the creation of a file with four lines, and
- re-running of the auto configuration.
+
+\change_inserted 819523532 1353904450
+Chunk
+\change_unchanged
+
 \end_layout
 
 \end_inset
 
- Moreover, if you use a literate tool other than Noweb you may need to create
- a new set of document classes for it.
-\end_layout
 
-\begin_layout Paragraph
-Typing code in
-\end_layout
+\change_deleted 819523532 1353904406
 
-\begin_layout Standard
-LyX enables you to write code with a layout named 
 \noun on
 Scrap
+\change_unchanged
+
 \noun default
 .
+\change_deleted 819523532 1353904396
+
 \begin_inset Foot
 status collapsed
 
@@ -21733,11 +21503,25 @@ scrap
 
 \end_inset
 
- Noweb delimits scraps like this:
+
+\change_unchanged
+ Noweb delimits 
+\change_deleted 819523532 1353904459
+scraps
+\change_inserted 819523532 1353904461
+chunks
+\change_unchanged
+ like this:
 \end_layout
 
 \begin_layout LyX-Code
-<<My scrap>>=
+<<My 
+\change_deleted 819523532 1353904469
+scrap
+\change_inserted 819523532 1353904470
+code
+\change_unchanged
+>>=
 \end_layout
 
 \begin_layout LyX-Code
@@ -21765,107 +21549,77 @@ The problem is that whatever is written in between the << and the
 \begin_inset space \thinspace{}
 \end_inset
 
-g.
+e.
 \begin_inset space \space{}
 \end_inset
 
 LyX should be prevented from making any special interpretation of what has
  been written.
- This is handled by a special layout named Scrap, that works like a normal
- paragraph but has a free spacing capability.
+ This is handled by a special layout named 
+\change_deleted 819523532 1353904493
+Scrap
+\change_inserted 819523532 1353904494
+Chunk
+\change_unchanged
+, that works like a normal paragraph but has a free spacing capability.
 \end_layout
 
 \begin_layout Standard
-The down side of the Scrap paragraph layout is that consecutive paragraphs
- of code will be spaced with one empty line in the source code and also
- in the printed documentation.
- The work around is to enter each line of code within a single Scrap, with
- a newline (ctrl-return).
- The example above will look like this:
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-If you have a printed version of this document you will not see any difference
- between the previous example and this one.
-\end_layout
-
+As a special note, you can also use the 
+\begin_inset Quotes eld
 \end_inset
 
+%def
+\begin_inset Quotes erd
+\end_inset
 
+ construct of Noweb in your 
+\change_deleted 819523532 1353904503
+scraps
+\change_inserted 819523532 1353904504
+chunks
+\change_unchanged
+ to add items to Noweb's identifier cross-reference:
 \end_layout
 
 \begin_layout LyX-Code
-<<My scrap>>=
-\begin_inset Newline newline
-\end_inset
+<<My 
+\change_deleted 819523532 1353904516
+scrap
+\change_inserted 819523532 1353904517
+chunk
+\change_unchanged
+>>=
+\change_inserted 819523532 1353904523
 
-  code
-\begin_inset Newline newline
-\end_inset
-
-  more code
-\begin_inset Newline newline
-\end_inset
-
-  even more code
-\begin_inset Newline newline
-\end_inset
-
-  @
-\end_layout
-
-\begin_layout Standard
-This layout works fine.
- The only real inconvenience is that you have to type ctrl-return instead
- of a plain return.
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-It is in my list of 
-\begin_inset Quotes eld
-\end_inset
-
-improvements
-\begin_inset Quotes erd
-\end_inset
-
- to fix that.
 \end_layout
 
-\end_inset
+\begin_layout LyX-Code
 
+\change_deleted 819523532 1353904528
+  
+\change_unchanged
+def some_function(args):
+\change_inserted 819523532 1353904543
 
 \end_layout
 
-\begin_layout Standard
-As a special note, you can also use the 
-\begin_inset Quotes eld
-\end_inset
+\begin_layout LyX-Code
 
-%def
-\begin_inset Quotes erd
-\end_inset
+\change_deleted 819523532 1353904543
+\change_unchanged
+   "This is the doc string for this function."
+\change_inserted 819523532 1353904550
 
- construct of Noweb in your scraps to add items to Noweb's identifier cross-refe
-rence:
 \end_layout
 
 \begin_layout LyX-Code
-<<My scrap>>=
-\begin_inset Newline newline
-\end_inset
 
-  def some_function(args):
-\begin_inset Newline newline
-\end_inset
-
-    "This is the doc string for this function."
-\begin_inset Newline newline
-\end_inset
-
-    print "My args: ", args
+\change_deleted 819523532 1353904550
+\change_unchanged
+   print "My args: ", args
 \end_layout
 
 \begin_layout LyX-Code
@@ -21935,8 +21689,13 @@ literate
 \begin_layout Enumerate
 Note that the only difference so far is in the name of the file, no special
  processing is required by LyX.
- Given that you formatted the code using the Scrap layout that, by itself,
- takes care of the business.
+ Given that you formatted the code using the 
+\change_deleted 819523532 1353904586
+Scrap
+\change_inserted 819523532 1353904587
+Chunk
+\change_unchanged
+ layout that, by itself, takes care of the business.
 \end_layout
 
 \begin_layout Enumerate
@@ -22048,7 +21807,7 @@ Converter
 \family typewriter
 build-script $$i
 \family default
-
+ $$r
 \begin_inset Quotes erd
 \end_inset
 
@@ -22062,7 +21821,7 @@ build-script
 \end_inset
 
  (a program or script) with the name of the Noweb file (normally a file
- in the LyX temp directory).
+ in the LyX temp directory) and the directory path of the original LyX file.
  
 \end_layout
 
@@ -22087,7 +21846,7 @@ build-script
 \end_layout
 
 \begin_layout LyX-Code
-notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 sh
+notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
 \end_layout
 
 \begin_layout Standard
@@ -22105,7 +21864,7 @@ Flags
 
 
 \family typewriter
-parselog=listerrors
+parselog=$$s/scripts/listerrors
 \family default
 
 \begin_inset Quotes erd
@@ -22131,26 +21890,6 @@ listerrors
  program.
 \end_layout
 
-\begin_layout Standard
-The converter code looks in 
-\emph on
-MYLYXDIR/scripts
-\emph default
- first, then in 
-\emph on
-LIBDIR/scripts
-\emph default
- then on the path for the 
-\begin_inset Quotes eld
-\end_inset
-
-listerrors
-\begin_inset Quotes erd
-\end_inset
-
- program.
-\end_layout
-
 \begin_layout Standard
 The build will normally take place in LyX's temporary directory, so the
  files produced by the conversion will be in that directory.
@@ -22160,61 +21899,14 @@ Noweb->Program
 \family default
  conversion may produce several files, and so most of these would then be
  deleted when LyX was closed.
- The present solution is to use a `copier',
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-See section 
-\emph on
-Copiers
-\emph default
- of the 
-\emph on
-Customization
-\emph default
- manual for information on these.
-\end_layout
-
-\end_inset
-
- in this case, the 
-\family typewriter
-ext_copy.py
-\family default
- script in its default mode, so that the entire contents of the temporary
- directory is copied.
- More will get copied than is needed, to be sure, but nothing will be lost.
- If, however, you know what extensions the generated files will have, this
- can be improved by using the 
-\family typewriter
--e
-\family default
- option to 
-\family typewriter
-ext_copy
-\family default
-.
- This option takes a comma-separated list of extensions to copy.
- So, for example, if the conversion will generate only files with the extensions
-\family typewriter
-.c
-\family default
- and 
-\family typewriter
-.h
-\family default
-, then the correct definition would be:
-\end_layout
-
-\begin_layout LyX-Code
-python -tt $$s/scripts/ext_copy.py -e c,h $$i $$o
-\end_layout
-
-\begin_layout Standard
-The result will be that only files with these two extensions will be copied
- out.
+ This is why we pass in the NOWEB_OUTPUT_DIR environment variable so that
+ the build-script 
+\change_deleted 819523532 1353904613
+scrap
+\change_inserted 819523532 1353904614
+chunk
+\change_unchanged
+ can place the generated files in that location.
 \end_layout
 
 \begin_layout Paragraph
@@ -22230,9 +21922,21 @@ build-script
 \begin_inset Quotes erd
 \end_inset
 
- scrap.
+\change_deleted 819523532 1353904625
+scrap
+\change_inserted 819523532 1353904625
+chunk
+\change_unchanged
+.
  Generally, the instructions for building your program should be embedded
- in a scrap of its own.
+ in a 
+\change_deleted 819523532 1353904630
+scrap
+\change_inserted 819523532 1353904630
+chunk
+\change_unchanged
+ of its own.
  The noweb-specific 
 \begin_inset Quotes eld
 \end_inset
@@ -22241,7 +21945,13 @@ build-script
 \begin_inset Quotes erd
 \end_inset
 
- above uses the notangle command to look for this scrap (called 
+ above uses the notangle command to look for this 
+\change_deleted 819523532 1353904632
+scrap
+\change_inserted 819523532 1353904632
+chunk
+\change_unchanged
+ (called 
 \begin_inset Quotes eld
 \end_inset
 
 \end_layout
 
 \begin_layout Standard
-Typically, such a scrap would look something like this:
+Typically, such a 
+\change_deleted 819523532 1353904634
+scrap
+\change_inserted 819523532 1353904634
+chunk
+\change_unchanged
+ would look something like this:
 \end_layout
 
 \begin_layout LyX-Code
-<<build-script>>=
-\begin_inset Newline newline
-\end_inset
-
-#!/bin/sh
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Newline newline
-\end_inset
-
-if [ -z "${NOWEB_SOURCE}" ]
-\begin_inset Newline newline
-\end_inset
-
-then
-\begin_inset Newline newline
-\end_inset
-
-  NOWEB_SOURCE=myfile.nw
-\begin_inset Newline newline
-\end_inset
-
-fi
-\begin_inset Newline newline
-\end_inset
-
-[...
- code to extract files ...]
-\begin_inset Newline newline
-\end_inset
-
-[...
- code to compile files ...]
-\begin_inset Newline newline
-\end_inset
-
-@
+<<build-script>>=#!/bin/shif [ -z "${NOWEB_SOURCE}" ]then  NOWEB_SOURCE=myfile.nw
+fi[...
+ code to extract files ...
+ use NOWEB_OUTPUT_DIR here ...][...
+ code to compile files ...]@
 \end_layout
 
 \begin_layout Standard
@@ -22348,7 +22030,7 @@ Preferences
 \begin_inset Quotes eld
 \end_inset
 
-Conversion
+File Handling
 \begin_inset Quotes erd
 \end_inset
 
@@ -22365,7 +22047,7 @@ the
 \begin_inset Quotes eld
 \end_inset
 
-literate
+NoWeb
 \begin_inset Quotes erd
 \end_inset
 
@@ -22373,8 +22055,8 @@ literate
 \begin_inset space ~
 \end_inset
 
-format Set up via the Formats tab, this is where the Noweb-specific pieces
- are set up.
+format Set up via the File Formats tab, this is where the Noweb-specific
pieces are set up.
  The 
 \family sans
 GUI Name
@@ -22471,7 +22153,7 @@ tangling step
 \family typewriter
 build-script $$i
 \family default
-
+ $$r
 \begin_inset Quotes erd
 \end_inset
 
@@ -22481,7 +22163,7 @@ build-script $$i
 
 
 \family typewriter
-originaldir,parselog=listerrors
+parselog=$$s/scripts/listerrors
 \family default
 
 \begin_inset Quotes erd
@@ -22518,7 +22200,7 @@ Helpers
 \end_layout
 
 \begin_layout Standard
-I take advantage of the new created LyX server function and this ddd feature,
+I take advantage of the newly created LyX server function and this ddd feature,
  and set 
 \begin_inset Quotes eld
 \end_inset
@@ -22537,7 +22219,7 @@ echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
 \begin_layout Standard
 With this, whenever you are using ddd and find a point in the program that
  you want to edit, you just press shift-ctrl-V (in the ddd window), and
- ddd you forward this information to LyX through the LyX server and then
+ ddd will forward this information to LyX through the LyX server and then
  the LyX window will show the same file with the cursor at the same position
  ddd was pointing to.
  No more guessing or long scrolling to locate a point in the program back
@@ -22609,8 +22291,14 @@ LaTeX
 LyX-Code
 \family default
 , and 
+\change_deleted 819523532 1353904643
+
 \family sans
 Scrap
+\change_inserted 819523532 1353904651
+Chunk
+\change_unchanged
+
 \family default
 .
  The last one is a short cut to the 
@@ -22676,7 +22364,13 @@ Toolbar
 \end_layout
 
 \begin_layout LyX-Code
-  Icon "layout Scrap"
+  Icon "layout 
+\change_deleted 819523532 1353904661
+Scrap
+\change_inserted 819523532 1353904668
+Chunk
+\change_unchanged
+"
 \end_layout
 
 \begin_layout LyX-Code
@@ -22726,9 +22420,19 @@ Preferences
 \family default
 .
  One of the things that bothers people is the LaTeX font color.
- The default color is red, since the scraps uses LaTeX font, and there is
- a lot of scraps in literate documents, you may get tired of seeing everything
- in red.
+ The default color is red, since the 
+\change_deleted 819523532 1353904675
+scrap
+\change_inserted 819523532 1353904675
+chunk
+\change_unchanged
+s uses LaTeX font, and there is a lot of 
+\change_deleted 819523532 1353904682
+scrap
+\change_inserted 819523532 1353904682
+chunk
+\change_unchanged
+s in literate documents, you may get tired of seeing everything in red.
  You can change it by going to the tabs 
 \family sans
 Look&Feel
@@ -22745,165 +22449,141 @@ The next thing is the visible presence of the newline character in the screen.
  I recommend you choosing a color that is close to the background but not
  equal, that way you still can see it is there, but it is not bothering
  you anymore.
 \end_layout
 
-\begin_layout Chapter
-Secrets of the LaTeX Masters
-\begin_inset CommandInset label
-LatexCommand label
-name "cha:secrets"
-
-\end_inset
+\begin_layout Subsection
+LyX and knitr/Sweave
+\end_layout
 
+\begin_layout Standard
+Support for knitr and Sweave is documented in the knitr.lyx example file
+ and in the Sweave manual (in the Help > Specific Manuals submenu).
+\end_layout
 
+\begin_layout Chapter
+Special features
 \end_layout
 
 \begin_layout Standard
-Though LyX is a powerful tool, it cannot hope to support everything that
can be done with pure TeX/LaTeX.
- However, many familiar dirty TeX and LaTeX tricks can be done within LyX,
- as long as you are not afraid to use that 
-\begin_inset Quotes eld
-\end_inset
-
-TeX
-\begin_inset Quotes erd
+You can do everything with LyX that you can do with LaTeX.
However, LyX cannot support every LaTeX feature directly.
+ But you can always use TeX Code.
+ This chapter shows you some more special things you might want to use.
+ For other special things you can do with figures, tables, floats, boxes
+ and notes, have a look at the 
+\emph on
+Embedded
+\begin_inset space ~
 \end_inset
 
- button on the toolbar or add things to the LaTeX preamble.
- This section lists some tips, tricks, and otherwise cool ideas to give
- your document that extra little flair.
-\emph on
-Do try this at home
+Objects
 \emph default
-, just start with something a little smaller and less important than your
- dissertation!
-\end_layout
-
-\begin_layout Standard
-Most ideas in this section require less common files in your LaTeX installation.
- If you have a system like TeXLive, most will already be available.
- A few, however, will need to be downloaded from one of the CTAN archives.
- Often, there are several ways to do something, or several LaTeX style files
- which do the same thing.
- We do not endorse one choice over another, we simply claim that we have
- done a particular task with a particular file.
- Put on your wizard hat, keep an eye out for dragons, and let us begin.
+ manual.
 \end_layout
 
 \begin_layout Section
-Multiple Columns
+Multiple Text Columns
 \end_layout
 
 \begin_layout Standard
-by 
-\noun on
-Lars Gullik Bjønnes
-\end_layout
+This feature is independent of the option 
+\family sans
+Two-column document
+\family default
+ in the document settings under 
+\family sans
+Text Layout
+\family default
+.
+ If you want to have 2
+\begin_inset space ~
+\end_inset
 
-\begin_layout Subsection
-Purpose
+columns for the whole document, it is recommended to use the 
+\family sans
+Two-column document
+\family default
+ option.
+ For all other cases use this feature.
 \end_layout
 
 \begin_layout Standard
-The aim for this chapter
-\begin_inset Foot
+To use multiple text columns in your document, you have to load the module
+\family sans
+Multiple Columns
+\family default
+ (menu 
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Modules
+\family default
+) and must have the LaTeX-package 
+\series bold
+multicol
+\series default
+
+\begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-Editor's note: Lars' original chapter was a masterful description of how
- to use the 
-\family typewriter
-multicol
-\family default
- package.
- However, it was too long to flow smoothly in this document.
- I have therefore chosen to excerpt the most important sections here (sorry,
- Lars); you can read the original chapter (and more of the story!) in the
- example file 
-\family typewriter
-examples/multicol.lyx
-\family default
-.
- — mer
+LaTeX-packages ! multicol
 \end_layout
 
 \end_inset
 
- is to show how the LaTeX package 
-\family typewriter
-multicol
-\family default
- can be used in a LyX document.
- As LyX doesn't support the 
-\family typewriter
-multicol
-\family default
- package natively yet, we have to use some small hacks.
- By reading this section it should be obvious how to do this.
-\end_layout
-
-\begin_layout Subsection
-Limitations 
+ installed.
 \end_layout
 
 \begin_layout Standard
-The 
-\family typewriter
-multicol
+Footnotes within multiple columns will be placed at the bottom of the page
+ and not under each column.
+ Within the different columns you can use everything, with the limitation
+ that for floats you need to use the float option 
+\family sans
+Span columns
 \family default
- package allows switching between one and multicolumn format on the same
- page.
- Footnotes are handled correctly (for the most part), but will be placed
- at the bottom of the page and not under each column.
- LaTeX's float mechanism, however, is partly disabled in the current implementat
-ion.
- At the moment only page-wide floats can be used within the scope of the
- environment.
+.
 \end_layout
 
 \begin_layout Subsection
-Examples
-\end_layout
-
-\begin_layout Subsubsection
-Two columns
+Basics
 \end_layout
 
 \begin_layout Standard
-If you want to have two columns in your text, you have use LaTeX mode to
- insert 
-\family typewriter
+If you want to have 2
+\begin_inset space ~
+\end_inset
 
-\backslash
-begin{multicols}{2}
+columns in your text, use the style 
+\family sans
+Begin Multiple Columns
 \family default
- at the point where you want the two column layout to start, and then 
-\family typewriter
+ where the columns should start.
+ The content of the style is the number of the columns, so in this case
+ use a 
+\begin_inset Quotes eld
+\end_inset
 
-\backslash
-end{multicols}
+2
+\begin_inset Quotes erd
+\end_inset
+
+.
+ At the point where the columns should end use the style 
+\family sans
+End Multiple Columns
 \family default
- where you want it to end.
- Like this:
+ and keep it empty.
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{multicols}{2}
-\end_layout
-
-\end_inset
-
+Here is an example:
+\end_layout
 
+\begin_layout Begin Multiple Columns
+2
 \end_layout
 
 \begin_layout Standard
@@ -22948,44 +22628,20 @@ ty which utterly submerged my mind.
  only withdrawn upon the third of last month.
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-
-\backslash
-end{multicols}
-\end_layout
-
-\end_inset
-
+\begin_layout End Multiple Columns
 
 \end_layout
 
-\begin_layout Subsubsection
-Multiple columns
-\end_layout
-
 \begin_layout Standard
-The same pattern is used when you want more than two columns:
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{multicols}{3}
-\end_layout
-
+Here is an example with 3
+\begin_inset space ~
 \end_inset
 
+columns:
+\end_layout
 
+\begin_layout Begin Multiple Columns
+3
 \end_layout
 
 \begin_layout Standard
@@ -23012,49 +22668,36 @@ It can be imagined that my close intimacy with Sherlock Holmes had interested
  as they were known to the public at the conclusion of the inquest.
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status open
+\begin_layout End Multiple Columns
 
-\begin_layout Plain Layout
-
-
-\backslash
-end{multicols}
 \end_layout
 
+\begin_layout Standard
+You can have up to 10
+\begin_inset space ~
 \end_inset
 
-
+columns if you want to, but that might not be very pleasant for the readers
+ of your document.
 \end_layout
 
 \begin_layout Standard
-You can have more than 3 columns if you want to, but that might not be very
- pleasant for the eye.
-\end_layout
+\begin_inset Newpage newpage
+\end_inset
+
 
-\begin_layout Subsubsection
-Columns inside columns
 \end_layout
 
-\begin_layout Standard
-You can even have columns inside columns:
+\begin_layout Subsection
+Columns inside Columns
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{multicols}{2}
+You can also have columns inside columns:
 \end_layout
 
-\end_inset
-
-
+\begin_layout Begin Multiple Columns
+2
 \end_layout
 
 \begin_layout Standard
@@ -23067,20 +22710,8 @@ The Honourable Ronald Adair was the second son of the Earl of Maynooth,
  at 427 Park Lane.
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{multicols}{2}
-\end_layout
-
-\end_inset
-
-
+\begin_layout Begin Multiple Columns
+2
 \end_layout
 
 \begin_layout Standard
@@ -23098,19 +22729,7 @@ The youth moved in the best society–had, so far as was known, no enemies
  on the night of March 30, 1894.
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-
-\backslash
-end{multicols}
-\end_layout
-
-\end_inset
-
+\begin_layout End Multiple Columns
 
 \end_layout
 
@@ -23141,53 +22760,78 @@ The evidence of those who had played with him– Mr.
  So much for his recent history as it came out at the inquest.
 \end_layout
 
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Subsection
+Advanced Examples
+\end_layout
+
 \begin_layout Standard
-\begin_inset ERT
-status open
+The examples in this section show some more special features of multiple
+ columns.
+\end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+For more features of multiple columns, have a look at the documentation
+ of the LaTeX-package 
+\series bold
+multicol
+\series default
 
+\begin_inset Index idx
+status collapsed
 
-\backslash
-end{multicols}
+\begin_layout Plain Layout
+LaTeX-packages ! multicol
 \end_layout
 
 \end_inset
 
+, 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "multicol"
+
+\end_inset
+
+.
+\end_layout
 
+\begin_layout Subsubsection
+Preface
 \end_layout
 
 \begin_layout Standard
-Please do read the file 
-\family typewriter
-examples/multicol.lyx
-\family default
- for more advanced examples including column and header spacing, vertical
- separator lines, and more.
+To add a preface text for multiple columns, add the command
 \end_layout
 
-\begin_layout Section
-Numbering in the 
-\family sans
-Enumerate
-\family default
- Paragraph Environment
-\begin_inset Argument
-status collapsed
+\begin_layout Standard
 
-\begin_layout Plain Layout
-Numbering in Enumerate
+\series bold
+}[
 \end_layout
 
-\end_inset
+\begin_layout Standard
+as TeX Code behind the number of columns in the
+\family sans
+ Begin Multiple Columns
+\family default
+ style.
+ Behind the command follows the preface text.
+ At the end of the style use the command
+\end_layout
 
+\begin_layout Standard
 
+\series bold
+]{
 \end_layout
 
 \begin_layout Standard
-by 
-\noun on
-John Weiss
+as TeX Code.
+ An example with some preface text:
 \end_layout
 
 \begin_layout Standard
@@ -23197,312 +22841,525 @@ John Weiss
 
 \end_layout
 
-\begin_layout Standard
-\noindent
-The default numbering for the 
-\family sans
-Enumerate
-\family default
- paragraph environment begins with Arabic numbers and ends with uppercase
- letters.
- Suppose, however, you wanted a different type of numbering scheme.
- Here's a quickie example of how to change the numbering scheme:
+\begin_layout Begin Multiple Columns
+2
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}[
 \end_layout
 
-\begin_layout LyX-Code
+\end_inset
 
-\backslash
-renewcommand{
-\backslash
-labelenumi}{
-\backslash
-Roman{enumi}.}
+And the story continues and continues and continues and continues\SpecialChar \ldots{}
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+]{
 \end_layout
 
-\begin_layout LyX-Code
+\end_inset
+
 
-\backslash
-renewcommand{
-\backslash
-labelenumii}{
-\backslash
-Alph{enumii}.}
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
 
-\backslash
-renewcommand{
-\backslash
-labelenumiii}{
-\backslash
-arabic{enumiii}.}
+\size small
+On the evening of the crime, he returned from the club exactly at ten.
+ His mother and sister were out spending the evening with a relation.
+ The servant deposed that she heard him enter the front room on the second
+ floor, generally used as his sitting-room.
+ She had lit a fire there, and as it smoked she had opened the window.
+ No sound was heard from the room until eleven-twenty, the hour of the return
+ of Lady Maynooth and her daughter.
+ Desiring to say good-night, she attempted to enter her son's room.
+ The door was locked on the inside, and no answer could be got to their
+ cries and knocking.
+ Help was obtained, and the door forced.
+ The unfortunate young man was found lying near the table.
+ His head had been horribly mutilated by an expanding revolver bullet, but
+ no weapon of any sort was to be found in the room.
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout End Multiple Columns
 
-\backslash
-renewcommand{
-\backslash
-labelenumiv}{
-\backslash
-alph{enumiv}.)}
 \end_layout
 
 \begin_layout Standard
-\SpecialChar \ldots{}
- which changes the numbering scheme to uppercase Roman numerals, uppercase
- letters, Arabic numbers, and lowercase letter.
+You can also use a section heading as the preface if you use a section command
+ as TeX Code behind the first TeX Code.
+ For example the command
 \end_layout
 
 \begin_layout Standard
-Additionally, the previous example also adds a little bit extra to the numbering
- scheme.
- For example, the first level label actually looks like: 
-\begin_inset Quotes eld
+
+\series bold
+
+\backslash
+subsection{subsection title}
+\end_layout
+
+\begin_layout Standard
+creates a subsection.
+ In this example the preface is a subsubsection:
+\end_layout
+
+\begin_layout Begin Multiple Columns
+2
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}[
+\end_layout
+
 \end_inset
 
-I.
-\begin_inset Quotes erd
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+subsubsection{
+\end_layout
+
 \end_inset
 
-.
- For ease of reading, we'll describe what the numbering schemes look like
- using a notation something like this: <
-\begin_inset Quotes eld
+This is a subsubsection heading as a preface
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
 \end_inset
 
-I.
-\begin_inset Quotes erd
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+]{
+\end_layout
+
 \end_inset
 
-,
+
+\end_layout
+
+\begin_layout Standard
+
+\size small
+A minute examination of the circumstances served only to make the case more
+ complex.
+ In the first place, no reason could be given why the young man should have
+ fastened the door upon the inside.
+ There was the possibility that the murderer had done this, and had afterwards
+ escaped by the window.
+ The drop was at least twenty feet, however, and a bed of crocuses in full
+ bloom lay beneath.
+ Neither the flowers nor the earth showed any sign of having been disturbed,
+ nor were there any marks upon the narrow strip of grass which separated
+ the house from the road.
+ Apparently, therefore, it was the young man himself who had fastened the
+ door.
+ But how did he come by his death? No one could have climbed up to the window
+ without leaving traces.
+ Suppose a man had fired through the window, he would indeed be a remarkable
+ shot who could with a revolver inflict so deadly a wound.
+ Again, Park Lane is a frequented thoroughfare; there is a cab stand within
+ a hundred yards of the house.
+ No one had heard a shot.
+\end_layout
+
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Standard
+If there is less vertical space left on the page at the beginning of the
+ multiple columns than needed for 6
 \begin_inset space ~
 \end_inset
 
+text lines, a page break will be inserted before the multiple columns.
+ Depending on the number of lines of the preface text, you might want to
+ change this value.
+ It is determined by inserting the command
+\end_layout
 
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Standard
 
-A.
-\begin_inset Quotes erd
-\end_inset
+\series bold
+][number
+\backslash
+baselineskip
+\end_layout
 
-,
+\begin_layout Standard
+as TeX Code behind the preface definition but before the final 
+\series bold
+]{
+\series default
+ command.
+\emph on
+number
+\emph default
+ is hereby the number of text lines.
+ In this example the space is set to 7
 \begin_inset space ~
 \end_inset
 
+text lines:
+\end_layout
+
+\begin_layout Begin Multiple Columns
+2
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}[
+\end_layout
 
-\begin_inset Quotes erd
 \end_inset
 
-1.
-\begin_inset Quotes erd
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+subsubsection{
+\end_layout
+
 \end_inset
 
-,
-\begin_inset space ~
+This is the sectioning command
+\begin_inset Newline newline
 \end_inset
 
+as a preface and
+\begin_inset Newline newline
+\end_inset
+
+with multiple text lines
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
 
-\begin_inset Quotes eld
 \end_inset
 
-a.)
-\begin_inset Quotes erd
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+][7
+\backslash
+baselineskip
+\end_layout
+
 \end_inset
 
->.
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+]{
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
-As you can see in the example, there is a label command for each nesting
- level, 
-\family typewriter
 
-\backslash
-labelenumi
-\family default
- \SpecialChar \ldots{}
-\family typewriter
+\size small
+On the evening of the crime, he returned from the club exactly at ten.
+ His mother and sister were out spending the evening with a relation.
+ The servant deposed that she heard him enter the front room on the second
+ floor, generally used as his sitting-room.
+ She had lit a fire there, and as it smoked she had opened the window.
+ No sound was heard from the room until eleven-twenty, the hour of the return
+ of Lady Maynooth and her daughter.
+ Desiring to say good-night, she attempted to enter her son's room.
+ The door was locked on the inside, and no answer could be got to their
+ cries and knocking.
+ Help was obtained, and the door forced.
+ The unfortunate young man was found lying near the table.
+ His head had been horribly mutilated by an expanding revolver bullet, but
+ no weapon of any sort was to be found in the room.
+\end_layout
+
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Subsubsection
+Surrounding Space
+\end_layout
+
+\begin_layout Standard
+The amount of space before and after multiple columns can be changed by
+ changing the length 
+\series bold
 
 \backslash
-labelenumiv
-\family default
-, as well as a counter, 
-\family typewriter
-enumi
-\family default
- \SpecialChar \ldots{}
-\family typewriter
-enumiv
-\family default
+multicolsep
+\series default
 .
- There are also five 
-\begin_inset Quotes eld
+ For example the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+setlength{
+\backslash
+multicolsep}{3cm}
+\end_layout
+
+\begin_layout Standard
+in TeX Code changes its value to 3
+\begin_inset space \thinspace{}
 \end_inset
 
-number printing
-\begin_inset Quotes erd
+cm.
+ The change must be made before the multiple columns' start.
+ The predefined value is 13
+\begin_inset space \thinspace{}
 \end_inset
 
- commands, 
-\family typewriter
+pt.
+\end_layout
 
-\backslash
-arabic{}
-\family default
-, 
-\family typewriter
+\begin_layout Standard
+For this example 
+\series bold
 
 \backslash
-roman{}
-\family default
-, 
-\family typewriter
+multicolsep
+\series default
+ was set to 2.5
+\begin_inset space \thinspace{}
+\end_inset
+
+cm:
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
 
-\backslash
-Roman{}
-\family default
-, 
-\family typewriter
 
 \backslash
-alph{}
-\family default
-, and 
-\family typewriter
+setlength{
+\backslash
+multicolsep}{2.5cm}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Begin Multiple Columns
+2
+\end_layout
+
+\begin_layout Standard
+
+\size small
+All day I turned these facts over in my mind, endeavouring to hit upon some
+ theory which could reconcile them all, and to find that line of least resistanc
+e which my poor friend had declared to be the starting-point of every investigat
+ion.
+ I confess that I made little progress.
+ In the evening I strolled across the Park, and found myself about six o'clock
+ at the Oxford Street end of Park Lane.
+ A group of loafers upon the pavements, all staring up at a particular window,
+ directed me to the house which I had come to see.
+ A tall, thin man with coloured glasses, whom I strongly suspected of being
+ a plain-clothes detective, was pointing out some theory of his own, while
+ the others crowded round to listen to what he said.
+ I got as near him as I could, but his observations seemed to me to be absurd,
+ so I withdrew again in some disgust.
+ As I did so I struck against an elderly, deformed man, who had been behind
+ me, and I knocked down several books which he was carrying.
+\end_layout
+
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ The values you set with 
+\series bold
 
 \backslash
-Alph{}
-\family default
-, each of which take one counter as an argument.
- You can add characters before or after these, but there's no need to add
- spaces.
+setlength
+\series default
+ will be used for all following multiple columns until you change them again.
 \end_layout
 
-\begin_layout Standard
-You can get really fancy with these.
- For example:
-\end_layout
+\end_inset
 
-\begin_layout LyX-Code
 
-\backslash
-renewcommand{
-\backslash
-labelenumi}{
-\backslash
-#
-\backslash
-Alph{enumi}
-\backslash
-#}
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
 
 \backslash
-renewcommand{
-\backslash
-labelenumii}{
-\backslash
-Alph{enumi}.
+setlength{
 \backslash
-arabic{enumii}}
+multicolsep}{13pt}
 \end_layout
 
-\begin_layout LyX-Code
+\end_inset
 
-\backslash
-renewcommand{
-\backslash
-labelenumiii}{
-\backslash
-alph{enumiii}+}
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+go back to the default
 \end_layout
 
-\begin_layout LyX-Code
+\end_inset
+
 
-\backslash
-renewcommand{
-\backslash
-labelenumiv}{(
-\backslash
-roman{enumiv})}
 \end_layout
 
 \begin_layout Standard
-produces the somewhat out of hand numbering scheme: <
-\begin_inset Quotes eld
+\begin_inset Newpage newpage
 \end_inset
 
-#A#
-\begin_inset Quotes erd
-\end_inset
 
-,
-\begin_inset space ~
-\end_inset
+\end_layout
 
+\begin_layout Subsubsection
+Column Separation
+\end_layout
 
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Standard
+The width of the columns is automatically calculated, but you can modify
+ the space between the columns.
+ This is done by changing the length 
+\series bold
 
-A.1
-\begin_inset Quotes erd
+\backslash
+columnsep
+\series default
+.
+ Its predefined value is 10
+\begin_inset space \thinspace{}
 \end_inset
 
-,
-\begin_inset space ~
+pt.
+ Here is an example where 
+\series bold
+
+\backslash
+columnsep
+\series default
+ is set to 3
+\begin_inset space \thinspace{}
 \end_inset
 
+cm:
+\end_layout
 
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Standard
+\begin_inset ERT
+status open
 
-a+
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
 
-,
-\begin_inset space ~
-\end_inset
 
+\backslash
+setlength{
+\backslash
+columnsep}{3cm}
+\end_layout
 
-\begin_inset Quotes eld
 \end_inset
 
-(i)
-\begin_inset Quotes erd
-\end_inset
 
->.
 \end_layout
 
-\begin_layout Section
-Dropped Capitals
+\begin_layout Begin Multiple Columns
+2
 \end_layout
 
 \begin_layout Standard
-by 
-\noun on
-Mike Ressler
-\end_layout
 
-\begin_layout Standard
-\begin_inset VSpace bigskip
+\size small
+My observations of No.
+\begin_inset space \space{}
 \end_inset
 
+427 Park Lane did little to clear up the problem in which I was interested.
+ The house was separated from the street by a low wall and railing, the
+ whole not more than five feet high.
+ It was perfectly easy, therefore, for anyone to get into the garden, but
+ the window was entirely inaccessible, since there was no water pipe or
+ anything which could help the most active man to climb it.
+ More puzzled than ever, I retraced my steps to Kensington.
+ I had not been in my study five minutes when the maid entered to say that
+ a person desired to see me.
+ To my astonishment it was none other than my strange old book collector,
+ his sharp, wizened face peering out from a frame of white hair, and his
+ precious volumes, a dozen of them at least, wedged under his right arm.
+\end_layout
+
+\begin_layout End Multiple Columns
 
 \end_layout
 
 \begin_layout Standard
-\noindent
 \begin_inset ERT
 status collapsed
 
@@ -23510,49 +23367,48 @@ status collapsed
 
 
 \backslash
-newfont{
-\backslash
-tmpfont}{cmr17 scaled 2500}{
-\backslash
-tmpfont T}
+setlength{
 \backslash
-vspace*{-8.4ex}
+columnsep}{10pt}
 \end_layout
 
 \end_inset
 
 
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+go back to the default
 \end_layout
 
-\begin_layout Standard
-\noindent
-\begin_inset ERT
-status open
+\end_inset
 
-\begin_layout Plain Layout
 
+\end_layout
 
-\backslash
-hangindent=3.3em 
-\backslash
-hangafter=-3
+\begin_layout Subsubsection
+Vertical Lines
 \end_layout
 
-\end_inset
+\begin_layout Standard
+Between the columns a rule with a width of the length 
+\series bold
 
- hose of you who like the style of old books probably also like 
-\begin_inset Quotes eld
+\backslash
+columnseprule
+\series default
+ is placed.
+ If this rule width is set to 0
+\begin_inset space \thinspace{}
 \end_inset
 
-dropped capitals
-\begin_inset Quotes erd
+pt (this is the default), the rule is suppressed.
+ In the following example the line is 2
+\begin_inset space \thinspace{}
 \end_inset
 
-—those large capital letters which begin each new chapter or section.
- Implementing them with plain LyX/LaTeX is straightforward (assuming you
- know some plain TeX!) but does require a lot of work and many iterations,
- as you can see by all the ugly TeX-mode stuff at the beginning of this
- paragraph.
+pt wide:
 \end_layout
 
 \begin_layout Standard
@@ -23563,127 +23419,156 @@ status open
 
 
 \backslash
-verb+
+setlength{
 \backslash
-bigdrop{-1em}{3}{ptmri}{T}+
+columnseprule}{2pt}
 \end_layout
 
 \end_inset
 
-here is a much easier way of doing this, of course.
- The 
-\family typewriter
-dropcaps
-\family default
- (or the newer 
-\family typewriter
-dropping
-\family default
-) package from CTAN allows a simple way to add such letters to your documents.
- Since this package is not a standard part of TeXLive, I can't demonstrate
- it within this document, but if you copy this paragraph to a new document,
- delete the 
-\begin_inset Quotes eld
-\end_inset
 
+\end_layout
 
-\family typewriter
+\begin_layout Begin Multiple Columns
+2
+\end_layout
 
-\backslash
-verb
-\family default
+\begin_layout Standard
 
+\size small
+\begin_inset Quotes eld
+\end_inset
+
+You're surprised to see me, sir,
 \begin_inset Quotes erd
 \end_inset
 
- and the pluses from the TeX code at the beginning of the paragraph, and
- add 
-\family typewriter
+ said he, in a strange, croaking voice.
+\end_layout
 
-\backslash
-usepackage{dropcaps}
-\family default
- to your LaTeX preamble, you will get a nice Times Roman Italic 
+\begin_layout Standard
+
+\size small
+I acknowledged that I was.
+\end_layout
+
+\begin_layout Standard
+
+\size small
 \begin_inset Quotes eld
 \end_inset
 
-T
+Well, I've a conscience, sir, and when I chanced to see you go into this
+ house, as I came hobbling after you, I thought to myself, I'll just step
+ in and see that kind gentleman, and tell him that if I was a bit gruff
+ in my manner there was not any harm meant, and that I am much obliged to
+ him for picking up my books.
 \begin_inset Quotes erd
 \end_inset
 
-, whose height is three lines of text and which protrudes 1 em into the
- margin.
- (Make certain you have copied 
+
+\end_layout
+
+\begin_layout Standard
+
+\size small
 \begin_inset Quotes eld
 \end_inset
 
+You make too much of a trifle,
+\begin_inset Quotes erd
+\end_inset
 
-\family typewriter
-dropcaps.sty
-\family default
+ said I.
+\begin_inset Quotes eld
+\end_inset
 
+May I ask how you knew who I was?
 \begin_inset Quotes erd
 \end_inset
 
- into a directory where TeX can see it.) The first argument is the amount
- of indentation; in this case the negative sign moves it into the margin.
- The second argument is the height of the letter in number of lines of text.
- The third argument is the font name: virtually anything which has a tfm
- file should work (wade through the 
-\family typewriter
-.../texmf/fonts/tfm
-\family default
- directory for possibilities).
- My personal favorite is 
+
+\end_layout
+
+\begin_layout Standard
+
+\size small
 \begin_inset Quotes eld
 \end_inset
 
+Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
+ you'll find my little bookshop at the corner of Church Street, and very
+ happy to see you, I am sure.
+ Maybe you collect yourself, sir.
+ Here's 
+\noun on
+British
+\begin_inset space ~
+\end_inset
 
-\family typewriter
-yinit
-\family default
-
+Birds
+\noun default
+, and 
+\noun on
+Catullus
+\noun default
+, and 
+\noun on
+The Holy War
+\noun default
+--a bargain, every one of them.
+ With five volumes you could just fill that gap on that second shelf.
+ It looks untidy, does it not, sir?
 \begin_inset Quotes erd
 \end_inset
 
-, a fancy German font specifically designed for dropped capitals.
- The fourth argument is the letter (or letters) to be dropped.
- The 
-\family typewriter
-dropping
-\family default
- package also offers the 
-\family typewriter
 
-\backslash
-bigdrop
-\family default
- command, as well as a slightly simplified 
-\family typewriter
+\end_layout
+
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
 
 \backslash
-dropping
-\family default
- command.
+setlength{
+\backslash
+columnseprule}{0pt}
 \end_layout
 
-\begin_layout Section
-Non-standard Paragraph Shapes
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+go back to the default
 \end_layout
 
-\begin_layout Standard
-by 
-\noun on
-Mike Ressler
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
-\begin_inset VSpace bigskip
+\begin_inset Newpage newpage
 \end_inset
 
 
 \end_layout
 
+\begin_layout Section
+Non-standard Paragraph Shapes
+\end_layout
+
 \begin_layout Standard
 \begin_inset ERT
 status collapsed
@@ -23920,7 +23805,7 @@ parshape
 \family default
  is called for.
  As you can see, completely arbitrary shapes can be laid out with a suitable
- set of linelength definitions.
+ set of line length definitions.
  While this parshape may look a bit silly and useless, one could conceive
  of situations such as finely tuned dropped capitals, word wrapping around
  non-rectangular graphics, etc.
@@ -23980,20 +23865,32 @@ end{sloppypar}
 
 \end_layout
 
-\begin_layout Section
-Summary
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "multicol"
+
+\end_inset
+
+Documentation of the LaTeX-package 
+\begin_inset CommandInset href
+LatexCommand href
+name "multicol"
+target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! multicol
 \end_layout
 
-\begin_layout Standard
-As you can see, the examples in this section range from the useful to the
- whimsical.
- While I don't expect that anyone will ever need the paragraph shape demonstrate
-d in the last section, the important point is that you can do almost anything
- you want in LyX if you are willing to figure out how to do it in TeX and
- LaTeX.
- TeX is a fantastically powerful typesetting system and all that power is
- available to you since LyX uses it as its backend.
- Happy LyXing!
+\end_inset
+
+
 \end_layout
 
 \end_body