Simple question: I'm using ieeetran for a very long document that I'm preparing an index for using makeidx. Index entries that include subitems are not indented as expected. I presume this is because ieeetran has their own styling for subsections, but I don't know how to change it just for the index. My MWE:
\documentclass[journal]{ieeetran}
\usepackage{makeidx} \makeindex
\begin{document}
This is a keyword\index{keywords}. But this one is a subkeyword.\index{keywords!subkeyword}
\index{anotherkeyword!andsubentry}
\section{Index}
\printindex
\end{document}
This produces the following result. Notice how the subentries are not indented. Any ideas on easy ways to fix this? Answers are much appreciated. Thank you!
theindex
environment.