Re: Nested enumerate in columns

2004-10-25 Thread Paul Smith
On Sun, 24 Oct 2004 12:35:21 -0700, Kenward Vaughan
<[EMAIL PROTECTED]> wrote:
> > Thanks, Kenward and Eric. According to Herbert's example (for
> > non-nested enumerate environments), one should insert, just before
> > \end{multicols}, the following ERT:
> >
> > \vspace*{\fill}
> >
> > It also seems to improve the aesthetics of the nested enumerate
> > environment.
> 
> Hmm.  Is this to be used on regular enumerations when one has > 1
> column per page?  I put this into some of my exams at various points in
> these nested, multi-columned environments (M/C answers on the exams),
> and saw no change in anything.
> 
> Caveat: I'm no LaTeX guru, but at the other end of the spectrum.  I
> don't even know what it _should_ do.

Kenward,

At the address below, you can find a simple document where an
explanation about \vspace*{\fill} is provided:

http://www.plu.edu/~sklarjk/480j04/lecture4.doc

Regards,

Paul


Re: Nested enumerate in columns

2004-10-24 Thread Kenward Vaughan
On Sun, Oct 24, 2004 at 06:26:25PM +0100, Paul Smith wrote:
> On Sun, 24 Oct 2004 08:51:50 -0700, Kenward Vaughan
> <[EMAIL PROTECTED]> wrote:
> > Use multicol package at the beginning of the first nested item,
> > then the end of the last nested item.
> > 
> > 1. A line of text.
> >   (a) \begin{multicols}{2}First item
> >   (b) 2nd item
> >   (c) 3rd item
> >   (d) 4th item\end{multicols}
> > 2. etc.
> 
> Thanks, Kenward and Eric. According to Herbert's example (for
> non-nested enumerate environments), one should insert, just before
> \end{multicols}, the following ERT:
> 
> \vspace*{\fill}
> 
> It also seems to improve the aesthetics of the nested enumerate
> environment.

Hmm.  Is this to be used on regular enumerations when one has > 1
column per page?  I put this into some of my exams at various points in
these nested, multi-columned environments (M/C answers on the exams),
and saw no change in anything.

Caveat: I'm no LaTeX guru, but at the other end of the spectrum.  I
don't even know what it _should_ do.


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



Re: Nested enumerate in columns

2004-10-24 Thread Paul Smith
On Sun, 24 Oct 2004 08:51:50 -0700, Kenward Vaughan
<[EMAIL PROTECTED]> wrote:
> Use multicol package at the beginning of the first nested item, then
> the end of the last nested item.
> 
> 1. A line of text.
>   (a) \begin{multicols}{2}First item
>   (b) 2nd item
>   (c) 3rd item
>   (d) 4th item\end{multicols}
> 2. etc.

Thanks, Kenward and Eric. According to Herbert's example (for
non-nested enumerate environments), one should insert, just before
\end{multicols}, the following ERT:

\vspace*{\fill}

It also seems to improve the aesthetics of the nested enumerate environment.

Paul


Re: Nested enumerate in columns

2004-10-24 Thread Kenward Vaughan
On Sun, Oct 24, 2004 at 07:31:25AM +0100, Paul Smith wrote:
> Dear All
> 
> Some time ago, Herbert provided here an example for me to achieve the
> following enumerate environment in columns:
> 
> (a) First item;  (c) Third item;
> (c) Second item; (d) Fourth item.
> 
> Now, I am trying to obtain a nested enumerate environment in columns
> as shown bellow:
> 
> 1. A line of text.
>   (a) First item;  (c) Third item;
>   (c) Second item; (d) Fourth item.
> 2. Another line of text.
> 
> Any ideas?

Use multicol package at the beginning of the first nested item, then
the end of the last nested item.

1. A line of text.
  (a) \begin{multicols}{2}First item
  (b) 2nd item
  (c) 3rd item
  (d) 4th item\end{multicols}
2. etc.

HTH,


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



Re: Nested enumerate in columns

2004-10-24 Thread delevaux eric
Hello
See file attached, you'll need multicols package
I got some trouble with this before
I always put the "\begin {multicols}{2}" on an empty standart line wich 
is at the same level as the enumerate which is to be in multicols. 
(clear no ;))
Hope that helps
Eric

Paul Smith wrote:
Dear All
Some time ago, Herbert provided here an example for me to achieve the
following enumerate environment in columns:
(a) First item;  (c) Third item;
(c) Second item; (d) Fourth item.

Now, I am trying to obtain a nested enumerate environment in columns
as shown bellow:
1. A line of text.
  (a) First item;  (c) Third item;
  (c) Second item; (d) Fourth item.
2. Another line of text.

Any ideas?
Thanks in advance,
Paul
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage {multicol}
\title{}
\date{}
\end_preamble
\language frenchb
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 10
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 1.25cm
\topmargin 1cm
\rightmargin 1.25cm
\bottommargin 1.5cm
\headheight 1.5cm
\headsep 0.5cm
\footskip 0.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language swedish
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Enumerate

A line of text
\begin_deeper 
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{multicols}{2}
\end_inset 


\layout Enumerate

first
\layout Enumerate

second
\layout Enumerate

Third
\layout Enumerate

fourth
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
end{multicols}
\end_inset 


\end_deeper 
\layout Enumerate

another line of text
\the_end


Nested enumerate in columns

2004-10-23 Thread Paul Smith
Dear All

Some time ago, Herbert provided here an example for me to achieve the
following enumerate environment in columns:

(a) First item;  (c) Third item;
(c) Second item; (d) Fourth item.

Now, I am trying to obtain a nested enumerate environment in columns
as shown bellow:

1. A line of text.
  (a) First item;  (c) Third item;
  (c) Second item; (d) Fourth item.
2. Another line of text.

Any ideas?

Thanks in advance,

Paul