How can I organize the index by page number? When I do my index first appears the last command I made (\index {key}) and then it gets all disorganized. Is there no command that automatically organizes me the index per page?enter image description here

  • 1
    Do you mean one index at the end of the document, sorted by page number, rather than by page? Usually, the purpose of the index is to allow you to search a word or term and then to find the page number where it occurs. That's the reason they are sorted alphabetically. Nov 9, 2016 at 13:53
  • Or are you confusing the Index with the Table of Contents, as in Portuguese the Table of Contents is also called Indice? Nov 9, 2016 at 13:56
  • @PietvanOostrum Sorry, yes in portuguese is called index. I want a table of contents at the beginning of the document organized by the page number in ascending order. How can I make my table of contents? Nov 9, 2016 at 14:02
  • I have a language question, so maybe off-topic: Why do you have 'procedimento' in singular and 'experimentais' in plural? Nov 9, 2016 at 14:13
  • @PietvanOostrum "Procedimento" is singular but my subject in sentence is "montagem e procedimento" and both of them are "experimentais". Needless to say "montagem experimental e procedimento experimental". It's more easy. Nov 9, 2016 at 20:20

1 Answer 1


The Table of Contents is made from the \chapter, \section etc. titles.

So you would say for example:

\chapter{Descrição da montagem...}


\section{Descrição da montagem...}

etc. depending on whether this is an article, report or book (or any other document class). And then in the beginning of the document, you use


You would have to run LateX at least twice.

You must log in to answer this question.

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