Using imakeidx, let's imagine I have \index{Test} on pages 1 to 4. The output will be :

Test, 1--4.

How can I get this? (f. meaning following):

Test, 1 f.

Here is my code :




\renewcommand*{\alsoname}{V. aussi}


Test \index{Test}

Test \index{Test}

Test \index{Test}

Test \index{Test}


Thanks in advance!

  • 1
    Shouldn't it be "Test, 1ff", i.e. two f and no space? Since "f" denotes the next page and "ff" an undetermined number of following pages.
    – DG'
    Commented Apr 29, 2020 at 15:02
  • @DG' thanks for your answer. To be honest with you this is a translation from french, so we don't really care if it is "f" or "ff" :). The template I am trying to create is supposed to do "Test 1 s." with "s" for "suivant".
    – Guliup
    Commented Apr 29, 2020 at 15:06

1 Answer 1


You need to create a style file, let's call it mystyle.ist, which contains the configuration for the suffixes:

suffix_2p " s"
suffix_3p " s"
suffix_mp " s"

And you have to tell \makeindex to use that file:

\makeindex[options=-s mystyle]

Which gives you the desired result:

enter image description here

  • That's perfect thank you very much !!
    – Guliup
    Commented Apr 29, 2020 at 15:36

You must log in to answer this question.

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