6

I have used following example_style.ist file for creating index

headings_flag 1

heading_prefix "{ \\bfseries "
heading_suffix "}\\nopagebreak\\\n"

and in the preamble I have added following

\usepackage{imakeidx}
\makeindex[options= -s example_style.ist]

and got out put as

enter image description here

Now the header is in left alinment. But I am in need of that A and B in center.

Is it possible to change A to center?

lockstep
  • 250,273
Seena V
  • 193

1 Answers1

5

Here is

headings_flag 1

heading_prefix "{\\bfseries\\hfil "
heading_suffix "\\hfil}\\nopagebreak\\\n"
touhami
  • 19,520