Directory graphics/AddTeX2Eps
README
% Janko Slavic (janko.slavic@fs.uni-lj.si) % 2006, version 1.1 %%%%%%%%% % Installation: % Be sure to have installed psfrag package: http://www.ctan.org/tex-archive/macros/latex/contrib/psfrag/ (If using MikTeX go to MikTeX options/packages and install psfrag). default.tex is the LaTeX template where you can add packages and define your own LaTeX commands. Copy default.tex and AddTeX2Eps.m to ..\AddOns\StandardPackages\Graphics\ or to search path. %%%%%%%%% %%%%%%%%%%%% % Example of usage: % Needs["Graphics`AddTeX2Eps`"]; Options[EpsExport] CorrectBB::usage fig = Plot[Sin[x^2], {x, 0, 4}, AxesLabel -> {"a","b"},PlotLabel -> "c"]; EpsExport["d:/test.eps",fig,{ "\\psfrag{a}[c]{$x$}", "\\psfrag{b}[c]{$\\sin(x^2)$}", "\\psfrag{c}[c]{Native \\LaTeX via psfrag package}" }] %%%%%%%%%%%%
Download the contents of this package in one zip archive (5.5k).
AddTeX2Eps – Use LaTeX syntax on EPS figures, within Mathematica
This Mathematica script permits the user to write psfrag commands at the same place as the fragments for replacement are defined.
Package | AddTeX2Eps |
Version | 1.15 |
Licenses | The LaTeX Project Public License |
Maintainer | Janko Slavič |
Topics | Graphics prep |