Index of /archives/text/CTAN/graphics/AddTeX2Eps

Icon  Name                          Last modified      Size  Description
[PARENTDIR] Parent Directory - [   ] AddTeX2Eps-Example.nb 2012-11-02 18:37 3.2K [TXT] AddTeX2Eps.m 2009-10-23 00:29 5.5K [TXT] README 2006-04-17 13:34 836 [   ] default.tex 2012-11-17 17:14 1.1K [TXT] readme.txt 2006-04-17 13:34 836
% 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}"
   }]
%%%%%%%%%%%%