SET_PLOT, 'ps'

!P.FONT=0 ; Needed for this to work

PLOT, [0,1], [0,1], XTITLE='xt', YTITLE='yt'

DEVICE, /CLOSE

LATEXIFY, 'idl.ps', ['xt','yt'], ['$\int_{0}^{1} x\,dx$','$\sum_{i=0}^{\infty} \hat{x}_{i}$']
