I am creating a pdf file with Latex via pdflatex and want to have headings with dangling text, while the rest of the document should use justified text.
This gives me an error (! LaTeX Error: Something wrong--perhaps a missing \item):
\usepackage{ragged2e}
..
\flushleft
\chapter{Something}
\justifying
And this will ruin the vertical spacing:
{\raggedright{\chapter{Something}}}
Any idea here? Thanks in advance!
Jakob source
share