Discussion:
double column vs. single column text
Richard Opheim
2011-07-06 18:59:42 UTC
Permalink
Hello users.
I use Lyx 1.6.9 Memoir
I'm working on a book that requires some pages to be single column and some
to be double.
So according to something I saw somewhere, I ERTed \begin{multicols}{2} and
\end{multicols} and got the following error message:

LaTex Error: \begin{document} ended by \end{multicols}.

According to something else I read somewhere, I was supposed to insert
\usepackage{multicol} in the document preamble, which I did. Now I get the
following errors:

Missing \begin{document}
Environment multicols undefined
\begin{document} ended by \end{multicols}
Can only be used in preamble.

Can't seem to find any other info on this topic. Does anyone here have a
solution?




Richard Opheim
Michael Joyner
2011-07-06 20:55:54 UTC
Permalink
In LyX: goto Help -> Specific Manuals -> Multicolumn Manual
Post by Richard Opheim
Hello users.
I use Lyx 1.6.9 Memoir
I'm working on a book that requires some pages to be single column and some
to be double.
So according to something I saw somewhere, I ERTed \begin{multicols}{2} and
LaTex Error: \begin{document} ended by \end{multicols}.
According to something else I read somewhere, I was supposed to insert
\usepackage{multicol} in the document preamble, which I did. Now I get the
Missing \begin{document}
Environment multicols undefined
\begin{document} ended by \end{multicols}
Can only be used in preamble.
Can't seem to find any other info on this topic. Does anyone here have a
solution?
Richard Opheim
Richard Opheim
2011-07-07 20:53:51 UTC
Permalink
Following the instructions in Help-Specific Manuals-Multicolumn Manual, I
placed the ERT commands \begin{multicols} {2} and \end{multicols} around a
body of text that I wanted to appear in double columns.
The script doesn't run and the following message appears:

Errors:
LaTex Error: Environment multicols undefined.
LaTex Error: \begin{document} ended by \end{multicols}.

Description:
\begin{multicols}{2}
Your command was ignored, etc.

Now why would my command be ignored?
Attached is a minimal example that reproduces the error.
Post by Michael Joyner
In LyX: goto Help -> Specific Manuals -> Multicolumn Manual
Post by Richard Opheim
Hello users.
I use Lyx 1.6.9 Memoir
I'm working on a book that requires some pages to be single column and
some to be double.
So according to something I saw somewhere, I ERTed \begin{multicols}{2}
LaTex Error: \begin{document} ended by \end{multicols}.
According to something else I read somewhere, I was supposed to insert
\usepackage{multicol} in the document preamble, which I did. Now I get the
Missing \begin{document}
Environment multicols undefined
\begin{document} ended by \end{multicols}
Can only be used in preamble.
Can't seem to find any other info on this topic. Does anyone here have a
solution?
Richard Opheim
--
Richard Opheim
Home: 425-486-5421
Cell: 425-381-9213
Julien Rioux
2011-07-07 21:16:16 UTC
Permalink
Post by Richard Opheim
Following the instructions in Help-Specific Manuals-Multicolumn Manual, I
placed the ERT commands \begin{multicols} {2} and \end{multicols} around a
body of text that I wanted to appear in double columns.
LaTex Error: Environment multicols undefined.
LaTex Error: \begin{document} ended by \end{multicols}.
\begin{multicols}{2}
Your command was ignored, etc.
Now why would my command be ignored?
Attached is a minimal example that reproduces the error.
In LyX: goto Help -> Specific Manuals -> Multicolumn Manual
Post by Richard Opheim
Hello users.
I use Lyx 1.6.9 Memoir
I'm working on a book that requires some pages to be single column and
some to be double.
So according to something I saw somewhere, I ERTed \begin{multicols}{2}
LaTex Error: \begin{document} ended by \end{multicols}.
According to something else I read somewhere, I was supposed to insert
\usepackage{multicol} in the document preamble, which I did. Now I get the
Missing \begin{document}
Environment multicols undefined
\begin{document} ended by \end{multicols}
Can only be used in preamble.
Can't seem to find any other info on this topic. Does anyone here have a
solution?
Richard Opheim
It appears that you did not put \usepackage{multicol} in Document >
Settings > Preamble
--
Julien
Marcelo Acuña
2011-07-07 23:03:29 UTC
Permalink
 This work very well for me. Do you have installed the multicol package?
Marcelo
Richard Opheim
2011-07-08 02:41:49 UTC
Permalink
I have the tools package which includes the file multicol.sty
Post by Marcelo Acuña
Post by Richard Opheim
According to something else I read somewhere,
I was supposed to insert \usepackage{multicol}
This work very well for me.
Do you have installed the multicol package?
Marcelo
--
Richard Opheim
Home: 425-486-5421
Cell: 425-381-9213
Richard Opheim
2011-07-08 23:11:24 UTC
Permalink
OK, I solved the problem. In order to make the &#$%&%* thing work, I had to
position
\usepackage{multicol} to be the first thing in the preamble. Otherwise, it
would give me an error message.
Post by Richard Opheim
I have the tools package which includes the file multicol.sty
Post by Marcelo Acuña
Post by Richard Opheim
According to something else I read somewhere,
I was supposed to insert \usepackage{multicol}
This work very well for me.
Do you have installed the multicol package?
Marcelo
--
Richard Opheim
Home: 425-486-5421
Cell: 425-381-9213
--
Richard Opheim
Home: 425-486-5421
Cell: 425-381-9213
Charlie
2011-07-09 01:26:36 UTC
Permalink
Post by Richard Opheim
OK, I solved the problem. In order to make the &#$%&%* thing work, I
had to position
\usepackage{multicol} to be the first thing in the preamble.
Otherwise, it would give me an error message.
Thanks for sharing that with us Richard. Saves the rest of us
scratching gravel trying to get it to work.

Charlie
--
Registered Linux User:- 329524
***********************************************

Bitter morning: sparrows sitting without necks ....James W. Hackett

***********************************************

Debian GNU/Linux - just the best way to create magic

-----------------------------------------------------
Continue reading on narkive:
Loading...