TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the glossaries package, how can I make the glossary print the entries by order of appearance?

Some context: I'm using the glossaries package to generate a symbol index, and I'm interested to see whether the order in which I introduce the notation makes sense.

share|improve this question
up vote 12 down vote accepted

I suspect the package option sort=use will do what you're after, i.e. write \usepackage[sort=use]{glossaries}. From the manual:


This is a ⟨key⟩=⟨value⟩ option where the option can only have one of the following values:

  • standard: entries are sorted according to the value of the sort key used in \newglossaryentry (if present) or the name key (if sort key is missing);
  • def: entries are sorted in the order in which they were defined (the sort key in \newglossaryentry is ignored);
  • use: entries are sorted according to the order in which they are used in the document (the sort key in \newglossaryentry is ignored).

The default is sort=standard.

share|improve this answer
Thanks! I was using version 2, which didn't support this option yet. I upgraded to version 3 and it works as expected. – Ohad Kammar Oct 15 '11 at 20:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.