No indent for paragraphs after figures?

webjunkie picture webjunkie · Feb 12, 2009 · Viewed 37.4k times · Source

The default style for my document is that paragraphs are indented. That's fine. But I need no indentation for paragraphs that follow a figure or other objects.

Using \noindent manually does not work well, because you don't know which paragraph will follow the figure in the final output (LaTeX places figures automatically).

So I need paragraphs that follow figures in the output to not be indented (in the tex source you can't see which ones that would be). How can that be achieved?

Answer

webjunkie picture webjunkie · Mar 2, 2009

Looks like checking which paragraphs come after figures and putting \noindent in front of everyone manually is the only way to do this.