On 07/07/2011 4:53 PM, Richard Opheim wrote:
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. On Wed, Jul 6, 2011 at 1:55 PM, Michael Joyner<[email protected]> wrote:In LyX: goto Help -> Specific Manuals -> Multicolumn Manual On Wed, Jul 6, 2011 at 2:59 PM, Richard Opheim<[email protected]> wrote: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
It appears that you did not put \usepackage{multicol} in Document > Settings > Preamble
-- Julien
