Re: initial enumerate counter value

2000-10-15 Thread Dekel Tsur

On Fri, Oct 13, 2000 at 04:52:37PM -0400, Lior Silberman wrote:
 Hello,
 
 I'd like to have an enumerate environment, starting the count from 5
 (rather than 1). The LaTeX effect I'd like to have is:
 
 \begin{enumerate}
 \setcounter{enumi}{5}
 \item My First Item
 \item My Second Item
 \end{enumerate}
 
 But in LyX, if I put ERT in the "Enumerate" enivronment, it's put into the
 first item and not before it, while if I put it before the start of the
 environment it has no effect.

Put [5.]\setcounter{enumi}{5} in latex mode at the beginning of the first
item.

Note that if you just want to suspend an enumerate (i.e., you have items
1,2,3,4 then some text and then items 5,6,7,...) then you should use the
mdwlist package. See the attached file.


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass article
\begin_preamble
\usepackage{mdwlist}
\end_preamble
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\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 Enumerate

Item 1
\layout Enumerate

Item 2
\layout Enumerate

Item 3
\layout Enumerate

Item 4
\begin_deeper 
\layout Standard


\latex latex 

\backslash 
suspend{enumerate}
\latex default 
This is a text outside the enumerate.
 This is a text outside the enumerate.
 This is a text outside the enumerate.
\layout Standard

It may contain more than one paragraph.
\latex latex 

\backslash 
resume{enumerate}
\end_deeper 
\layout Enumerate

Item 5
\layout Enumerate

Item 6
\the_end



Re: initial enumerate counter value

2000-10-15 Thread Dekel Tsur

On Fri, Oct 13, 2000 at 04:52:37PM -0400, Lior Silberman wrote:
 Hello,
 
 I'd like to have an enumerate environment, starting the count from 5
 (rather than 1). The LaTeX effect I'd like to have is:
 
 \begin{enumerate}
 \setcounter{enumi}{5}
 \item My First Item
 \item My Second Item
 \end{enumerate}
 
 But in LyX, if I put ERT in the "Enumerate" enivronment, it's put into the
 first item and not before it, while if I put it before the start of the
 environment it has no effect.

Put [5.]\setcounter{enumi}{5} in latex mode at the beginning of the first
item.

Note that if you just want to suspend an enumerate (i.e., you have items
1,2,3,4 then some text and then items 5,6,7,...) then you should use the
mdwlist package. See the attached file.


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass article
\begin_preamble
\usepackage{mdwlist}
\end_preamble
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\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 Enumerate

Item 1
\layout Enumerate

Item 2
\layout Enumerate

Item 3
\layout Enumerate

Item 4
\begin_deeper 
\layout Standard


\latex latex 

\backslash 
suspend{enumerate}
\latex default 
This is a text outside the enumerate.
 This is a text outside the enumerate.
 This is a text outside the enumerate.
\layout Standard

It may contain more than one paragraph.
\latex latex 

\backslash 
resume{enumerate}
\end_deeper 
\layout Enumerate

Item 5
\layout Enumerate

Item 6
\the_end



Re: initial enumerate counter value

2000-10-15 Thread Dekel Tsur

On Fri, Oct 13, 2000 at 04:52:37PM -0400, Lior Silberman wrote:
> Hello,
> 
> I'd like to have an enumerate environment, starting the count from 5
> (rather than 1). The LaTeX effect I'd like to have is:
> 
> \begin{enumerate}
> \setcounter{enumi}{5}
> \item My First Item
> \item My Second Item
> \end{enumerate}
> 
> But in LyX, if I put ERT in the "Enumerate" enivronment, it's put into the
> first item and not before it, while if I put it before the start of the
> environment it has no effect.

Put [5.]\setcounter{enumi}{5} in latex mode at the beginning of the first
item.

Note that if you just want to suspend an enumerate (i.e., you have items
1,2,3,4 then some text and then items 5,6,7,...) then you should use the
mdwlist package. See the attached file.


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass article
\begin_preamble
\usepackage{mdwlist}
\end_preamble
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\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 Enumerate

Item 1
\layout Enumerate

Item 2
\layout Enumerate

Item 3
\layout Enumerate

Item 4
\begin_deeper 
\layout Standard


\latex latex 

\backslash 
suspend{enumerate}
\latex default 
This is a text outside the enumerate.
 This is a text outside the enumerate.
 This is a text outside the enumerate.
\layout Standard

It may contain more than one paragraph.
\latex latex 

\backslash 
resume{enumerate}
\end_deeper 
\layout Enumerate

Item 5
\layout Enumerate

Item 6
\the_end



Re: initial enumerate counter value

2000-10-14 Thread Herbert Voss

Lior Silberman wrote:
 
 Hello,
 
 I'd like to have an enumerate environment, starting the count from 5
 (rather than 1). The LaTeX effect I'd like to have is:
 
 \begin{enumerate}
 \setcounter{enumi}{5}
 \item My First Item
 \item My Second Item
 \end{enumerate}
 
 But in LyX, if I put ERT in the "Enumerate" enivronment, it's put into the
 first item and not before it, while if I put it before the start of the
 environment it has no effect.

from my point od view there is no other way than pure latex code in lyx.

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



Re: initial enumerate counter value

2000-10-14 Thread Herbert Voss

Lior Silberman wrote:
 
 Hello,
 
 I'd like to have an enumerate environment, starting the count from 5
 (rather than 1). The LaTeX effect I'd like to have is:
 
 \begin{enumerate}
 \setcounter{enumi}{5}
 \item My First Item
 \item My Second Item
 \end{enumerate}
 
 But in LyX, if I put ERT in the "Enumerate" enivronment, it's put into the
 first item and not before it, while if I put it before the start of the
 environment it has no effect.

from my point od view there is no other way than pure latex code in lyx.

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



Re: initial enumerate counter value

2000-10-14 Thread Herbert Voss

Lior Silberman wrote:
> 
> Hello,
> 
> I'd like to have an enumerate environment, starting the count from 5
> (rather than 1). The LaTeX effect I'd like to have is:
> 
> \begin{enumerate}
> \setcounter{enumi}{5}
> \item My First Item
> \item My Second Item
> \end{enumerate}
> 
> But in LyX, if I put ERT in the "Enumerate" enivronment, it's put into the
> first item and not before it, while if I put it before the start of the
> environment it has no effect.

from my point od view there is no other way than pure latex code in lyx.

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



initial enumerate counter value

2000-10-13 Thread Lior Silberman

Hello,

I'd like to have an enumerate environment, starting the count from 5
(rather than 1). The LaTeX effect I'd like to have is:

\begin{enumerate}
\setcounter{enumi}{5}
\item My First Item
\item My Second Item
\end{enumerate}

But in LyX, if I put ERT in the "Enumerate" enivronment, it's put into the
first item and not before it, while if I put it before the start of the
environment it has no effect.

Is there any solution short of manually editing the LaTeX output?

Thanks,
Lior.




initial enumerate counter value

2000-10-13 Thread Lior Silberman

Hello,

I'd like to have an enumerate environment, starting the count from 5
(rather than 1). The LaTeX effect I'd like to have is:

\begin{enumerate}
\setcounter{enumi}{5}
\item My First Item
\item My Second Item
\end{enumerate}

But in LyX, if I put ERT in the "Enumerate" enivronment, it's put into the
first item and not before it, while if I put it before the start of the
environment it has no effect.

Is there any solution short of manually editing the LaTeX output?

Thanks,
Lior.




initial enumerate counter value

2000-10-13 Thread Lior Silberman

Hello,

I'd like to have an enumerate environment, starting the count from 5
(rather than 1). The LaTeX effect I'd like to have is:

\begin{enumerate}
\setcounter{enumi}{5}
\item My First Item
\item My Second Item
\end{enumerate}

But in LyX, if I put ERT in the "Enumerate" enivronment, it's put into the
first item and not before it, while if I put it before the start of the
environment it has no effect.

Is there any solution short of manually editing the LaTeX output?

Thanks,
Lior.