I would like to create a .ist style file to change the layout of my Index. I am using book, hyperref and imakeidx. But I am at lost when it comes to creating the .ist file.
Basically, I would like to have the Index with bold alphabets before a new group of words begin. Something like this:
Index
A
angry
apple
B
ball
beer
My Codes:
\documentclass[11pt,a5paper,twoside]{extbook}
\usepackage{imakeidx}
\usepackage[colorlinks=true]{hyperref}
\makeindex[program=makeindex,columns=2,intoc=true]
\begin{document}
\tableofcontents
\chapter{This is the First Chapter}
She was angry \index{angry} that she wasn't given an apple\index{apple}.
He drank some beer \index{beer} and then played ball \index{ball}.
\printindex
\end{document}