TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using enumerate to create an outline that already exists. (As in, I'm copying an existing list, and I get no say in the numbers that are already picked.) My problem is that occasionally the outlines have a fractional value thrown in. One of the sections proceeds like: 1, 2, 2.5, 3.

I tried using \setcounter{enumi}{1.5} before where 2.5 goes, but LaTeX didn't like that at all. This works, but is a little clunky:

\item This is item number 2.5.

Is there a better way to have a decimal value?

share|improve this question
up vote 13 down vote accepted

Use the optional argument:


 \item foo
 \item bar
 \item[(2.5)] foobar
 \item baz

share|improve this answer
smack Yup, that did it. You can even format in there, so I could \item[(2.5)] like I need to. And it doesn't increment the enumi counter, which is nice. – A. R. Diederich Dec 30 '10 at 20:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.