[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LaTeX



Dan Kenigsberg <danken@cs.Technion.AC.IL> writes:

> test.eps is:
> %!PS-Adobe-2.0 EPSF-2.0
> %%BoundingBox: 0 0 100 20
> %%EndComments
> /Times-Roman findfont 24 scalefont setfont
> 0 0 moveto
> (Hello) show
> showpage
> 
> Let's say I want to replace the 'Hell' string in that eps with a LaTeX
> expression such as 'Heaven'. Now what is wrong with this:
> 
> \documentclass{article}
> \usepackage{graphics}
> \usepackage{psfrag}
> 
> \begin{document}
> \psfrag{Hell}{Heaven}
> \includegraphics{test.eps}
> \end{document}

I am not sure. it seems it should work, but it doesn't. Using

\psfrag{Hello}{Heaveno}

does the trick, apart from changing the font size. Of course, the
documentation of psfrag says it is bug-free, which is suspicious...

-- 
Oleg Goldshmidt | ogoldshmidt@NOSPAM.computer.org 
If it aint't broken it hasn't got enough features yet.

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il