I am typesetting a manual, that uses normal indentation for paragraphs. The pages have a lot of figures and tables and I would like to have the paragraph after tables and figures to have no indentation. Currently I just use \noindent
, but I am sure there is an easier way?
Can anyone explain how this is achieved after sections? It might give me a pointer as to how to write a macro to do this.
Best Answer
You asked how it is done for sections:
\section
uses\@afterheading
which puts code in\everypar
so that it suppress the indentation in the first paragraph and then reset its own content to empty for the following paragraphs. The LaTeX kernel also has a\@doendpe
command which is e.g. used by lists to suppress the indentation after the list if there is no empty line/\par
following. Here two examples how you could use this code yourself (but I doubt that they can be used in the case of real floats.)