[Top][All Lists]

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

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

From: Brett Green
Subject: Re: How can I get an angstrom symbol in Octave?
Date: Sun, 22 Sep 2019 13:43:24 -0400

Ah, I had been using the decimal values - that answers it! The en-dash is working now. Thank you very much!

- Brett Green

On Sun, Sep 22, 2019 at 1:21 PM Dmitri A. Sergatskov <address@hidden> wrote:

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.

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

works for me.



reply via email to

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