That's weird--it definitely doesn't work on J7, for a standard unicode
(UTF8) μ. The character ¼ shows up instead, and is represented in the
pdf by \274.

This is the UTF encoding of the character μ. You can easily copy-paste
the character from, for instance, the wikipedia page "Mu (letter)", and
a decent text editor should also provide some method of entering it
directly. Is the one you get with opt+m on a Mac different?
   a. i. 'μ'
206 188

The pdf my version of plot outputs uses the "WinAnsiEncoding" to encode
letters. This is hardcoded in jzplot.ijs and the windows encoding
doesn't appear to have greek characters. I assume your output uses a
different encoding.

It would be really nice to convince plot to put arbitrary LaTeX in its
captions, but I don't know enough about pdfs or LaTeX to accomplish
this.

Marshall

On Tue, Nov 18, 2014 at 12:36:33PM -0500, J. Patrick Harrington wrote:
> Marshall,
> 
>   Brian's comment is at least a partial solution: I find that on
> my Mac (and under J602; haven't tried J802 yet) option+key gives
> various characters. In particular opt+m -> greek mu, what I need.
> Others are opt+ o,w,s,j,z -> phi, cap sigma, beta, cap delta,
> cap omega. But far from complete.
>   If I type the opt+m into the xcaption, it comes through in
> both the 'show' plot and the .pdf plot.
> 
>                                         Patrick
> 
> On Tue, 18 Nov 2014, Marshall Lochbaum wrote:
> >I've tried and failed to get greek characters into captions. Simply
> >using unicode is not sufficient, and I believe there was some reason
> >that even using the appropriate pdf encoding wouldn't work. It's
> >probably possible to hand-edit the pdf output but I did not try that.
> >
> >Marshall
> >
> >On Tue, Nov 18, 2014 at 12:09:14PM -0500, J. Patrick Harrington wrote:
> >>Brian,
> >>
> >> Thanks so much: titlefont, labelfont & captionfont are
> >>exactly what I needed.
> >> I still have to figure out the geek characters, but I
> >>can always spell them out :-(
> >>
> >>                                    Patrick
> >>
> >>On Tue, 18 Nov 2014, Brian Schott wrote:
> >>>Patrick,
> >>>
> >>>If you search on the following page for ¸"font" I think captionfont may be
> >>>effective.
> >>>
> >>>http://www.jsoftware.com/jwiki/Plot/Options
> >>>
> >>>Greek fonts are out of my knowledge, except that on a Mac some
> >>>Option+keystroke produce *greek characters.*
> >>>
> >>>
> >>>--
> >>>(B=)
> >>>----------------------------------------------------------------------
> >>>For information about J forums see http://www.jsoftware.com/forums.htm
> >>----------------------------------------------------------------------
> >>For information about J forums see http://www.jsoftware.com/forums.htm
> >----------------------------------------------------------------------
> >For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to