This question already has an answer here:

I use \section, \subsection on my doc. I insert \section (and \subsection) before this command


that create a table. I have the same block for 3 table. What I obtain are: two table, then the name of section and sub section and, at last, the third table. Why do the name of section and subsection are in the middle of the tabs?

marked as duplicate by campa, Bobyandbob, TeXnician, user121799, Phelype Oleinik Mar 6 '18 at 12:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • ok, but what I don't want is that index is inserted between them. – RenatoP Mar 6 '18 at 11:19
  • How can I avoid that? – RenatoP Mar 6 '18 at 11:53

Browse other questions tagged or ask your own question.