I've defined a C++
symbol in latex as \CC
, which works fine:
\newcommand{\CC}{C\nolinebreak\hspace{-.05em}\raisebox{.4ex}{\tiny\bf +}\nolinebreak\hspace{-.10em}\raisebox{.4ex}{\tiny\bf +}}
However, I'd also like to include it in my index. I'm currently just using \index{\CC}
, but this puts the entry for C++
at the start of the index (presumably because it's a symbol):
I'd like to instead preserve the alphabetical order of the C in the index. How can I achieve this?
\index{C++@\CC}