[OS X TeX] underlined variable, how to make it line break.

Joseph C. Slater PE, PhD joseph.slater at wright.edu
Sat Apr 5 11:34:43 EDT 2008

On Apr 5, 2008, at 8:28 AM, Bruno Voisin wrote:
> On 5 avr. 08, at 14:13, Bruno Voisin wrote:
>> On 5 avr. 08, at 13:11, Joseph C. Slater PE, PhD wrote:
>>>
>>> The actual document illustrating the problem is posted at:
>>> http://www.cs.wright.edu/~jslater/classes/thesis/WSUThesisTemplate.zip
>>>
>>> Look at the 2nd page of the pdf and you can see the problem. The
>>> sty file has the text but for a variable used for the title that
>>> refuses to line break!
>>
>> Same behavior observed here.
>
> In WSU.sty, replace
>
>    ENTITLED \uline{\thesistitle}
>
> by
>
>    ENTITLED \expandafter\expandafter\expandafter\uline
> \expandafter{\thesistitle}
>
> Works here.
>
Bruno,
Thanks! I have to admit not knowing why that's necessary, but glad
that it works. How you figured it out... I don't know. Thanks again,
Joe