I know that I can use
\overfullrule=5pt to get overfull lines marked with a black marker. I am using pdfLaTeX. Is there a way I can get this marker or something similar in magenta instead?
Aditya gave a very nice, portable solution (Patrick's is very nice, too, but less portable).
I've made a little package called
Edit: I've seen quite a few shortcomings in complex environments using Aditya's code, while Patrick's code has no side effects that I could see. For this reason, the package now supports both implementations. When compiled with LuaTeX, it will use Patrick's code, otherwise, Aditya's code is used.
I still have to adapt the options to work with Patrick's code. Supporting the
I am not sure if this is possible with old fashioned TeX/pdfTeX, but it is with LuaTeX (of course, it is!)
Copied from a TeX pearl by Paweł Jackowski. In his words, never underestimate TeX's bells and whistles.
The definition of