From: Uwe Stöhr Date: Mon, 8 Aug 2011 15:24:39 +0000 (+0000) Subject: Additional.lyx: revert unintended changes from r39440 X-Git-Tag: 2.1.0beta1~2847 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6caa152fa02b97c5b0a681a6827ba5222788e040;p=features.git Additional.lyx: revert unintended changes from r39440 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39441 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/doc/Additional.lyx b/lib/doc/Additional.lyx index d0f8b5213f..d7dd2175d9 100644 --- a/lib/doc/Additional.lyx +++ b/lib/doc/Additional.lyx @@ -45,6 +45,7 @@ logicalmkup theorems-ams theorems-ams-extended +multicol \end_modules \maintain_unincluded_children false \begin_local_layout @@ -7002,7 +7003,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 @@ -22464,86 +22465,104 @@ EmbeddedObjects \end_layout \begin_layout Section -Multiple Columns +Multiple Text Columns \end_layout \begin_layout Standard -The aim for this section is to show how the LaTeX package -\series bold -multicol -\series default - can be used in a LyX document. - LyX does not support the -\series bold -multicol -\series default - package natively yet, so you have to use some TeX code. +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 + +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 +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 - package allows switching between one and multicolumn format on the same - page. - Footnotes are handled correctly, but will be placed at the bottom of the - page and not under each column. - Within the different columns you can use everyting, with the limitation - that for floats you need to use the option -\family sans -Span colums -\family default - for each column. -\end_layout -\begin_layout Subsection -Two columns -\end_layout +\begin_inset Index idx +status collapsed -\begin_layout Standard -If you want to have two columns in your text, insert the comand +\begin_layout Plain Layout +LaTeX-packages ! multicol \end_layout -\begin_layout Standard - -\series bold - -\backslash -begin{multicols}{2} -\end_layout +\end_inset -\begin_layout Standard -at the point where you want the two column layout to start, and then + installed. \end_layout \begin_layout Standard - -\series bold - -\backslash -end{multicols} +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 +. \end_layout -\begin_layout Standard -where you want it to end. - Like this: +\begin_layout Subsection +Basics \end_layout \begin_layout Standard -\begin_inset ERT -status open - -\begin_layout Plain Layout +If you want to have 2 columns in your text, use the style +\family sans +Begin Multiple Columns +\family default + 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 +2 +\begin_inset Quotes erd +\end_inset -\backslash -begin{multicols}{2} +. + At the point where the columns should end use the style +\family sans +End Multiple Columns +\family default + and keep it empty. \end_layout -\end_inset - +\begin_layout Standard +Here is an example: +\end_layout +\begin_layout Begin Multiple Columns +2 \end_layout \begin_layout Standard @@ -22588,44 +22607,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 - - -\end_layout +\begin_layout End Multiple Columns -\begin_layout Subsection -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 @@ -22652,52 +22647,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 Plain Layout - +\begin_layout End Multiple Columns -\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 -\begin_inset space ~ +\begin_inset Newpage newpage \end_inset -columns if you want to, but that might not be very pleasant for the eye. -\end_layout -\begin_layout Subsection -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 @@ -22710,20 +22689,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 @@ -22741,19 +22708,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 @@ -22784,78 +22739,107 @@ 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 Standard -Please read the example file -\family typewriter -multicol.lyx -\family default - for more advanced examples including column and header spacing, vertical - separator lines, and more. +\begin_layout Subsubsection +Preface \end_layout \begin_layout Standard -\begin_inset Newpage newpage -\end_inset +To add a preface text for multiple columns, add the command +\end_layout +\begin_layout Standard +\series bold +}[ \end_layout -\begin_layout Section -Non-standard Paragraph Shapes +\begin_layout Standard +as TeX Code behind the number of columns in the +\family sans + Begin Multiple Columns +\family default + style. + behind the command write the text. + At the end of the style use the command \end_layout \begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout +\series bold +]{ +\end_layout -\backslash -begin{sloppypar} +\begin_layout Standard +as TeX Code. + An example with some preface text: \end_layout +\begin_layout Standard +\begin_inset VSpace bigskip \end_inset \end_layout -\begin_layout Standard +\begin_layout Begin Multiple Columns +2 \begin_inset ERT status collapsed \begin_layout Plain Layout - -\backslash -newdimen -\backslash -varunit +}[ \end_layout -\begin_layout Plain Layout +\end_inset +And the story continues and continues and continues and continues\SpecialChar \ldots{} -\backslash -setlength{ -\backslash -varunit}{4.5in} +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +]{ \end_layout \end_inset @@ -22864,31 +22848,768 @@ varunit}{4.5in} \end_layout \begin_layout Standard -\noindent -\begin_inset ERT -status collapsed -\begin_layout Plain Layout +\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 -\backslash -parshape 19 0.45 -\backslash -varunit 0.332 -\backslash -varunit \end_layout -\begin_layout Plain Layout +\begin_layout Standard +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 + +\series bold -0.40 -\backslash -varunit 0.300 \backslash -varunit +subsection{subsection title} \end_layout -\begin_layout Plain 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 + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +subsubsection{ +\end_layout + +\end_inset + +This is a subsubsection heading as a preface +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +} +\end_layout + +\end_inset + + +\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_layout Standard + +\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 + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +subsubsection{ +\end_layout + +\end_inset + +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 + +\end_inset + + +\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 + +\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 +multicolsep +\series default +. + 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 + +cm. + The change must be made before the multiple columns' start. + The predefined value is 13 +\begin_inset space \thinspace{} +\end_inset + +pt. +\end_layout + +\begin_layout Standard +For this example +\series bold + +\backslash +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 +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 +setlength +\series default + will be used for all following multiple columns until to change them again. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +multicolsep}{13pt} +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +go back to the default +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsubsection +Column Separation +\end_layout + +\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 + +\backslash +columnsep +\series default +. + Its predefined value is 10 +\begin_inset space \thinspace{} +\end_inset + +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_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +columnsep}{3cm} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Begin Multiple Columns +2 +\end_layout + +\begin_layout Standard + +\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 +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +columnsep}{10pt} +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +go back to the default +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsubsection +Vertical Lines +\end_layout + +\begin_layout Standard +Between the columns a rule with a width of the length +\series bold + +\backslash +columnseprule +\series default + is placed. + If this rule width is set to 0 +\begin_inset space \thinspace{} +\end_inset + +pt (this is the default), the rule is suppressed. + In the following example, the line separating the columns is 2 +\begin_inset space \thinspace{} +\end_inset + +pt wide. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +columnseprule}{2pt} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Begin Multiple Columns +2 +\end_layout + +\begin_layout Standard + +\size small +\begin_inset Quotes eld +\end_inset + +You're surprised to see me, sir, +\begin_inset Quotes erd +\end_inset + + said he, in a strange, croaking voice. +\end_layout + +\begin_layout Standard + +\size small +I acknowledged that I was. +\end_layout + +\begin_layout Standard + +\size small +\begin_inset Quotes eld +\end_inset + +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 + + +\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 + + said I. + +\begin_inset Quotes eld +\end_inset + +May I ask how you knew who I was? +\begin_inset Quotes erd +\end_inset + + +\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 + +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 + + +\end_layout + +\begin_layout End Multiple Columns + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +columnseprule}{0pt} +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +go back to the default +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\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 + +\begin_layout Plain Layout + + +\backslash +begin{sloppypar} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +newdimen +\backslash +varunit +\end_layout + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +varunit}{4.5in} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +parshape 19 0.45 +\backslash +varunit 0.332 +\backslash +varunit +\end_layout + +\begin_layout Plain Layout + +0.40 +\backslash +varunit 0.300 +\backslash +varunit +\end_layout + +\begin_layout Plain Layout 0.35 \backslash @@ -23056,7 +23777,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. @@ -23114,6 +23835,34 @@ end{sloppypar} \end_inset +\end_layout + +\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 + +\end_inset + + \end_layout \end_body diff --git a/lib/doc/de/Additional.lyx b/lib/doc/de/Additional.lyx index 649b569d22..964ba365ce 100644 --- a/lib/doc/de/Additional.lyx +++ b/lib/doc/de/Additional.lyx @@ -58,6 +58,7 @@ logicalmkup theorems-ams theorems-ams-extended +multicol \end_modules \maintain_unincluded_children false \begin_local_layout @@ -22510,98 +22511,120 @@ EingebetteteObjekte \end_layout \begin_layout Section -Mehrere Spalten +Mehrere Textspalten \end_layout \begin_layout Standard \lang english -The aim for this section is to show how the LaTeX package -\series bold -multicol -\series default - can be used in a LyX document. - LyX does not support the -\series bold -multicol -\series default - package natively yet, so you have to use some TeX code. +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 + +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 \lang english -The +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 +\lang ngerman + \series bold multicol \series default - package allows switching between one and multicolumn format on the same - page. - Footnotes are handled correctly, but will be placed at the bottom of the - page and not under each column. - Within the different columns you can use everyting, with the limitation - that for floats you need to use the option -\family sans -Span colums -\family default - for each column. -\end_layout -\begin_layout Subsection -Zwei Spalten -\end_layout +\begin_inset Index idx +status collapsed -\begin_layout Standard +\begin_layout Plain Layout \lang english -If you want to have two columns in your text, insert the comand +LaTeX-Pakete ! multicol \end_layout -\begin_layout Standard +\end_inset -\series bold -\backslash -begin{multicols}{2} +\lang english + installed. \end_layout \begin_layout Standard \lang english -at the point where you want the two column layout to start, and then +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 +. \end_layout -\begin_layout Standard - -\series bold - -\backslash -end{multicols} +\begin_layout Subsection +Grundlagen \end_layout \begin_layout Standard \lang english -where you want it to end. - Like this -\lang ngerman -: -\end_layout - -\begin_layout Standard -\begin_inset ERT -status open - -\begin_layout Plain Layout +If you want to have 2 columns in your text, use the style +\family sans +Begin Multiple Columns +\family default + 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 +2 +\begin_inset Quotes erd +\end_inset -\backslash -begin{multicols}{2} +. + At the point where the columns should end use the style +\family sans +End Multiple Columns +\family default + and keep it empty. \end_layout -\end_inset +\begin_layout Standard +\lang english +Here is an example: +\end_layout +\begin_layout Begin Multiple Columns +2 \end_layout \begin_layout Standard @@ -22648,46 +22671,22 @@ 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 - - -\end_layout +\begin_layout End Multiple Columns -\begin_layout Subsection -Drei Spalten \end_layout \begin_layout Standard \lang english -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 @@ -22715,56 +22714,42 @@ 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 Plain Layout - +\begin_layout End Multiple Columns -\backslash -end{multicols} \end_layout -\end_inset +\begin_layout Standard +\lang english +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 \lang english -You can have more than 3 -\begin_inset space ~ +\begin_inset Newpage newpage \end_inset -columns if you want to, but that might not be very pleasant for the eye. + \end_layout \begin_layout Subsection -Spalten innnerhalb von Spalten +Spalten innerhalb einer Spalte \end_layout \begin_layout Standard \lang english -You can even have 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 @@ -22778,20 +22763,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 @@ -22810,19 +22783,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 @@ -22854,118 +22815,941 @@ 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 Standard -\begin_inset ERT -status open - -\begin_layout Plain Layout - +\begin_layout End Multiple Columns -\backslash -end{multicols} \end_layout -\end_inset - - +\begin_layout Subsection +Fortgeschrittene Beispiele \end_layout \begin_layout Standard \lang english -Please read the example file -\family typewriter -multicol.lyx -\family default - for more advanced examples including column and header spacing, vertical - separator lines, and more. +The examples in this section show some more special features of multiple + columns. \end_layout \begin_layout Standard -\begin_inset Newpage newpage -\end_inset +\lang english +For more features of multiple columns, have a look at the documentation + of the LaTeX-package +\lang ngerman + +\series bold +multicol +\series default -\end_layout - -\begin_layout Section -Ungewöhnliche Absatzformen \begin_inset Index idx status collapsed \begin_layout Plain Layout -Ungewöhnliche Absatzformen + +\lang english +LaTeX-Pakete ! multicol \end_layout \end_inset +, +\begin_inset CommandInset citation +LatexCommand cite +key "multicol" + +\end_inset + +. +\end_layout +\begin_layout Subsubsection +Vorwort \end_layout \begin_layout Standard -\begin_inset ERT -status collapsed -\begin_layout Plain Layout +\lang english +To add a preface text for multiple columns, add the command +\end_layout +\begin_layout Standard -\backslash -newdimen -\backslash -varunit +\series bold +}[ \end_layout -\begin_layout Plain Layout +\begin_layout Standard +\lang english +as TeX Code behind the number of columns in the +\family sans + Begin Multiple Columns +\family default + style. + behind the command write the text. + At the end of the style use the command +\end_layout -\backslash -setlength{ -\backslash -varunit}{5.5in} +\begin_layout Standard + +\series bold +]{ +\end_layout + +\begin_layout Standard + +\lang english +as TeX Code. + An example with some preface text: \end_layout +\begin_layout Standard +\begin_inset VSpace bigskip \end_inset \end_layout -\begin_layout Standard -\noindent +\begin_layout Begin Multiple Columns +2 \begin_inset ERT status collapsed \begin_layout Plain Layout - -\backslash -parshape 19 0.45 -\backslash -varunit 0.332 -\backslash -varunit +}[ \end_layout -\begin_layout Plain Layout +\end_inset -0.40 -\backslash -varunit 0.300 -\backslash -varunit -\end_layout -\begin_layout Plain Layout +\lang english +And the story continues and continues and continues and continues +\lang ngerman +\SpecialChar \ldots{} -0.35 -\backslash -varunit 0.293 -\backslash -varunit -\end_layout +\begin_inset ERT +status collapsed \begin_layout Plain Layout -0.30 +]{ +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\size small +\lang english +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 Standard + +\lang english +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 + +\series bold + +\backslash +subsection{subsection title} +\end_layout + +\begin_layout Standard + +\lang english +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 + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +subsubsection{ +\end_layout + +\end_inset + + +\lang english +This is a subsubsection heading as a preface +\lang ngerman + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +]{ +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\size small +\lang english +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 + +\lang english +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_layout Standard + +\series bold +\lang english +][number +\backslash +baselineskip +\end_layout + +\begin_layout Standard + +\lang english +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 + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +subsubsection{ +\end_layout + +\end_inset + + +\lang english +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 +\lang ngerman + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +} +\end_layout + +\end_inset + + +\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 + +\size small +\lang english +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 +Leerraum +\end_layout + +\begin_layout Standard + +\lang english +The amount of space before and after multiple columns can be changed by + changing the length +\series bold + +\backslash +multicolsep +\series default +. + For example the command +\end_layout + +\begin_layout Standard + +\series bold +\lang english + +\backslash +setlength{ +\backslash +multicolsep}{3cm} +\end_layout + +\begin_layout Standard + +\lang english +in TeX Code changes its value to 3 +\begin_inset space \thinspace{} +\end_inset + +cm. + The change must be made before the multiple columns' start. + The predefined value is 13 +\begin_inset space \thinspace{} +\end_inset + +pt. +\end_layout + +\begin_layout Standard + +\lang english +For this example +\series bold + +\backslash +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 +setlength{ +\backslash +multicolsep}{2.5cm} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Begin Multiple Columns +2 +\end_layout + +\begin_layout Standard + +\size small +\lang english +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 + +\lang english +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +\lang english +Achtung: +\series default + The values you set with +\series bold + +\backslash +setlength +\series default + will be used for all following multiple columns until to change them again. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +multicolsep}{13pt} +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +auf Voreinstellung zurücksetzen +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsubsection +Spaltentrennung +\end_layout + +\begin_layout Standard + +\lang english +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 + +\backslash +columnsep +\series default +. + Its predefined value is 10 +\begin_inset space \thinspace{} +\end_inset + +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_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +columnsep}{3cm} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Begin Multiple Columns +2 +\end_layout + +\begin_layout Standard + +\size small +\lang english +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 +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +columnsep}{10pt} +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +auf Voreinstellung zurücksetzen +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsubsection +Vertikale Linien +\end_layout + +\begin_layout Standard + +\lang english +Between the columns a rule with a width of the length +\series bold + +\backslash +columnseprule +\series default + is placed. + If this rule width is set to 0 +\begin_inset space \thinspace{} +\end_inset + +pt (this is the default), the rule is suppressed. + In the following example, the line separating the columns is 2 +\begin_inset space \thinspace{} +\end_inset + +pt wide. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +columnseprule}{2pt} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Begin Multiple Columns +2 +\end_layout + +\begin_layout Standard + +\size small +\lang english +\begin_inset Quotes eld +\end_inset + +You're surprised to see me, sir, +\begin_inset Quotes erd +\end_inset + + said he, in a strange, croaking voice. +\end_layout + +\begin_layout Standard + +\size small +\lang english +I acknowledged that I was. +\end_layout + +\begin_layout Standard + +\size small +\lang english +\begin_inset Quotes eld +\end_inset + +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 + + +\end_layout + +\begin_layout Standard + +\size small +\lang english +\begin_inset Quotes eld +\end_inset + +You make too much of a trifle, +\begin_inset Quotes erd +\end_inset + + said I. + +\begin_inset Quotes eld +\end_inset + +May I ask how you knew who I was? +\begin_inset Quotes erd +\end_inset + + +\end_layout + +\begin_layout Standard + +\size small +\lang english +\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 + +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 + + +\end_layout + +\begin_layout End Multiple Columns + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +columnseprule}{0pt} +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +auf Voreinstellung zurücksetzen +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + +\end_layout + +\begin_layout Section +Ungewöhnliche Absatzformen +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Ungewöhnliche Absatzformen +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +newdimen +\backslash +varunit +\end_layout + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +varunit}{5.5in} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +parshape 19 0.45 +\backslash +varunit 0.332 +\backslash +varunit +\end_layout + +\begin_layout Plain Layout + +0.40 +\backslash +varunit 0.300 +\backslash +varunit +\end_layout + +\begin_layout Plain Layout + +0.35 +\backslash +varunit 0.293 +\backslash +varunit +\end_layout + +\begin_layout Plain Layout + +0.30 \backslash varunit 0.300 \backslash @@ -23167,5 +23951,33 @@ numlines wird alles auf normal zurückgesetzt. \end_layout +\begin_layout Bibliography +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "multicol" + +\end_inset + +Dokumentation des LaTeX-Pakets +\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-Pakete ! multicol +\end_layout + +\end_inset + + +\end_layout + \end_body \end_document