OSX环境下Asymptote中加入LaTeX字符

Asymptote是一款开源绘图软件。在OSX中,可以通过如下Macports命令安装:

$ sudo port install asymptote

 可通过以下步骤图中插入LaTeX文字:

(1) 建立配置文件config.asy

$ cd
$ cd .asy
$ vim config.asy

 粘贴进如下配置:

import settings;
gs="gs";
psviewer="gv";
pdfviewer="/Applications/Skim.app/Contents/MacOS/Skim";
texpath="/usr/local/texlive/2014/bin/x86_64-darwin";
原文地址:https://www.cnblogs.com/make217/p/4946031.html