MakeIndex, Nomenclature, Glossaries and AcronymsHow to make the index appear with letters (A, B, C, ...)

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Post Reply
lancsk
Posts: 1
Joined: Fri Dec 31, 2010 8:34 pm

How to make the index appear with letters (A, B, C, ...)

Post by lancsk »

I am trying to make a index with the letters A, B, C etc as follows;

A

Apple
April

B

Beach
Bridge

like that. I am using makeindex. Please help:)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
gwada74
Posts: 42
Joined: Fri Nov 26, 2010 5:28 pm

Re: How to make the index appear with letters (A, B, C, ...)

Post by gwada74 »

Hi, I had the same concern, I looked on internet and here is what you should try :

Three compilations are need :
Latex Yourfile.tex
MakeIndex -s YourIndex.ist Yourfile.idx
Latex Yourfile.tex

Yourfile.ist is written as follow :
heading_prefix "{\\bfseries\\hfil "
heading_suffix "\\hfil}\\nopagebreak\n"
headings_flag 1

This should work fine.
Good Luck
Post Reply