On 7/26/06, Aditya Mahajan wrote:
On Tue, 25 Jul 2006, Mojca Miklavec wrote:
Hello,
is there any way to make hyphenation work when using \underbar?
Perhaps you can try some of the techniques in Chapter 10 of Metafun manual. There is no mention of hypenation, but looking at Fig 10.3 it seems that hypenation is taken care of. Working with a rectangular region should be easier, but then one needs to take care of pagebreaks.....
Actually, if I'm thinking about extending \underbar to handle such situations, then I'm ready to put some effort into fixing it (since it might be useful in the future as well). But considering my document: using metapost is too much overhead to underline just a couple of sentences. (To be honest: now I switched to bold instead since I'm running out of time anyway.) Thanks anyway (when I come back I'll play a bit more with it again), Mojca