[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Differing fonts between Octave and other programs with the same font
Re: Differing fonts between Octave and other programs with the same fontname
Sun, 1 Dec 2019 19:13:50 -0600 (CST)
> On a side note, how does one actually use math mode with $? If I call
> something like
> title('$Text (hello, 123) \alpha$')
> the $ are interpreted literally. The documentation mentions they can be
> used in Octave, so I thought to try them and see how it affected my
> problem, but I couldn't get them to work and the section of the
> documentation on the text interpreter property didn't explain beyond a
> passing mention.
> - Brett Green
> Octave text.png (26K)
For the side note, Octave doesn't have a "latex" interpreter and thus does
not interpret "$" math environment. The only way to have LaTeX fonts and
math typesetting (in printout only) is to use pdflatex(standalone) or
epslatex formats, e.g.:
title ('$Text (hello, 123) \alpha$', "interpreter", "latex"); # "latex" is
the same as "none"
print -dpdflatexstandalone foo.tex
system "pdflatex foo.tex"
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html