gmt icon indicating copy to clipboard operation
gmt copied to clipboard

WIP Explore Latex in subplot tags

Open PaulWessel opened this issue 2 years ago • 2 comments

See this forum post for background. Not straightforward since we run a special PSL function to set those. Tried the obvious (relying on the other places we handle this) but get a crashing PostScript. Will follow up.

PaulWessel avatar Oct 20 '23 14:10 PaulWessel

For testing, here is a small subplot that fails due to Latex code:

#!/bin/bash
gmt begin Figure png
  gmt set FONT_TAG 16p,Times-Italic
  gmt subplot begin 1x1 -Fs6i -A+o-0.2c/0 -JW180/6i -Rg
    gmt subplot set 0,0 -A"@[\nabla^2@["
    gmt basemap ${eq_proj} -B0
  gmt subplot end
gmt end show

I will update the subplot documentation with a note that Latex expressions in the -A is currently not allowed.

PaulWessel avatar Nov 05 '23 13:11 PaulWessel

See #8016 for documentation warning.

PaulWessel avatar Nov 05 '23 14:11 PaulWessel