summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/psfragx/pfxprint.m
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/psfragx/pfxprint.m')
-rw-r--r--Master/texmf-dist/doc/latex/psfragx/pfxprint.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/psfragx/pfxprint.m b/Master/texmf-dist/doc/latex/psfragx/pfxprint.m
new file mode 100644
index 00000000000..74002d0ec89
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/psfragx/pfxprint.m
@@ -0,0 +1,12 @@
+%%% pfxprint [ -*- Matlab -*- ] Time-stamp: <2004-08-12 18:20:57 Pascal Kockaert>
+%%%
+
+function pfxprint(fig,name,varargin)
+ deftxtint=get(0,'DefaultTextInterpreter');
+ set(0,'DefaultTextInterpreter','none');
+
+ laprint(fig,name,'options','laprpfx',varargin{:});
+ psfragx(name);
+
+ set(0,'DefaultTextInterpreter',deftxtint)
+