Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'd like to use, for this specific instance, letter style enumeration [ like a) b) c) ] . I realize that I can nest one enumerate environment in another and the style will change, but I don't want a dangling "1." from the topmost enumerate environment.

share|improve this question

3 Answers 3

up vote 3 down vote accepted

Write into Document->Settings->Preamble:

\usepackage{enumitem}
\setenumerate{label=A)}
\setenumerate[2]{label=a)}

For deeper values use also [3], [4]. Inside LyX you will still see the 1. If you want to change this too, then you'll have to rewrite your LyX layout file.

share|improve this answer
    
Thanks for the answer. Is there a way to have these settings apply to a specific enumerate environment? For example, in one part of the document I want the highest level symbol to be letters, and in another part of the document I want the highest level symbol to be numbers. –  Gus Mar 23 '11 at 15:42
    
yes @Gus, see my answer. you'll need to use \renewcommand repeatedly. –  Sparkler Nov 21 at 22:40

in preamble

\renewcommand{\theenumi}{\alph{enumi}} \renewcommand{\theenumii}{\arabic{enumii}} \renewcommand{\labelenumii}{\theenumii.}

share|improve this answer

Short answer

  • To get a), add this to the preamble: \renewcommand{\labelenumi}{\alph{enumi})}
  • To get [a], add this to the preamble: \renewcommand{\labelenumi}{[\alph{enumi}]}

If you don't want the change to occur globally, then add this code right before the enumeration (and resotre right after, if needed).

Long answer

In the preamble, use the \renewcommand{indicator}{format} syntax for each level of heirarchy you would like to change (4 level max. are supported), where indicator is either of the following label indicators:

  1. \labelenumi -- 1st level
  2. \labelenumii -- 2nd level
  3. \labelenumiii -- 3rd level
  4. \labelenumiv -- 4th level

and format is a macro consisting of enumerators and styles.

The style can be any of the following:

  • \arabic{enumerator}, for 1, 2, 3, ...
  • \alph{enumerator}, for a, b, c, ...
  • \Alph{enumerator}, for A, B, C, ...
  • \roman{enumerator}, for i, ii, iii, ...
  • \Roman{enumerator}, for I, II, III, ...

The enumerator can be any of the following:

  1. enumi -- 1st level
  2. enumii -- 2nd level
  3. enumiii -- 3rd level
  4. enumiv -- 4th level

I personally prefer the 1.4.2 a) repeating format, for which you need:

\renewcommand{\labelenumi}{\arabic{enumi}.}
\renewcommand{\labelenumii}{\labelenumi\arabic{enumii}.}
\renewcommand{\labelenumiii}{\labelenumii\arabic{enumiii}}
\renewcommand{\labelenumiv}{\alph{enumiv})}
share|improve this answer

Your Answer

 
discard

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.