0

Is there a way to indent paragraphs if they follow "long lines" of text?

Graphical example of what I want my text to look like

Paragraph example

Here, only the paragraph "Duis autem..." is indented, because it follows a "long line". I need this indentation, because otherwise the new paragraph would not be visible.

This example was done manually by using \noindent on most of the paragraphs. Is there a package that can do this for me, automatically?

  • 2
    You either indent all paragraphs (with the possible exception of the one immediately following a title) or none. The former method has been the preferred one for some centuries. – egreg Aug 21 '15 at 9:14
  • 1
    Indentation or separation helps the reader to find the start of a new paragraph. All he needs is to scan the left side of the text block to find the paragraphs. But if the indentation is missing sometimes, he has now to scan both sides of the text while keeping the scans horizontal synchronized to compare the right side with the left to find the paragraphs. This requires much more brain activity and the readability is therefore decreased. – Heiko Oberdiek Aug 21 '15 at 9:15
  • 2
    Imho it would be much better is you would set \parfillskip to some positive value to avoid full last lines. Your layout looks rather odd. – Ulrike Fischer Aug 21 '15 at 9:32
  • It is possible (just about) (you can use \predisplaysize to measure the last line) but as Ulrike says it is much better to ensure that \parfillskip has a minimum size, so long lines do not occur if they bother you. – David Carlisle Aug 21 '15 at 10:06

Your Answer

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

Browse other questions tagged or ask your own question.