Le 16/01/2011 21:04, Pablo Rodríguez a écrit :
On 01/11/2011 04:53 PM, Patrick Gundlach wrote:
Hi,
inspired by Paul Isambert's very nice article in the last MAPS(1) and
also in tugboat 31:3 (2) I'd like to post a LaTeX/LuaTeX example. It
shows all the hyphenation points of a text. It's also wikified at
http://wiki.luatex.org/index.php/Show_the_hyphenation_points
Please correct any errors at the wiki page, thanks!
Thanks for the document, Patrick.
How could be the hyphenation points marked in red?
I guess that red hyphenation points would be easier to be noticed.
Just replace
n.data = "q 0.3 w 0 2 m 0 7 l S Q"
with
n.data = "q 1 0 0 rg 1 0 0 RG 0.3 w 0 2 m 0 7 l S Q"
(Only one of rg/RG suffices, but I never know which.)
Best,
Paul