Am Don, 2002-03-14 um 23.59 schrieb Bob Gamble:
> Hello,
> 
> Originally, I had a single column paper using the article document
> layout.  I am required to convert this to a two-column layout.  My
> problem is that, when viewed in .dvi, it shows my table of contents and
> bibliography on the same pages as the text of my research paper, even
> though I have page breaks inserted to separate these parts of my paper.

put \usepackage{multicols} in your praeambel; with \begin{multicols}{2}
in ERT you can switch to the two column-layout.
At the end of your document put an \end{multicols}.


> I also need to start the numbering on the first page of the paper itself,
> not on the table of contents page. Everything else about the article
> layout is great.  Any help appreciated.

put \thispagestyle{empty} in RET on the first page (with the TOC). With
\setcounter{page}{0} in RET you can reset the pagenumber to zero.
Have a look to the short lyx-example-file. There a the commands above a
little bit enhanced with the possibility to change the
columnseparator-width.

I hope this helps
Peter
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{multicol}
\newcommand\myColumnSep[1]{%
  \setlength{\columnsep}{#1}}
\newcommand\mymulticols[2]{%
   \myColumnSep{#2}\begin{multicols}{#1}%
   }
\newcommand\multicolsoff{\end{multicols}}     
\end_preamble
\language english
\inputencoding latin1
\fontscheme palatino
\graphics default
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title

Changing between one + X- column
\latex latex 

\backslash 
thanks{this is a short example}
\layout Abstract
\noindent 
Here a short example of changing between one and twocolumn-layout.
 Have a look to the praeambel.
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Standard


\latex latex 

\backslash 
thispagestyle{empty}
\backslash 
setcounter{page}{0}
\backslash 
newpage
\layout Standard


\latex latex 

\backslash 
mymulticols{2}{0.5cm}
\layout Section

Columns
\layout Itemize

with 
\family typewriter 

\backslash 
usepackage{multicol} 
\family default 
you are ready to do it;
\layout Itemize

in the text use the command 
\family typewriter 

\backslash 
mymulticols {#number of colums}{#columnseparator-size}
\family default 
 you switch to your new layout.
\layout Itemize

the command
\family typewriter 
 
\backslash 
multicolsoff
\family default 
 resets to the default value.
\layout Section

Changing the Pagenumber
\layout Itemize

with
\family typewriter 
 
\backslash 
thispagestyle{empty}
\family default 
 you get your page with no numbers displayed.
\layout Itemize


\family typewriter 

\backslash 
setcounter{page}{0}
\family default 
 reset the pagecounter to 0.
\layout Standard


\latex latex 

\backslash 
multicolsoff
\layout Standard
\noindent 
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla 
\layout Standard
\align left 
I hope this helps
\layout Standard
\added_space_top 2cm \align left 
Peter
\the_end

Reply via email to