Hi... thanks for the below, but it has the same sorting problem that I came across. If you make the body of the document the following, you'll get the same behavior that I saw:
\index{gggg}
\index{\emph{dddd} \colorbox{blue}{\color{mycolor}eeee} {\texttt{ffff}}}ddd,eee,fff.
\index{\emph{aaaa} \colorbox{blue}{\color{mycolor}bbbb} {\texttt{cccc}}}aaa,bbb,ccc.
\index{ffff}
In the index, you'll get the following:
1) the line beginning with 'aaaa'
2) the line beginning with 'dddd'
3) a space in the index
4) 'ffff'
5) a space in the index
6) 'gggg'
The generated index file looks like this:
\begin{theindex}
\item \emph {aaaa} \colorbox {blue}{\color {mycolor}bbbb} {\texttt {cccc}}, 1
\item \emph {dddd} \colorbox {blue}{\color {mycolor}eeee} {\texttt {ffff}}, 1
\indexspace
\item ffff, 1
\indexspace
\item gggg, 1
\end{theindex}
Is there a way to get the index sorted one way and displayed another?
Thanks...
James
> Date: Sat, 29 Mar 2008 15:17:57 -0700
> Subject: Re: colored or varied font index entries
> From:
vne...@gmail.com> To:
latexus...@googlegroups.com