[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: Sat, 21 Sep 2019 22:06:59 -0400

Using single quotes (without $) was all I needed to change to get the degree symbol to appear. Thank you!

Now I'm wondering why using single vs. double quotes makes a difference... what's important, though, is that it works.

...Actually, I may have written that prematurely. Although I can get the degree symbol, I still can't get the angstrom symbol. \AA and \r{A} were suggested but neither worked. Any ideas why not?

- Brett Green

On Sat, Sep 21, 2019 at 8:57 PM Dmitri A. Sergatskov <address@hidden> wrote:
On Sat, Sep 21, 2019 at 7:39 PM Brett Green <address@hidden> wrote:
> The title says it all. I've tried copying and pasting the character (the obvious attempt) with no success, and have read several solutions using TeX interpreters such as this but those don't seem to work for me. Looking at the documentation < > I can't even get the degree symbol to show up - trying both of the following
> >> title("\deg","interpreter","tex")
> >> title("$\deg$","interpreter","tex")
> just gives me titles of "deg" and "$deg$", respectively. I'm running 5.1.0 on Windows 10.

Cut and paste seems to work on linux (at least on my machine).  If it
is an issue with the
deficient Windows rterminal, you can try to write an m- file and
execute it instead of entering
it iinteeractively.
Also with TeX you should do single quotes and no "$" signs:
title('\deg ',"interpreter","tex")

should work (it soes on my machine).

> - Brett Green


reply via email to

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