Is it possible to detect when LaTeX breaks a long line of text and add some custom behavior to it?
Specifically, If a long sentence breaks, I want to prepend some code to all but the first line, similar to what the
listings package provides with
I tried hinting where LaTeX should break using
discretionary and it works in some cases, but not when I try to prepend the lines with horizontal whitespace. What are the alternatives?