Le 06/04/2017 à 10:59, "Uwe Stöhr" a écrit :
If you find a better solution to paint the strokes, please improve my drawing
routine accordingly.
That is not how it works. Actually, I propose to add a rule to our
coding rules that says that no code which does not take in account zoom
and DPI when drawing should be accepted (with the usual exceptions, of
course).
It is not as if we were still in 1995, we have retina screens now. A lot
of work has been done recently to take dpi/zoom into account, we do not
want that to degrade with new code.
As always, the right thing to do is "use the source, Luke".
You search for ulem.sty, which is full of horrible code. Then you search
in there for the definition of \xout, which is admittedly still weird,
but simpler:
\def\xout{\bgroup \markoverwith{\hbox to.35em{\hss/\hss}}\ULon}
What does it tell us? That the strike out is obtained with a `/'
character, and that it is spaced with 0.35em. This should be enough to
make an easy and good lookalike screen representation.
Is it enough information for you?
JMarc