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: Dmitri A. Sergatskov
Subject: Re: How can I get an angstrom symbol in Octave?
Date: Sun, 22 Sep 2019 12:20:59 -0500



On Sun, Sep 22, 2019 at 11:51 AM Doug Stewart <address@hidden> wrote:


On Sun, Sep 22, 2019 at 12:35 PM Brett Green <address@hidden> wrote:
Thank you all very much!

Doug, your solution worked for me. This is a great relief - thank you!

Dmitri, thank you for the informative explanation and good questions. When I cut and paste "Å" into Octave, nothing appears in the terminal. If I run from a .m file with the character "Å" in the title, it instead prints "Ã..." where "Å" should be.

Doug, how did you find out that [char(195) char(133)] was the combination you needed?
I found it by trial and error and try again through different numbers. I still don't understand how it works!!!

You can go to


Click on desired symbol


And read the values in UTF-8 encodings (195 133).

So for em-dash (226 128 148). BTW you can use hex values as well.
So

title([char(0xE2),char(0x80), char(0x94)], "fontname", "cambria")

works for me.

Dmitri.
--








 

reply via email to

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