The overline is often used to indicate the sample mean. In LaTeX, we could use something like \bar{x} or \overline{x}, is there a way to achieve this in GMT?
Well, support the syntax maybe, but making it plot LaTeX without LaTeX, that is more difficult. However, it looks like it’s possible. At least this Julia package is able to do it. Just have no idea on how.
A few years ago (summer 2017 I think) I played with this via a system call to pdflatex or similar. It was partly successful but requires the full Latex machinery etc. I know many would like to have this feature but clearly we are not going to write a Latex parser for GMT. As @seisman indicates you can do some basic stuff in GMT with the composite character effect, plus sub/subscripts, but you cannot do complicated things like fractions. I am sure I have no records of what I tried 3 years ago but maybe I can assemble enough for a feature request posting.
Cool, thanks @seisman! This works for ordinary alphabetical characters (abc), but is there a way to plot the overline on top of Greek characters like \tau (which would be @~t@~ in GMT)? The following result doesn’t seem correct.