diff --git a/lib/Plots/Tikz.pm b/lib/Plots/Tikz.pm index 611273f29..831be1ca4 100644 --- a/lib/Plots/Tikz.pm +++ b/lib/Plots/Tikz.pm @@ -20,7 +20,7 @@ sub new { $image->convertOptions(eval('$main::envir{latexImageConvertOptions}') // { input => {}, output => {} }); $image->ext($plots->ext); $image->tikzLibraries('arrows.meta,plotmarks,calc,spath3'); - $image->texPackages(['pgfplots']); + $image->texPackages([ 'amsmath', 'pgfplots' ]); # Set the pgfplots compatibility, add the pgfplots fillbetween library, define a save # box that is used to wrap the axes in a nice rectangle frame with a white background, and redefine