]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/multicol.lyx
modernCV.lyx:
[lyx.git] / lib / examples / multicol.lyx
index 23336fa7f0f07e69b271205f3f019b45a9a2cdb2..7e95a1d48e09fe8f932a81edce75eb6cde22bb71 100644 (file)
@@ -1,20 +1,30 @@
-#LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/
-\lyxformat 243
+#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}
 \end_preamble
 \language english
 \inputencoding default
-\fontscheme default
+\font_roman default
+\font_sans default
+\font_typewriter default
+\font_default_family default
+\font_sc false
+\font_osf false
+\font_sf_scale 100
+\font_tt_scale 100
 \graphics default
 \paperfontsize default
 \spacing single
+\use_hyperref false
 \papersize default
 \use_geometry false
 \use_amsmath 0
+\use_esint 0
 \cite_engine basic
 \use_bibtopic false
 \paperorientation portrait
 \paragraph_separation indent
 \defskip medskip
 \quotes_language english
-\quotes_times 2
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
 \tracking_changes false
-\output_changes true
+\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
+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 typewriter
 multicol
@@ -66,12 +72,10 @@ multicol
 \end_layout
 
 \begin_layout Subsection
-
 Limitations 
 \end_layout
 
 \begin_layout Standard
-
 The 
 \family typewriter
 multicol
@@ -87,17 +91,14 @@ ion.
 \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 typewriter
@@ -116,22 +117,18 @@ end{multicols}
 \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}
@@ -150,7 +147,9 @@ 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
@@ -158,7 +157,6 @@ 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
@@ -184,12 +182,11 @@ ty which utterly submerged my mind.
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 end{multicols}
@@ -201,34 +198,28 @@ 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}
@@ -241,7 +232,6 @@ 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
@@ -265,12 +255,11 @@ It can be imagined that my close intimacy with Sherlock Holmes had interested
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 end{multicols}
@@ -282,32 +271,26 @@ 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}
@@ -320,7 +303,6 @@ 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.
@@ -330,22 +312,18 @@ The Honourable Ronald Adair was the second son of the Earl of Maynooth,
 \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}
@@ -358,7 +336,6 @@ 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.
@@ -373,12 +350,11 @@ The youth moved in the best society--had, so far as was known, no enemies
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 end{multicols}
@@ -391,7 +367,6 @@ end{multicols}
 
 \begin_layout Standard
 
-
 \size footnotesize
 Ronald Adair was fond of cards--playing continually, but never for such
  stakes as would hurt him.
@@ -418,12 +393,11 @@ The evidence of those who had played with him-- Mr.
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 end{multicols}
@@ -435,12 +409,10 @@ end{multicols}
 \end_layout
 
 \begin_layout Subsection
-
 Advanced Examples
 \end_layout
 
 \begin_layout Standard
-
 As you probably know 
 \family typewriter
 multicol
@@ -450,23 +422,20 @@ multicol
 \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}[
@@ -479,7 +448,8 @@ And the story continues and continues and continues and continues\SpecialChar \l
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 ][5cm]
 \end_layout
 
@@ -490,7 +460,6 @@ status collapsed
 
 \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.
@@ -514,12 +483,11 @@ On the evening of the crime, he returned from the club exactly at ten.
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 end{multicols}
@@ -531,28 +499,25 @@ 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 typewriter
 multicols
 \family default
  command.
- Because of this, the section command can not be provided by LyX:
+ Because of this, the section command cannot be provided by LyX:
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 begin{multicols}{2}[
@@ -566,7 +531,8 @@ This is the sectioning command as a preface
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 }][5cm]
 \end_layout
 
@@ -577,7 +543,6 @@ status collapsed
 
 \begin_layout Standard
 
-
 \size small
 A minute examination of the circumstances served only to make the case more
  complex.
@@ -609,12 +574,11 @@ A minute examination of the circumstances served only to make the case more
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 end{multicols}
@@ -626,12 +590,10 @@ end{multicols}
 \end_layout
 
 \begin_layout Subsubsection
-
 Free Space
 \end_layout
 
 \begin_layout Standard
-
 The 
 \family typewriter
 multicol
@@ -656,12 +618,11 @@ begin{multicols}
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 setlength{
@@ -678,7 +639,6 @@ begin{multicols}{2}
 
 \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
@@ -708,12 +668,11 @@ ion.
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 end{multicols}
@@ -725,12 +684,10 @@ end{multicols}
 \end_layout
 
 \begin_layout Paragraph
-
 Note:
 \end_layout
 
 \begin_layout Standard
-
 The values you set with 
 \family typewriter
 
@@ -742,12 +699,11 @@ setlength
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 setlength{
@@ -761,12 +717,10 @@ multicolsep}{13pt}
 \end_layout
 
 \begin_layout Subsubsection
-
 Column Width and Separation
 \end_layout
 
 \begin_layout Standard
-
 The width of the columns inside the 
 \family sans
 multicols
@@ -777,12 +731,11 @@ multicols
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 setlength{
@@ -799,7 +752,6 @@ begin{multicols}{2}
 
 \begin_layout Standard
 
-
 \size small
 My observations of No.
  427 Park Lane did little to clear up the problem in which I was interested.
@@ -817,12 +769,11 @@ My observations of No.
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 end{multicols}
@@ -834,18 +785,16 @@ 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{
@@ -859,12 +808,10 @@ columnsep}{10pt}
 \end_layout
 
 \begin_layout Subsubsection
-
 Vertical Lines
 \end_layout
 
 \begin_layout Standard
-
 Between every two columns, a rule of width 
 \family typewriter
 
@@ -877,12 +824,11 @@ columnseprule
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 setlength{
@@ -899,9 +845,7 @@ begin{multicols}{2}
 
 \begin_layout Standard
 
-
 \size small
-
 \begin_inset Quotes eld
 \end_inset
 
@@ -914,16 +858,13 @@ You're surprised to see me, sir,
 
 \begin_layout Standard
 
-
 \size small
 I acknowledged that I was.
 \end_layout
 
 \begin_layout Standard
 
-
 \size small
-
 \begin_inset Quotes eld
 \end_inset
 
@@ -940,9 +881,7 @@ Well, I've a conscience, sir, and when I chanced to see you go into this
 
 \begin_layout Standard
 
-
 \size small
-
 \begin_inset Quotes eld
 \end_inset
 
@@ -964,9 +903,7 @@ May I ask how you knew who I was?
 
 \begin_layout Standard
 
-
 \size small
-
 \begin_inset Quotes eld
 \end_inset
 
@@ -976,7 +913,10 @@ Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
  Maybe you collect yourself, sir.
  Here's 
 \noun on
-British\InsetSpace ~
+British
+\begin_inset space ~
+\end_inset
+
 Birds
 \noun default
 , and 
@@ -997,12 +937,11 @@ The Holy War
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 end{multicols}
@@ -1014,17 +953,15 @@ 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{
@@ -1038,13 +975,11 @@ columnseprule}{0pt}
 \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.