As you can see in the picture, I am adding index entries to my thesis. However, there are some main entries, like probability or random, are not defined or discussed separately. Only the sub-entries probability density function, probability measure, and probability space are defined. The same are true for random element and random variable. I think it is not good to have page numbers after the main entries, which are not defined. Is there a way to remove page number for such entries?


  • Can you please add a minimal example of code?
    – egreg
    Commented Nov 21, 2015 at 13:00
  • Thank you for the answer. Should I still provide a ME now?
    – user565739
    Commented Nov 21, 2015 at 13:09
  • It's always better.
    – egreg
    Commented Nov 21, 2015 at 13:10

1 Answer 1


You just don't have to add \index{probability}:









c\index{probability!density function}



enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .