Re: How to make a single list environment

2009-03-18 Thread Doug Laidlaw
On Wednesday 18 March 2009 7:49:06 am Guenter Milde wrote:
 On 2009-03-17, Steve Litt wrote:
  I want to make a clone of the Itemize environment, only with narrower
  spacing.

 ...

  What's the correct way to do this?

 a) if you want vertical space for separating paragraphs, use the
'parskip' package and not the LyX GUI setting (there is a bugreport
about this on bugzilla).

 b) use a LaTeX package that provides for this, e.g. 'enumitem'.

Hint: search for the LyX module for enumitem on wiki.lyx.org.

 Günter

I have a bulleted list under KOMA-Script.  It is double-spaced.  It would look 
better either at 1.5 spacing or single spacing but indented.  Is that the 
same issue?

Doug.


Re: How to make a single list environment

2009-03-18 Thread Guenter Milde
On 2009-03-18, Doug Laidlaw wrote:

 I have a bulleted list under KOMA-Script.  It is double-spaced.  It
 would look better either at 1.5 spacing or single spacing but indented.
 Is that the same issue?

If you have ticked DocumentSettings Text format: Separate paragraphs
by (*) vertical space the answer is probably yes.

Try with (*) indent instead. Or try inserting \usepackage{parskip} in the
LaTeX preamble.

Günter




Re: How to make a single list environment SOLVED

2009-03-18 Thread Steve Litt
On Tuesday 17 March 2009 04:49:06 pm Guenter Milde wrote:
 On 2009-03-17, Steve Litt wrote:
  I want to make a clone of the Itemize environment, only with narrower
  spacing.

 ...

  What's the correct way to do this?

 a) if you want vertical space for separating paragraphs, use the
'parskip' package and not the LyX GUI setting (there is a bugreport
about this on bugzilla).

 b) use a LaTeX package that provides for this, e.g. 'enumitem'.

Hint: search for the LyX module for enumitem on wiki.lyx.org.

 GÃŧnter

Thanks Guenter,

I didn't describe my problem right. The entire problem was I wanted one single 
environment to do the job of both \list and \item. I now realize that's not 
possible in LaTeX, and only using a special LyX keyword makes that possible.

The solution is in LyX, not in LaTeX. The solution in LyX is to use this:

LatexType Item_Environment

My problem is I had been using the following LyX grammar:

LatexType Environment

Using just plain Environment makes happen just what I experienced -- only 
the first item gets a bullet. The Item_Environment keyword makes LyX insert 
an \item in each paragraph. Too cool! Developers, thanks for that 
convenience -- otherwise I'd need to use an item environment nested inside a 
list environment, and nobody wants that.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: How to make a single list environment

2009-03-18 Thread Doug Laidlaw
On Wednesday 18 March 2009 7:49:06 am Guenter Milde wrote:
 On 2009-03-17, Steve Litt wrote:
  I want to make a clone of the Itemize environment, only with narrower
  spacing.

 ...

  What's the correct way to do this?

 a) if you want vertical space for separating paragraphs, use the
'parskip' package and not the LyX GUI setting (there is a bugreport
about this on bugzilla).

 b) use a LaTeX package that provides for this, e.g. 'enumitem'.

Hint: search for the LyX module for enumitem on wiki.lyx.org.

 Günter

I have a bulleted list under KOMA-Script.  It is double-spaced.  It would look 
better either at 1.5 spacing or single spacing but indented.  Is that the 
same issue?

Doug.


Re: How to make a single list environment

2009-03-18 Thread Guenter Milde
On 2009-03-18, Doug Laidlaw wrote:

 I have a bulleted list under KOMA-Script.  It is double-spaced.  It
 would look better either at 1.5 spacing or single spacing but indented.
 Is that the same issue?

If you have ticked DocumentSettings Text format: Separate paragraphs
by (*) vertical space the answer is probably yes.

Try with (*) indent instead. Or try inserting \usepackage{parskip} in the
LaTeX preamble.

Günter




Re: How to make a single list environment SOLVED

2009-03-18 Thread Steve Litt
On Tuesday 17 March 2009 04:49:06 pm Guenter Milde wrote:
 On 2009-03-17, Steve Litt wrote:
  I want to make a clone of the Itemize environment, only with narrower
  spacing.

 ...

  What's the correct way to do this?

 a) if you want vertical space for separating paragraphs, use the
'parskip' package and not the LyX GUI setting (there is a bugreport
about this on bugzilla).

 b) use a LaTeX package that provides for this, e.g. 'enumitem'.

Hint: search for the LyX module for enumitem on wiki.lyx.org.

 GÃŧnter

Thanks Guenter,

I didn't describe my problem right. The entire problem was I wanted one single 
environment to do the job of both \list and \item. I now realize that's not 
possible in LaTeX, and only using a special LyX keyword makes that possible.

The solution is in LyX, not in LaTeX. The solution in LyX is to use this:

LatexType Item_Environment

My problem is I had been using the following LyX grammar:

LatexType Environment

Using just plain Environment makes happen just what I experienced -- only 
the first item gets a bullet. The Item_Environment keyword makes LyX insert 
an \item in each paragraph. Too cool! Developers, thanks for that 
convenience -- otherwise I'd need to use an item environment nested inside a 
list environment, and nobody wants that.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: How to make a single list environment

2009-03-18 Thread Doug Laidlaw
On Wednesday 18 March 2009 7:49:06 am Guenter Milde wrote:
> On 2009-03-17, Steve Litt wrote:
> > I want to make a clone of the Itemize environment, only with narrower
> > spacing.
>
> ...
>
> > What's the correct way to do this?
>
> a) if you want vertical space for separating paragraphs, use the
>'parskip' package and not the LyX GUI setting (there is a bugreport
>about this on bugzilla).
>
> b) use a LaTeX package that provides for this, e.g. 'enumitem'.
>
>Hint: search for the LyX module for enumitem on wiki.lyx.org.
>
> Günter

I have a bulleted list under KOMA-Script.  It is double-spaced.  It would look 
better either at 1.5 spacing or single spacing but indented.  Is that the 
same issue?

Doug.


Re: How to make a single list environment

2009-03-18 Thread Guenter Milde
On 2009-03-18, Doug Laidlaw wrote:

> I have a bulleted list under KOMA-Script.  It is double-spaced.  It
> would look better either at 1.5 spacing or single spacing but indented.
> Is that the same issue?

If you have ticked "Document>Settings Text format: Separate paragraphs
by (*) vertical space" the answer is "probably yes".

Try with "(*) indent" instead. Or try inserting \usepackage{parskip} in the
LaTeX preamble.

Günter




Re: How to make a single list environment

2009-03-18 Thread Steve Litt
On Tuesday 17 March 2009 04:49:06 pm Guenter Milde wrote:
> On 2009-03-17, Steve Litt wrote:
> > I want to make a clone of the Itemize environment, only with narrower
> > spacing.
>
> ...
>
> > What's the correct way to do this?
>
> a) if you want vertical space for separating paragraphs, use the
>'parskip' package and not the LyX GUI setting (there is a bugreport
>about this on bugzilla).
>
> b) use a LaTeX package that provides for this, e.g. 'enumitem'.
>
>Hint: search for the LyX module for enumitem on wiki.lyx.org.
>
> GÃŧnter

Thanks Guenter,

I didn't describe my problem right. The entire problem was I wanted one single 
environment to do the job of both \list and \item. I now realize that's not 
possible in LaTeX, and only using a special LyX keyword makes that possible.

The solution is in LyX, not in LaTeX. The solution in LyX is to use this:

LatexType Item_Environment

My problem is I had been using the following LyX grammar:

LatexType Environment

Using just plain "Environment" makes happen just what I experienced -- only 
the first item gets a bullet. The Item_Environment keyword makes LyX insert 
an \item in each paragraph. Too cool! Developers, thanks for that 
convenience -- otherwise I'd need to use an item environment nested inside a 
list environment, and nobody wants that.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



How to make a single list environment

2009-03-17 Thread Steve Litt
Hi all,

I want to make a clone of the Itemize environment, only with narrower spacing. 
After didlling around with some Itemize LaTeX found in non-book environments, 
I figured I'd just roll my own. I already know how to make a 2 environment 
list, with the outer environment defining the list, and each instance of the 
inner environment defining one item.

That would be just fine in LaTeX, but it's inconvenient in LyX. So I'm trying 
to make something like Itemize, which both creates the list and makes each 
paragraph an item. The following simple LaTeX came dang close to working:

\newcommand*{\starlabel}{*}
% ### Vertically denser than Itemize Outline ###
\newenvironment{outlineL}{
\list{}{
\let\makelabel\starlabel
\setlength\parsep{-2pt}
\setlength\labelsep{0.2in}
}

\item[]
}{
\endlist
}


The preceding is close but no cigar, because it prints the star only on the 
first item of each list or sublist, as shown in the attached graphic. I 
experimented with putting the star in the first arg of the list, nothing 
showed up. I put it in the squarebrackets following item, no joy.

What's the correct way to do this?

Thanks

Steve Litt
Recession Relief Package
http://www.recession-relief.US



test.pdf
Description: Adobe PDF document


Re: How to make a single list environment

2009-03-17 Thread Guenter Milde
On 2009-03-17, Steve Litt wrote:

 I want to make a clone of the Itemize environment, only with narrower
 spacing. 
...

 What's the correct way to do this?

a) if you want vertical space for separating paragraphs, use the
   'parskip' package and not the LyX GUI setting (there is a bugreport
   about this on bugzilla).
   
b) use a LaTeX package that provides for this, e.g. 'enumitem'.
   
   Hint: search for the LyX module for enumitem on wiki.lyx.org.

Günter



How to make a single list environment

2009-03-17 Thread Steve Litt
Hi all,

I want to make a clone of the Itemize environment, only with narrower spacing. 
After didlling around with some Itemize LaTeX found in non-book environments, 
I figured I'd just roll my own. I already know how to make a 2 environment 
list, with the outer environment defining the list, and each instance of the 
inner environment defining one item.

That would be just fine in LaTeX, but it's inconvenient in LyX. So I'm trying 
to make something like Itemize, which both creates the list and makes each 
paragraph an item. The following simple LaTeX came dang close to working:

\newcommand*{\starlabel}{*}
% ### Vertically denser than Itemize Outline ###
\newenvironment{outlineL}{
\list{}{
\let\makelabel\starlabel
\setlength\parsep{-2pt}
\setlength\labelsep{0.2in}
}

\item[]
}{
\endlist
}


The preceding is close but no cigar, because it prints the star only on the 
first item of each list or sublist, as shown in the attached graphic. I 
experimented with putting the star in the first arg of the list, nothing 
showed up. I put it in the squarebrackets following item, no joy.

What's the correct way to do this?

Thanks

Steve Litt
Recession Relief Package
http://www.recession-relief.US



test.pdf
Description: Adobe PDF document


Re: How to make a single list environment

2009-03-17 Thread Guenter Milde
On 2009-03-17, Steve Litt wrote:

 I want to make a clone of the Itemize environment, only with narrower
 spacing. 
...

 What's the correct way to do this?

a) if you want vertical space for separating paragraphs, use the
   'parskip' package and not the LyX GUI setting (there is a bugreport
   about this on bugzilla).
   
b) use a LaTeX package that provides for this, e.g. 'enumitem'.
   
   Hint: search for the LyX module for enumitem on wiki.lyx.org.

Günter



How to make a single list environment

2009-03-17 Thread Steve Litt
Hi all,

I want to make a clone of the Itemize environment, only with narrower spacing. 
After didlling around with some Itemize LaTeX found in non-book environments, 
I figured I'd just roll my own. I already know how to make a 2 environment 
list, with the outer environment defining the list, and each instance of the 
inner environment defining one item.

That would be just fine in LaTeX, but it's inconvenient in LyX. So I'm trying 
to make something like Itemize, which both creates the list and makes each 
paragraph an item. The following simple LaTeX came dang close to working:

\newcommand*{\starlabel}{*}
% ### Vertically denser than Itemize Outline ###
\newenvironment{outlineL}{
\list{}{
\let\makelabel\starlabel
\setlength\parsep{-2pt}
\setlength\labelsep{0.2in}
}

\item[]
}{
\endlist
}


The preceding is close but no cigar, because it prints the star only on the 
first item of each list or sublist, as shown in the attached graphic. I 
experimented with putting the star in the first arg of the list, nothing 
showed up. I put it in the squarebrackets following item, no joy.

What's the correct way to do this?

Thanks

Steve Litt
Recession Relief Package
http://www.recession-relief.US



test.pdf
Description: Adobe PDF document


Re: How to make a single list environment

2009-03-17 Thread Guenter Milde
On 2009-03-17, Steve Litt wrote:

> I want to make a clone of the Itemize environment, only with narrower
> spacing. 
...

> What's the correct way to do this?

a) if you want vertical space for separating paragraphs, use the
   'parskip' package and not the LyX GUI setting (there is a bugreport
   about this on bugzilla).
   
b) use a LaTeX package that provides for this, e.g. 'enumitem'.
   
   Hint: search for the LyX module for enumitem on wiki.lyx.org.

Günter