Search found 2 matches

by lances
Thu Jun 25, 2009 10:14 am
Forum: Text Formatting
Topic: Using color in the label in the listing environment
Replies: 5
Views: 13239

Re: Using color in the label in the listing environment

Is it possible to do this without using enumitem package?
by lances
Thu Jun 25, 2009 2:58 am
Forum: Text Formatting
Topic: Using color in the label in the listing environment
Replies: 5
Views: 13239

Using color in the label in the listing environment

Greetings,

Suppose I have a following list:

\begin{enumerate}
\item ABC
\item DEF
\item GHI
\end{enumerate}

The output is

1. ABC
2. DEF
3. GHI

Now I would like to have these labels (1,2,3) colored in blue, for example, while keeping the color of the text (ABC, DEF, GHI) as it is. How can I do ...