]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/multicol.lyx
3 new Spanish translations of example files by Ignacio
[lyx.git] / lib / examples / multicol.lyx
index cb39c14e65113da075afd010e706a334a5ad3c4d..7e95a1d48e09fe8f932a81edce75eb6cde22bb71 100644 (file)
@@ -1,20 +1,30 @@
-#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 245
+#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
 \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
@@ -65,12 +72,10 @@ multicol
 \end_layout
 
 \begin_layout Subsection
-
 Limitations 
 \end_layout
 
 \begin_layout Standard
-
 The 
 \family typewriter
 multicol
@@ -86,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
@@ -115,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}
@@ -149,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
@@ -157,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
@@ -183,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}
@@ -200,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}
@@ -240,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
@@ -264,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}
@@ -281,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}
@@ -319,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.
@@ -329,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}
@@ -357,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.
@@ -372,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}
@@ -390,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.
@@ -417,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}
@@ -434,12 +409,10 @@ end{multicols}
 \end_layout
 
 \begin_layout Subsection
-
 Advanced Examples
 \end_layout
 
 \begin_layout Standard
-
 As you probably know 
 \family typewriter
 multicol
@@ -449,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}[
@@ -478,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
 
@@ -489,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.
@@ -513,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}
@@ -530,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}[
@@ -565,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
 
@@ -576,7 +543,6 @@ status collapsed
 
 \begin_layout Standard
 
-
 \size small
 A minute examination of the circumstances served only to make the case more
  complex.
@@ -608,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}
@@ -625,12 +590,10 @@ end{multicols}
 \end_layout
 
 \begin_layout Subsubsection
-
 Free Space
 \end_layout
 
 \begin_layout Standard
-
 The 
 \family typewriter
 multicol
@@ -655,12 +618,11 @@ begin{multicols}
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 setlength{
@@ -677,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
@@ -707,12 +668,11 @@ ion.
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 end{multicols}
@@ -724,12 +684,10 @@ end{multicols}
 \end_layout
 
 \begin_layout Paragraph
-
 Note:
 \end_layout
 
 \begin_layout Standard
-
 The values you set with 
 \family typewriter
 
@@ -741,12 +699,11 @@ setlength
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 setlength{
@@ -760,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
@@ -776,12 +731,11 @@ multicols
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 setlength{
@@ -798,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.
@@ -816,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}
@@ -833,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{
@@ -858,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
 
@@ -876,12 +824,11 @@ columnseprule
 \end_layout
 
 \begin_layout Standard
-
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
+
 
 \backslash
 setlength{
@@ -898,9 +845,7 @@ begin{multicols}{2}
 
 \begin_layout Standard
 
-
 \size small
-
 \begin_inset Quotes eld
 \end_inset
 
@@ -913,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
 
@@ -939,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
 
@@ -963,9 +903,7 @@ May I ask how you knew who I was?
 
 \begin_layout Standard
 
-
 \size small
-
 \begin_inset Quotes eld
 \end_inset
 
@@ -975,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 
@@ -996,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}
@@ -1013,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{
@@ -1037,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.