help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I get an angstrom symbol in Octave?


From: Przemek Klosowski
Subject: Re: How can I get an angstrom symbol in Octave?
Date: Tue, 24 Sep 2019 12:42:06 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

On 9/21/19 10:06 PM, Brett Green wrote:
Now I'm wondering why using single vs. double quotes makes a difference... what's important, though, is that it works.

The single quotes are 'absolute' whereas double quotes allow interpolation of special characters like $ and backquote sequences, so \deg is seen as [\d e g] which is [d e g] because \d is not one of the anointed escapes.

So, you could use double quotes but you'd have to write it as "\\deg": the backslash escapes the second backslash so the backend receives the four-character string \deg.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]