← Back to team overview

ubuntu-developer-manual team mailing list archive

Re: how to have tilde char followed by char: "~something"


On Fri, Jan 14, 2011 at 9:50 AM, Kyle Nitzsche
<kyle.nitzsche@xxxxxxxxxxxxx> wrote:
> Hi,
> Style guide says use \textasciitilde command to insert tilde, which works in
> many cases.
> However, it cannot be followed by a non-space char or else latex *thinks* it
> is a different command. That is, this is invalid and doesn't build:
> \textasciitildeb
> (note the trailing 'b')

You may use either "\textasciitilde b" or "\textasciitilde{}b".

LaTeX will swallow the whitespace which immediately follows a control
sequence (\command).


Follow ups