I use
\usepackage{makeidx}
\makeindex
and then I index a word as \index{word}
.
After \printindex
in the Index it is appear as
word, 1
and I want it to appear as
word 1
But I don't know how to make it.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityPrepare a file <main>.mst
, where <main>
stands for the name of your main TeX file, containing
delim_0 " "
delim_1 " "
delim_2 " "
and save it in the same folder containing your main file. For instance, if you have thesis.tex
, you should name the new file as thesis.mst
.
Then running makeindex
will load the file and commas will be removed.
makeindex
, AFAIR they refer to the three possible indexing levels
"\\hspace{2em}"
or "\\qquad"
will be accepted (escaping the backslash is sufficient).