The \hl
command from the soul
package highlights spans of text with a backround color when color
is loaded. When used on longer spans of text, some inter-line spacing remains uncolored, which is rather unpleasant to my eye.
\documentclass[a8paper, landscape]{scrartcl}
\usepackage{color, soul}
\sethlcolor{red}
\begin{document}
This is some text \hl{of that some part should be highlighted. This part spans multiple lines}, which is easy on a8paper.
\end{document}
I already tried to tinker with \setul
, but increasing the height and depth there just enlarges the line height, leaving unchanged the spacing in between.
Is there a way to have the result look like this?
Answers do not have to be restricted to the package. (Meaning soul
-less answers are also welcome. ;)