multicol.module: use the layout argument mechanism

- Additional.lyx: update description of multiple columns accordingly
This commit is contained in:
Uwe Stöhr 2013-01-13 03:23:25 +01:00
parent fecdd4f318
commit a3036539b2
6 changed files with 364 additions and 598 deletions

View File

@ -97,7 +97,7 @@ End
\pdf_backref false \pdf_backref false
\pdf_pdfusetitle false \pdf_pdfusetitle false
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
\papersize default \papersize a4paper
\use_geometry false \use_geometry false
\use_package amsmath 1 \use_package amsmath 1
\use_package amssymb 1 \use_package amssymb 1
@ -22753,33 +22753,16 @@ Preface
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
To add a preface text for multiple columns, add the command To add a preface text for multiple columns, add the optional parameter
\end_layout \family sans
Preface
\begin_layout Standard \family default
behind the number of columns in the
\series bold
}[
\end_layout
\begin_layout Standard
as TeX Code behind the number of columns in the
\family sans \family sans
Begin Multiple Columns Begin Multiple Columns
\family default \family default
style. style.
Behind the command follows the preface text. Write in there your preface.
At the end of the style use the command
\end_layout
\begin_layout Standard
\series bold
]{
\end_layout
\begin_layout Standard
as TeX Code.
An example with some preface text: An example with some preface text:
\end_layout \end_layout
@ -22792,24 +22775,12 @@ as TeX Code.
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
2 2
\begin_inset ERT \begin_inset Argument post:1
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
}[
\end_layout
\end_inset
And the story continues and continues and continues and continues\SpecialChar \ldots{} And the story continues and continues and continues and continues\SpecialChar \ldots{}
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
]{
\end_layout \end_layout
\end_inset \end_inset
@ -22842,7 +22813,7 @@ On the evening of the crime, he returned from the club exactly at ten.
\begin_layout Standard \begin_layout Standard
You can also use a section heading as the preface if you use a section command You can also use a section heading as the preface if you use a section command
as TeX Code behind the first TeX Code. as TeX Code.
For example the command For example the command
\end_layout \end_layout
@ -22861,17 +22832,10 @@ creates a subsection.
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
2 2
\begin_inset ERT \begin_inset Argument post:1
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
}[
\end_layout
\end_inset
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -22896,12 +22860,6 @@ status collapsed
\end_inset \end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
]{
\end_layout \end_layout
\end_inset \end_inset
@ -22939,56 +22897,65 @@ A minute examination of the circumstances served only to make the case more
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
If there is less vertical space left on the page at the beginning of the If there is less vertical space than 6
multiple columns than needed for 6
\begin_inset space ~ \begin_inset space ~
\end_inset \end_inset
text lines, a page break will be inserted before the multiple columns. text lines is left on the page at the beginning of the multiple columns,
a page break will be inserted before the multiple columns.
Depending on the number of lines of the preface text, you might want to Depending on the number of lines of the preface text, you might want to
change this value. change this space.
It is determined by inserting the command This is done by inserting the optional parameter
\end_layout \family sans
Space before page break
\family default
behind the preface.
There insert the amount of space like e.
\begin_inset space \thinspace{}
\end_inset
\begin_layout Standard g.
\begin_inset space \space{}
\end_inset
\series bold
][number
\backslash
baselineskip
\end_layout
\begin_layout Standard \begin_inset Quotes eld
as TeX Code behind the preface definition but before the final \end_inset
\series bold
]{
\series default
command.
\emph on 5cm
number \begin_inset Quotes erd
\emph default \end_inset
is hereby the number of text lines.
.
In this example the space is set to 7 In this example the space is set to 7
\begin_inset space ~ \begin_inset space ~
\end_inset \end_inset
text lines: text lines by using
\begin_inset Quotes eld
\end_inset
7
\backslash
baselineskip
\begin_inset Quotes erd
\end_inset
(where the command
\series bold
\backslash
baselineskip
\series default
needs to be inserted as TeX code):
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
2 2
\begin_inset ERT \begin_inset Argument post:1
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
}[
\end_layout
\end_inset
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -23021,12 +22988,22 @@ status collapsed
\end_inset \end_inset
\end_layout
\end_inset
\begin_inset Argument post:2
status open
\begin_layout Plain Layout
7
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
][7
\backslash \backslash
baselineskip baselineskip
\end_layout \end_layout
@ -23034,12 +23011,6 @@ baselineskip
\end_inset \end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
]{
\end_layout \end_layout
\end_inset \end_inset

View File

@ -34,9 +34,6 @@
% extra space for tables % extra space for tables
\newcommand{\extratablespace}[1]{\noalign{\vskip#1}} \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
% Damit der Index den Namen "Stichwortverzeichnis" erhält
\addto\captionsngerman{\renewcommand{\indexname}{Stichwortverzeichnis}}
\end_preamble \end_preamble
\options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
\use_default_options false \use_default_options false
@ -99,7 +96,7 @@ End
\pdf_backref false \pdf_backref false
\pdf_pdfusetitle false \pdf_pdfusetitle false
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
\papersize default \papersize a4paper
\use_geometry false \use_geometry false
\use_package amsmath 1 \use_package amsmath 1
\use_package amssymb 1 \use_package amssymb 1
@ -24996,33 +24993,17 @@ Vorwort
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
Um ein Vorwort für mehrere Spalten hinzuzufügen, fügt man den Befehl Um ein Vorwort für mehrere Spalten hinzuzufügen, fügt man den optionalen
\end_layout Parameter
\family sans
\begin_layout Standard Vorwort
\family default
\series bold nach der Anzahl der Spalten im Stil
}[
\end_layout
\begin_layout Standard
als TeX-Code nach der Anzahl der Spalten im Stil
\family sans \family sans
Beginn Mehrfachspalten Beginn Mehrfachspalten
\family default \family default
ein. ein.
Nach dem Befehl folgt der Text des Vorworts. Dahinein schreibt man das Vorwort.
Am Ende des Stils verwendet man den Befehl
\end_layout
\begin_layout Standard
\series bold
]{
\end_layout
\begin_layout Standard
als TeX-Code.
Ein Beispiel mit einem Vorwort: Ein Beispiel mit einem Vorwort:
\end_layout \end_layout
@ -25035,24 +25016,12 @@ als TeX-Code.
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
2 2
\begin_inset ERT \begin_inset Argument post:1
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
}[
\end_layout
\end_inset
Und die Geschichte geht weiter und weiter und weiter und weiter\SpecialChar \ldots{} Und die Geschichte geht weiter und weiter und weiter und weiter\SpecialChar \ldots{}
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
]{
\end_layout \end_layout
\end_inset \end_inset
@ -25087,7 +25056,7 @@ On the evening of the crime, he returned from the club exactly at ten.
\begin_layout Standard \begin_layout Standard
Man kann auch einen Abschnittstitel als Vorwort verwenden indem man den Man kann auch einen Abschnittstitel als Vorwort verwenden indem man den
Ab\SpecialChar \- Ab\SpecialChar \-
schnitts-Befehl als TeX-Code nach dem ersten TeX-Code eingibt. schnitts-Befehl als TeX-Code eingibt.
Zum Beispiel erstellt der Befehl Zum Beispiel erstellt der Befehl
\end_layout \end_layout
@ -25106,17 +25075,10 @@ einen Unterabschnitt.
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
2 2
\begin_inset ERT \begin_inset Argument post:1
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
}[
\end_layout
\end_inset
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -25141,12 +25103,6 @@ status collapsed
\end_inset \end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
]{
\end_layout \end_layout
\end_inset \end_inset
@ -25192,51 +25148,56 @@ Wenn am Beginn der Mehrfachspalten weniger vertikaler Leerraum am unteren
Textzeilen benötigt werden, wird ein Seitenumbruch vor den Mehrfachspalten Textzeilen benötigt werden, wird ein Seitenumbruch vor den Mehrfachspalten
eingefügt. eingefügt.
Je nach Anzahl der Zeilen des Vorworts möchte man diesen Wert eventuell Je nach Anzahl der Zeilen des Vorworts möchte man diesen Leerraum eventuell
ändern. ändern.
Er wird durch den Befehl Dies wird erreicht, indem man den optionalen Parameter
\end_layout \family sans
Leerraum vor Seitenumbruch
\family default
nach dem Vorwort einfügt.
Darin gibt man den Leerraum an, z.
\begin_inset space \thinspace{}
\end_inset
\begin_layout Standard B.
\series bold \begin_inset Quotes gld
][Anzahl \end_inset
\backslash
baselineskip
\end_layout
\begin_layout Standard 5cm
geändert, der als TeX-Code hinter der Vorwort-Definition, aber vor dem finalen \begin_inset Quotes grd
\end_inset
\series bold .
]{
\series default
Befehl eingefügt wird.
\emph on
Anzahl
\emph default
ist hierbei die Anzahl der Textzeilen.
In diesem Beispiel ist der Leerraum auf 7 In diesem Beispiel ist der Leerraum auf 7
\begin_inset space ~ \begin_inset space ~
\end_inset \end_inset
Textzeilen eingestellt: Textzeilen eingestellt, indem
\begin_inset Quotes gld
\end_inset
7
\backslash
baselineskip
\begin_inset Quotes grd
\end_inset
verwendet wurde (wobei der Befehl
\series bold
\backslash
baselineskip
\series default
als TeX-Code eingegeben werden muss):
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
2 2
\begin_inset ERT \begin_inset Argument post:1
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
}[
\end_layout
\end_inset
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -25269,12 +25230,22 @@ status collapsed
\end_inset \end_inset
\end_layout
\end_inset
\begin_inset Argument post:2
status open
\begin_layout Plain Layout
7
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
][7
\backslash \backslash
baselineskip baselineskip
\end_layout \end_layout
@ -25282,12 +25253,6 @@ baselineskip
\end_inset \end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
]{
\end_layout \end_layout
\end_inset \end_inset
@ -25298,9 +25263,8 @@ status collapsed
\begin_layout Standard \begin_layout Standard
\size small \size small
On the evening of the crime, he returned from th
\lang english \lang english
e club exactly at ten. 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. 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 The servant deposed that she heard him enter the front room on the second
floor, generally used as his sitting-room. floor, generally used as his sitting-room.
@ -25781,7 +25745,7 @@ Ungewöhnliche Absatzformen
LaTeX verwendet, wie alle anderen Textprogramme, standardmäßig rechteckige LaTeX verwendet, wie alle anderen Textprogramme, standardmäßig rechteckige
Absätze. Absätze.
Für spezielle Fälle wie zum Beispiel Poster, Einladungskarten oder Gedichte Für spezielle Fälle wie zum Beispiel Poster, Einladungskarten oder Gedichte
kann man die Abssatzform beliebig verändern. kann man die Absatzform beliebig verändern.
Dies kann mit dem LaTeX-Paket Dies kann mit dem LaTeX-Paket
\series bold \series bold
shapepar shapepar
@ -26698,7 +26662,7 @@ shapepar
\family sans \family sans
Shapepar Shapepar
\family default \family default
an, die dazu verwendet werden können, eigene Formen Kordinate für Koordinate an, die dazu verwendet werden können, eigene Formen Koordinate für Koordinate
zu definieren. zu definieren.
\begin_inset Foot \begin_inset Foot
status collapsed status collapsed

View File

@ -25,7 +25,6 @@
% the pages of the TOC are numbered roman % the pages of the TOC are numbered roman
% and a PDF-bookmark for the TOC is added % and a PDF-bookmark for the TOC is added
\pagenumbering{roman} \pagenumbering{roman}
\let\myTOC\tableofcontents \let\myTOC\tableofcontents
\renewcommand{\tableofcontents}{% \renewcommand{\tableofcontents}{%
@ -98,7 +97,7 @@ End
\pdf_backref false \pdf_backref false
\pdf_pdfusetitle false \pdf_pdfusetitle false
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
\papersize default \papersize a4paper
\use_geometry false \use_geometry false
\use_package amsmath 1 \use_package amsmath 1
\use_package amssymb 1 \use_package amssymb 1
@ -24327,8 +24326,6 @@ columns if you want to, but that might not be very pleasant for the readers
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
\lang english
\begin_inset Newpage newpage \begin_inset Newpage newpage
\end_inset \end_inset
@ -24427,69 +24424,16 @@ Advanced Examples
\begin_layout Standard \begin_layout Standard
\lang english \lang english
The examples in this section show some more special features of multiple To add a preface text for multiple columns, add the optional parameter
columns. \family sans
\end_layout
\begin_layout Standard
\lang english
For more features of multiple columns, have a look at the documentation
of the LaTeX-package
\series bold
multicol
\series default
\lang spanish
,
\begin_inset CommandInset citation
LatexCommand cite
key "multicol"
\end_inset
.
\end_layout
\begin_layout Subsubsection
\lang english
Preface Preface
\end_layout \family default
behind the number of columns in the
\begin_layout Standard
\lang english
To add a preface text for multiple columns, add the command
\end_layout
\begin_layout Standard
\series bold
}[
\end_layout
\begin_layout Standard
\lang english
as TeX Code behind the number of columns in the
\family sans \family sans
Begin Multiple Columns Begin Multiple Columns
\family default \family default
style. style.
Behind the command follows the preface text. Write in there your preface.
At the end of the style use the command
\end_layout
\begin_layout Standard
\series bold
]{
\end_layout
\begin_layout Standard
\lang english
as TeX Code.
An example with some preface text: An example with some preface text:
\end_layout \end_layout
@ -24501,27 +24445,15 @@ as TeX Code.
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
2
\begin_inset Argument post:1
status open
\begin_layout Plain Layout
\lang english \lang english
2
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}[
\end_layout
\end_inset
And the story continues and continues and continues and continues\SpecialChar \ldots{} And the story continues and continues and continues and continues\SpecialChar \ldots{}
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
]{
\end_layout \end_layout
\end_inset \end_inset
@ -24557,7 +24489,7 @@ On the evening of the crime, he returned from the club exactly at ten.
\lang english \lang english
You can also use a section heading as the preface if you use a section command You can also use a section heading as the preface if you use a section command
as TeX Code behind the first TeX Code. as TeX Code.
For example the command For example the command
\end_layout \end_layout
@ -24578,20 +24510,13 @@ creates a subsection.
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
\lang english
2 2
\begin_inset ERT \begin_inset Argument post:1
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
}[ \lang english
\end_layout
\end_inset
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -24616,12 +24541,6 @@ status collapsed
\end_inset \end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
]{
\end_layout \end_layout
\end_inset \end_inset
@ -24662,61 +24581,67 @@ A minute examination of the circumstances served only to make the case more
\begin_layout Standard \begin_layout Standard
\lang english \lang english
If there is less vertical space left on the page at the beginning of the If there is less vertical space than 6
multiple columns than needed for 6
\begin_inset space ~ \begin_inset space ~
\end_inset \end_inset
text lines, a page break will be inserted before the multiple columns. text lines is left on the page at the beginning of the multiple columns,
a page break will be inserted before the multiple columns.
Depending on the number of lines of the preface text, you might want to Depending on the number of lines of the preface text, you might want to
change this value. change this space.
It is determined by inserting the command This is done by inserting the optional parameter
\end_layout \family sans
Space before page break
\family default
behind the preface.
There insert the amount of space like e.
\begin_inset space \thinspace{}
\end_inset
\begin_layout Standard g.
\begin_inset space \space{}
\end_inset
\series bold
\lang english
][number
\backslash
baselineskip
\end_layout
\begin_layout Standard \begin_inset Quotes eld
\end_inset
\lang english 5cm
as TeX Code behind the preface definition but before the final \begin_inset Quotes erd
\series bold \end_inset
]{
\series default
command.
\emph on .
number
\emph default
is hereby the number of text lines.
In this example the space is set to 7 In this example the space is set to 7
\begin_inset space ~ \begin_inset space ~
\end_inset \end_inset
text lines: text lines by using
\begin_inset Quotes eld
\end_inset
7
\backslash
baselineskip
\begin_inset Quotes erd
\end_inset
(where the command
\series bold
\backslash
baselineskip
\series default
needs to be inserted as TeX code):
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
\lang english
2 2
\begin_inset ERT \begin_inset Argument post:1
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
}[ \lang english
\end_layout
\end_inset
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -24749,12 +24674,22 @@ status collapsed
\end_inset \end_inset
\end_layout
\end_inset
\begin_inset Argument post:2
status open
\begin_layout Plain Layout
7
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
][7
\backslash \backslash
baselineskip baselineskip
\end_layout \end_layout
@ -24762,12 +24697,6 @@ baselineskip
\end_inset \end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
]{
\end_layout \end_layout
\end_inset \end_inset
@ -24967,8 +24896,6 @@ go back to the default
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
\lang english
\begin_inset Newpage newpage \begin_inset Newpage newpage
\end_inset \end_inset

View File

@ -97,7 +97,7 @@ End
\pdf_backref false \pdf_backref false
\pdf_pdfusetitle false \pdf_pdfusetitle false
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
\papersize default \papersize a4paper
\use_geometry false \use_geometry false
\use_package amsmath 1 \use_package amsmath 1
\use_package amssymb 1 \use_package amssymb 1
@ -24556,7 +24556,11 @@ Basics
\begin_layout Standard \begin_layout Standard
\lang english \lang english
If you want to have 2 columns in your text, use the style If you want to have 2
\begin_inset space ~
\end_inset
columns in your text, use the style
\family sans \family sans
Begin Multiple Columns Begin Multiple Columns
\family default \family default
@ -24647,8 +24651,6 @@ columns:
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
\lang english
3 3
\end_layout \end_layout
@ -24819,43 +24821,20 @@ Preface
\begin_layout Standard \begin_layout Standard
\lang english \lang english
To add a preface text for multiple columns, add the command To add a preface text for multiple columns, add the optional parameter
\end_layout \family sans
Preface
\begin_layout Standard \family default
behind the number of columns in the
\series bold
}[
\end_layout
\begin_layout Standard
\lang english
as TeX Code behind the number of columns in the
\family sans \family sans
Begin Multiple Columns Begin Multiple Columns
\family default \family default
style. style.
behind the command write the text. Write in there your preface.
At the end of the style use the command
\end_layout
\begin_layout Standard
\series bold
]{
\end_layout
\begin_layout Standard
\lang english
as TeX Code.
An example with some preface text: An example with some preface text:
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
\lang english
\begin_inset VSpace bigskip \begin_inset VSpace bigskip
\end_inset \end_inset
@ -24864,28 +24843,14 @@ as TeX Code.
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
2 2
\begin_inset ERT \begin_inset Argument post:1
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
}[
\end_layout
\end_inset
\lang english \lang english
And the story continues and continues and continues and continues And the story continues and continues and continues and continues\SpecialChar \ldots{}
\lang french
\SpecialChar \ldots{}
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
]{
\end_layout \end_layout
\end_inset \end_inset
@ -24921,7 +24886,7 @@ On the evening of the crime, he returned from the club exactly at ten.
\lang english \lang english
You can also use a section heading as the preface if you use a section command You can also use a section heading as the preface if you use a section command
as TeX Code behind the first TeX Code. as TeX Code.
For example the command For example the command
\end_layout \end_layout
@ -24942,20 +24907,13 @@ creates a subsection.
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
\lang english
2 2
\begin_inset ERT \begin_inset Argument post:1
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
}[ \lang english
\end_layout
\end_inset
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -24980,12 +24938,6 @@ status collapsed
\end_inset \end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
]{
\end_layout \end_layout
\end_inset \end_inset
@ -25026,58 +24978,67 @@ A minute examination of the circumstances served only to make the case more
\begin_layout Standard \begin_layout Standard
\lang english \lang english
If there is less vertical space left on the page at the beginning of the If there is less vertical space than 6
multiple columns than needed for 6
\begin_inset space ~ \begin_inset space ~
\end_inset \end_inset
text lines, a page break will be inserted before the multiple columns. text lines is left on the page at the beginning of the multiple columns,
a page break will be inserted before the multiple columns.
Depending on the number of lines of the preface text, you might want to Depending on the number of lines of the preface text, you might want to
change this value. change this space.
It is determined by inserting the command This is done by inserting the optional parameter
\end_layout \family sans
Space before page break
\family default
behind the preface.
There insert the amount of space like e.
\begin_inset space \thinspace{}
\end_inset
\begin_layout Standard g.
\begin_inset space \space{}
\end_inset
\series bold
][number
\backslash
baselineskip
\end_layout
\begin_layout Standard \begin_inset Quotes eld
\end_inset
\lang english 5cm
as TeX Code behind the preface definition but before the final \begin_inset Quotes erd
\series bold \end_inset
]{
\series default
command.
\emph on .
number
\emph default
is hereby the number of text lines.
In this example the space is set to 7 In this example the space is set to 7
\begin_inset space ~ \begin_inset space ~
\end_inset \end_inset
text lines: text lines by using
\begin_inset Quotes eld
\end_inset
7
\backslash
baselineskip
\begin_inset Quotes erd
\end_inset
(where the command
\series bold
\backslash
baselineskip
\series default
needs to be inserted as TeX code):
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
2 2
\begin_inset ERT \begin_inset Argument post:1
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
}[ \lang english
\end_layout
\end_inset
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -25090,8 +25051,6 @@ subsubsection{
\end_inset \end_inset
\lang english
This is the sectioning command This is the sectioning command
\begin_inset Newline newline \begin_inset Newline newline
\end_inset \end_inset
@ -25101,8 +25060,6 @@ as a preface and
\end_inset \end_inset
with multiple text lines with multiple text lines
\lang french
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -25114,12 +25071,22 @@ status collapsed
\end_inset \end_inset
\end_layout
\end_inset
\begin_inset Argument post:2
status open
\begin_layout Plain Layout
7
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
][7
\backslash \backslash
baselineskip baselineskip
\end_layout \end_layout
@ -25127,12 +25094,6 @@ baselineskip
\end_inset \end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
]{
\end_layout \end_layout
\end_inset \end_inset
@ -25317,8 +25278,6 @@ multicolsep}{13pt}
\end_inset \end_inset
\lang english
\begin_inset Note Note \begin_inset Note Note
status collapsed status collapsed
@ -25433,8 +25392,6 @@ columnsep}{10pt}
\end_inset \end_inset
\lang english
\begin_inset Note Note \begin_inset Note Note
status collapsed status collapsed
@ -25617,8 +25574,6 @@ columnseprule}{0pt}
\end_inset \end_inset
\lang english
\begin_inset Note Note \begin_inset Note Note
status collapsed status collapsed

View File

@ -20624,7 +20624,11 @@ Basics
\begin_layout Standard \begin_layout Standard
\lang english \lang english
If you want to have 2 columns in your text, use the style If you want to have 2
\begin_inset space ~
\end_inset
columns in your text, use the style
\family sans \family sans
Begin Multiple Columns Begin Multiple Columns
\family default \family default
@ -20653,8 +20657,6 @@ Here is an example:
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
\lang english
2 2
\end_layout \end_layout
@ -20717,8 +20719,6 @@ columns:
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
\lang english
3 3
\end_layout \end_layout
@ -20763,8 +20763,6 @@ columns if you want to, but that might not be very pleasant for the readers
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
\lang english
\begin_inset Newpage newpage \begin_inset Newpage newpage
\end_inset \end_inset
@ -20784,8 +20782,6 @@ You can also have columns inside columns:
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
\lang english
2 2
\end_layout \end_layout
@ -20801,8 +20797,6 @@ The Honourable Ronald Adair was the second son of the Earl of Maynooth,
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
\lang english
2 2
\end_layout \end_layout
@ -20899,45 +20893,20 @@ Preface
\begin_layout Standard \begin_layout Standard
\lang english \lang english
To add a preface text for multiple columns, add the command To add a preface text for multiple columns, add the optional parameter
\end_layout \family sans
Preface
\begin_layout Standard \family default
behind the number of columns in the
\series bold
\lang english
}[
\end_layout
\begin_layout Standard
\lang english
as TeX Code behind the number of columns in the
\family sans \family sans
Begin Multiple Columns Begin Multiple Columns
\family default \family default
style. style.
behind the command write the text. Write in there your preface.
At the end of the style use the command
\end_layout
\begin_layout Standard
\series bold
\lang english
]{
\end_layout
\begin_layout Standard
\lang english
as TeX Code.
An example with some preface text: An example with some preface text:
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
\lang english
\begin_inset VSpace bigskip \begin_inset VSpace bigskip
\end_inset \end_inset
@ -20945,27 +20914,15 @@ as TeX Code.
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
2
\begin_inset Argument post:1
status open
\begin_layout Plain Layout
\lang english \lang english
2
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}[
\end_layout
\end_inset
And the story continues and continues and continues and continues\SpecialChar \ldots{} And the story continues and continues and continues and continues\SpecialChar \ldots{}
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
]{
\end_layout \end_layout
\end_inset \end_inset
@ -21001,7 +20958,7 @@ On the evening of the crime, he returned from the club exactly at ten.
\lang english \lang english
You can also use a section heading as the preface if you use a section command You can also use a section heading as the preface if you use a section command
as TeX Code behind the first TeX Code. as TeX Code.
For example the command For example the command
\end_layout \end_layout
@ -21022,20 +20979,13 @@ creates a subsection.
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
\lang english
2 2
\begin_inset ERT \begin_inset Argument post:1
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
}[ \lang english
\end_layout
\end_inset
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -21060,12 +21010,6 @@ status collapsed
\end_inset \end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
]{
\end_layout \end_layout
\end_inset \end_inset
@ -21106,61 +21050,67 @@ A minute examination of the circumstances served only to make the case more
\begin_layout Standard \begin_layout Standard
\lang english \lang english
If there is less vertical space left on the page at the beginning of the If there is less vertical space than 6
multiple columns than needed for 6
\begin_inset space ~ \begin_inset space ~
\end_inset \end_inset
text lines, a page break will be inserted before the multiple columns. text lines is left on the page at the beginning of the multiple columns,
a page break will be inserted before the multiple columns.
Depending on the number of lines of the preface text, you might want to Depending on the number of lines of the preface text, you might want to
change this value. change this space.
It is determined by inserting the command This is done by inserting the optional parameter
\end_layout \family sans
Space before page break
\family default
behind the preface.
There insert the amount of space like e.
\begin_inset space \thinspace{}
\end_inset
\begin_layout Standard g.
\begin_inset space \space{}
\end_inset
\series bold
\lang english
][number
\backslash
baselineskip
\end_layout
\begin_layout Standard \begin_inset Quotes eld
\end_inset
\lang english 5cm
as TeX Code behind the preface definition but before the final \begin_inset Quotes erd
\series bold \end_inset
]{
\series default
command.
\emph on .
number
\emph default
is hereby the number of text lines.
In this example the space is set to 7 In this example the space is set to 7
\begin_inset space ~ \begin_inset space ~
\end_inset \end_inset
text lines: text lines by using
\begin_inset Quotes eld
\end_inset
7
\backslash
baselineskip
\begin_inset Quotes erd
\end_inset
(where the command
\series bold
\backslash
baselineskip
\series default
needs to be inserted as TeX code):
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
\lang english
2 2
\begin_inset ERT \begin_inset Argument post:1
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
}[ \lang english
\end_layout
\end_inset
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -21193,12 +21143,22 @@ status collapsed
\end_inset \end_inset
\end_layout
\end_inset
\begin_inset Argument post:2
status open
\begin_layout Plain Layout
7
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
][7
\backslash \backslash
baselineskip baselineskip
\end_layout \end_layout
@ -21206,12 +21166,6 @@ baselineskip
\end_inset \end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
]{
\end_layout \end_layout
\end_inset \end_inset
@ -21327,8 +21281,6 @@ multicolsep}{2.5cm}
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
\lang english
2 2
\end_layout \end_layout
@ -21385,8 +21337,6 @@ setlength
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
\lang english
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -21453,8 +21403,6 @@ cm:
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
\lang english
\begin_inset ERT \begin_inset ERT
status open status open
@ -21473,8 +21421,6 @@ columnsep}{3cm}
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
\lang english
2 2
\end_layout \end_layout
@ -21505,8 +21451,6 @@ My observations of No.
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
\lang english
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -21565,8 +21509,6 @@ pt wide.
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
\lang english
\begin_inset ERT \begin_inset ERT
status open status open
@ -21585,8 +21527,6 @@ columnseprule}{2pt}
\end_layout \end_layout
\begin_layout Begin Multiple Columns \begin_layout Begin Multiple Columns
\lang english
2 2
\end_layout \end_layout
@ -21693,8 +21633,6 @@ The Holy War
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
\lang english
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed

View File

@ -2,12 +2,19 @@
#DescriptionBegin #DescriptionBegin
#Adds 2 styles to begin and end text in multiple columns. #Adds 2 styles to begin and end text in multiple columns.
#The begin style contains the number of columns, the end style must be kept empty. #The begin style contains the number of columns, the end style must be kept empty.
#See the Additional manual for a detailed description of multiple columns. #See the Additional manual, section "Multiple Text Columns", for a detailed
#description of multiple columns.
#DescriptionEnd #DescriptionEnd
#Author: Uwe Stöhr #Author: Uwe Stöhr
Format 43 Format 43
AddToPreamble
% used for multiple text columns
\usepackage{multicol}
EndPreamble
Style "Begin Multiple Columns" Style "Begin Multiple Columns"
Category MainText Category MainText
Margin First_Dynamic Margin First_Dynamic
@ -16,8 +23,14 @@ Style "Begin Multiple Columns"
LabelSep xx LabelSep xx
LatexName begin{multicols} LatexName begin{multicols}
LabelString "---Begin Multiple Columns---" LabelString "---Begin Multiple Columns---"
#OptionalArgs 2 Argument post:1
#RequiredArgs 1 LabelString "Preface"
Tooltip "An optional preface"
EndArgument
Argument post:2
LabelString "Space before page break"
Tooltip "Free space that needs to be on the page to start the multiple columns on this page"
EndArgument
KeepEmpty 1 KeepEmpty 1
ParSkip 0 ParSkip 0
TopSep 0 TopSep 0
@ -29,14 +42,12 @@ Style "Begin Multiple Columns"
LabelFont LabelFont
Color Green Color Green
EndFont EndFont
Preamble
\usepackage{multicol}
EndPreamble
End End
Style "End Multiple Columns" Style "End Multiple Columns"
CopyStyle "Begin Multiple Columns" CopyStyle "Begin Multiple Columns"
LatexName end{multicols} LatexName end{multicols}
LabelString "---End Multiple Columns---" LabelString "---End Multiple Columns---"
ResetArgs 1
End End