hey! i am a lyx-starter... however it works quite well. except for a problem with enumeration.
i want to create an enumeration, looking like this
1. xxx
1.1 xxx
2. xxxx
2.1 xxxx
2.2 xx
-> that means an enumeration only consisting of numbers.
but when i create an enumeration with lyx, enumerations have letters in the second level. they look like this
1. xxx
a) xxx
b) xxx
i. xx
how can i avoid letters and put in numbers instead?
thank you VERY MUCH for your help!
LyX ⇒ Problem with enumeration
Problem with enumeration
Hi,
use some of the features of the enumitem package:
use some of the features of the enumitem package:
Code: Select all
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}
\item First item
\begin{enumerate}[label*=\arabic*]
\item First sub item
\end{enumerate}
\end{enumerate}
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
-
- Posts: 2
- Joined: Sun May 09, 2010 12:50 pm
Re: Problem with enumeration
hey, thanks for your answer.
but i have no idea what to do next.
how can I add this enumitem package to lyx?
thanks again!
but i have no idea what to do next.
how can I add this enumitem package to lyx?
thanks again!
Problem with enumeration
No idea; I've never used LyX. Perhaps a LyX user can help you here.monemonemone wrote:...
how can I add this enumitem package to lyx?..
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Problem with enumeration
Try going into Document > Settings, and then under "LaTeX Preamble", add:
It'll still show (a) and (b), etc., in the LyX editor screen, but it should show the right thing when you export to PDF (or DVI or whatever).
Code: Select all
\usepackage{enumitem}
\setenumerate[2]{label*=\arabic*}