I have a problem, this is what it looks like:
And this is the code:
\subsection{Bakterienst\"amme und Anzuchtbedingungen}
Where does the huge whitespace come from?
horizontal alignmentline-breakingsectioningspacing
I have a problem, this is what it looks like:
And this is the code:
\subsection{Bakterienst\"amme und Anzuchtbedingungen}
Where does the huge whitespace come from?
Best Answer
Obviously the whitespace comes from fully justifying. It can be fixed by switching to flush left aka ragged-right mode, at least for this heading, for example by
I used
\protect
because the command is fragile and needs to be protected in a moving argument such as here. Note, you may decide to use the optional argument to get a different result for the table of contents and the page header, such asThe
ragged2e
package provides better commands which even allow hyphenation:Sadly, you did not provide an example. I simulate the effect of full justification and solution here, see how the small stretching is removed:
Also consider to improve justification for example by
microtype
packagebabel
so making it possible to keep full justification with good results.