# [NTG-context] underbar and hyphenation

Hans Hagen pragma at wxs.nl
Wed Jul 26 10:30:30 CEST 2006

```Mojca Miklavec wrote:
> 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.)
>
rather tricky i.e. kind of impossible to do

\underbars (plural) at least split at word boundaries

anyhow, underbar is from the typewriter time and just a poor mans emphasis thing

Hans

-----------------------------------------------------------------