# Higher levet at Index with imakeidx package?

I have a problem about make higher level at Index with imakeidx package , as far as know Index with imakeidx package have chapter level. You can see my MWE :

\documentclass[a4paper]{book}
\usepackage{imakeidx}
\makeindex[title=What?,intoc]

\usepackage{hyperref}

\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\chapter{A}
a\index{a}
\backmatter
\printindex
\end{document}


How to change from chapter level to part level ?

• Instead of title=?, add \indexsetup{level=\part}. – Werner Oct 8 '14 at 5:55
• @Werner , ok it's very perfect , – Hirwanto Oct 8 '14 at 6:42
• @Werner, one question again, How to change from glossary level to chapter level ? – Hirwanto Oct 8 '14 at 8:00
• What is "glossary level"? Are you interested in making the glossary also become a \part? – Werner Oct 8 '14 at 14:04
• @Yes, I interested in making the glossary also became a \part. – Hirwanto Oct 16 '14 at 3:35