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. – Pieter van Oostrum Nov 9 '16 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? – Pieter van Oostrum Nov 9 '16 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? – Carmen González Nov 9 '16 at 14:02
  • I have a language question, so maybe off-topic: Why do you have 'procedimento' in singular and 'experimentais' in plural? – Pieter van Oostrum Nov 9 '16 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. – Carmen González Nov 9 '16 at 20:20

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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