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

Herbert Schulz herbs at wideopenwest.com
Fri Apr 4 17:54:50 EDT 2008

On Apr 4, 2008, at 1:46 PM, Joseph C. Slater PE, PhD wrote:
> I know this is off-topic for this list, but I've been stumped by  
> what seems a silly problem. I use
> \newcommand{\thesistitle}{Computational Methods in Aeroelasticity  
> and a bunch of other stuff}
> A long bunch of words then \underline{\thesistitle}
> as part of a style file definition (sorry, I don't control that my  
> university still likes to underline).
> Anyway, if \thesistitle is too long and needs to be broken at the  
> end of a line, it isn't! Is there a solution to this? I'm sure there  
> is, but I'm baffled.
> Thanks,
> Joe
> \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> (+1) 937-775-5085
> http://www.cs.wright.edu/~jslater
> http://www.cs.wright.edu/~jslater/JosephSlater.vcf.zip


I haven't used it but take a look at the ulem package. I think it  
defines an underline command that can break between words. Don't know  
about hyphenation.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

More information about the MacOSX-TeX mailing list