-#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 276
+#LyX 1.6.0 created this file. For more info see http://www.lyx.org/
+\lyxformat 345
\begin_document
\begin_header
+\use_default_options false
\textclass article
\begin_preamble
\usepackage{multicol}
\graphics default
\paperfontsize default
\spacing single
+\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 0
\paperpagestyle default
\tracking_changes false
\output_changes false
+\author ""
\end_header
\begin_body
\begin_layout Title
-
Multiple Columns
\end_layout
\begin_layout Author
-
by
\noun on
Lars Gullik Bjønnes
\end_layout
\begin_layout Section
-
Purpose
\end_layout
\begin_layout Standard
-
-The aim for this chapter is to show how the LaTeX package
-\family default
-
+The aim for this chapter 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 default
-
+ As LyX doesn't support the
\family typewriter
multicol
\family default
\end_layout
\begin_layout Subsection
-
Limitations
\end_layout
\begin_layout Standard
-
-The
-\family default
-
+The
\family typewriter
multicol
\family default
\end_layout
\begin_layout Subsection
-
Examples
\end_layout
\begin_layout Subsubsection
-
Two columns
\end_layout
\begin_layout Standard
-
If you want to have two columns in your text, you have use LaTeX mode to
- insert
-\family default
-
+ insert
\family typewriter
\backslash
begin{multicols}{2}
\family default
- at the point where you want the two column layout to start, and then
-\family default
-
+ at the point where you want the two column layout to start, and then
\family typewriter
\backslash
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace -2ex
\end_inset
\end_layout
-
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
begin{multicols}{2}
The Adventure of the Empty House
\series default
-\newline
+\begin_inset Newline newline
+\end_inset
+
by
\noun on
Sir Arthur Conan Doyle
\begin_layout Standard
-
\size small
It was in the spring of the year 1894 that all London was interested, and
the fashionable world dismayed, by the murder of the Honourable Ronald
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
end{multicols}
\end_layout
\begin_layout Subsubsection
-
Multiple columns
\end_layout
\begin_layout Standard
-
The same pattern is used when you want more than two columns.
(You can have more than 3 columns if you want , but that might not be very
pleasant for the eye.)
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace -2ex
\end_inset
\end_layout
-
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
begin{multicols}{3}
\begin_layout Standard
-
\size footnotesize
It can be imagined that my close intimacy with Sherlock Holmes had interested
me deeply in crime, and that after his disappearance I never failed to
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
end{multicols}
\end_layout
\begin_layout Subsubsection
-
Columns inside columns
\end_layout
\begin_layout Standard
-
You can even have columns inside columns:
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace -2ex
\end_inset
\end_layout
-
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
begin{multicols}{2}
\begin_layout Standard
-
\size footnotesize
The Honourable Ronald Adair was the second son of the Earl of Maynooth,
at that time governor of one of the Australian colonies.
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace -2ex
\end_inset
\end_layout
-
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
begin{multicols}{2}
\begin_layout Standard
-
\size footnotesize
The youth moved in the best society--had, so far as was known, no enemies
and no particular vices.
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
end{multicols}
\begin_layout Standard
-
\size footnotesize
Ronald Adair was fond of cards--playing continually, but never for such
stakes as would hurt him.
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
end{multicols}
\end_layout
\begin_layout Subsection
-
Advanced Examples
\end_layout
\begin_layout Standard
-
-As you probably know
-\family default
-
+As you probably know
\family typewriter
multicol
\family default
\end_layout
\begin_layout Subsubsection
-
Preface and Skip
\end_layout
\begin_layout Standard
-
If there is less than 5cm left on the page, a page break will be inserted
before this bit, which has a preface text above the two columns:
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
begin{multicols}{2}[
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
][5cm]
\end_layout
\begin_layout Standard
-
\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.
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
end{multicols}
\end_layout
\begin_layout Subsubsection
-
Preface and sections
\end_layout
\begin_layout Standard
-
What if you want the preface to be a sectioning command? That can be done,
- but only through LaTeX commands inside the parameters for the
-\family default
-
+ but only through LaTeX commands inside the parameters for the
\family typewriter
multicols
\family default
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
begin{multicols}{2}[
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
}][5cm]
\end_layout
\begin_layout Standard
-
\size small
A minute examination of the circumstances served only to make the case more
complex.
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
end{multicols}
\end_layout
\begin_layout Subsubsection
-
Free Space
\end_layout
\begin_layout Standard
-
-The
-\family default
-
+The
\family typewriter
multicol
\family default
package demands that a certain amount of space is available before and
after a multicolumn section.
- In addition
-\family default
-
+ In addition
\family typewriter
multicol
\family default
inserts a given space in front of and after the multicol section.
The commands to change the default settings for this must be given just
- before the
-\family default
-
+ before the
\family typewriter
\backslash
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
setlength{
\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
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
end{multicols}
\end_layout
\begin_layout Paragraph
-
Note:
\end_layout
\begin_layout Standard
-
-The values you set with
-\family default
-
+The values you set with
\family typewriter
\backslash
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
setlength{
\end_layout
\begin_layout Subsubsection
-
Column Width and Separation
\end_layout
\begin_layout Standard
-
-The width of the columns inside the
-\family default
-
+The width of the columns inside the
\family sans
multicols
\family default
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
setlength{
\begin_layout Standard
-
\size small
My observations of No.
427 Park Lane did little to clear up the problem in which I was interested.
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
end{multicols}
\end_layout
\begin_layout Standard
-
Once again, we have to reset the value after use to avoid using it in the
rest of the document.
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
setlength{
\end_layout
\begin_layout Subsubsection
-
Vertical Lines
\end_layout
\begin_layout Standard
-
-Between every two columns, a rule of width
-\family default
-
+Between every two columns, a rule of width
\family typewriter
\backslash
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
setlength{
\begin_layout Standard
-
\size small
-
\begin_inset Quotes eld
\end_inset
\begin_layout Standard
-
\size small
I acknowledged that I was.
\end_layout
\begin_layout Standard
-
\size small
-
\begin_inset Quotes eld
\end_inset
\begin_layout Standard
-
\size small
-
\begin_inset Quotes eld
\end_inset
\begin_layout Standard
-
\size small
-
\begin_inset Quotes eld
\end_inset
Maybe you collect yourself, sir.
Here's
\noun on
-British\InsetSpace ~
+British
+\begin_inset space ~
+\end_inset
+
Birds
\noun default
, and
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
end{multicols}
\end_layout
\begin_layout Standard
-
As usual, we reset the value after use.
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+
\backslash
setlength{
\end_layout
\begin_layout Standard
-
You'll have to go to the library to read the rest of the story.
\begin_inset Foot
status collapsed
-\begin_layout Standard
-
+\begin_layout Plain Layout
\SpecialChar \ldots{}
or cheat like we did and find it at the Gutenberg project somewhere on the
Web.