This question already has an answer here:

I am compiling a text index of a large volume, with the help of imakeidx because I have two separate indexes. For some reason, entries in footnotes result in separate listing from entries in the main text. See the following example:

\makeindex[name=texts,title=Texts,columns=3,options=-s mystyle -c -l] 



The result is two entries of 3.28, which should have been combined into one, because the first entry has an unexplained space between \textbf and {Alphabet}. How can I avoid this:


  \item \textbf {Alphabet}
  \subitem 3.28, 1
  \item \textbf{Alphabet}
  \subitem 3.28, 1


marked as duplicate by egreg, lockstep, Mensch, barbara beeton, Werner Mar 28 '13 at 16:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • @egreg Oh I'll move my answer there then:-) – David Carlisle Mar 28 '13 at 15:49
  • 2
    I've marked the question as duplicate; if the answers there are not clear or helpful for the problem at hand, please make us know. This is not a judgment of your question, just a way to keep the site as informative as possible, without spreading information across various questions/answers. – egreg Mar 28 '13 at 16:01
  • Did not realise that, thanks, answers very helpful. – user19544 Mar 28 '13 at 16:41