LyXAlter Column Widths in Lyx

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
mfrederick
Posts: 2
Joined: Wed Oct 08, 2008 5:00 pm

Alter Column Widths in Lyx

Post by mfrederick »

Hi

I would like to create a two-column document in Lyx and adjust the width/separation of the columns (left, right, etc.). I don't really care how I do it as long as it works.

I have tried:
Documents/Settings/Text Layout/Two Column Document - Tick

But there seems to be no facility for altering the column width/separation.

I have also tried inserting using a TeX code box with:

\begin{multicols}{2}
\setlength{\columnsep}{.25in}

and then at the end

\end{multicols}{2}

It all works without errors, except that adjusting the value for the column separation has no effect on the column separation. Does anyone have any ideas, please? Just when I was falling in love with Lyx too...

Thanks

Mark

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Re: Alter Column Widths in Lyx

Post by Stefan Kottwitz »

Hi Mark

you were on the right way. After choosing twocolumn layout in the document settings just write that \setlength line into the document preamble, also in document settings. This should be enough.

Stefan
LaTeX.org admin
mfrederick
Posts: 2
Joined: Wed Oct 08, 2008 5:00 pm

Re: Alter Column Widths in Lyx

Post by mfrederick »

Hi Stefan

Thanks very much indeed! That works like a dream! :)

Now I can continue singing Lyx's praises!

All the best

Mark
Post Reply