Using the chemnum package, I encounter problems with replacing temporary labels in EPS files. I first thought that it is a chemnum problem, but the result is the same using psfrag instead of chemnum. The problem is: Not only my temporary labels are replaced (correctly) but also other characters present in the EPS just vanish (but not all).

Attached you see on the left my EPS and on the right what I get in the PDF which is produced by PDFLaTeX.

enter image description here

I think the problem is the setting of the font.

If you have in the preamble only


everything seems fine.



or also using


gives strange character-replacement in the EPS.

So probably the more exact question is: How can I set my font to a sans-serif font with psfrag working?


\usepackage[plainpages=false, pdfpagelabels,pdftex]{hyperref}








  • 4
    Welcome to TeX.SX Barbara. Can you also include your code for this? – percusse Mar 21 '14 at 5:31
  • Can you make the .eps file available for download from somewhere? Without this file it's hard to diagnose the problem. – Ian Thompson Mar 21 '14 at 23:10
  • n.ethz.ch/~cbarbara test.eps is the file. – Barbara Mar 24 '14 at 9:26
  • This reminds me of tex.stackexchange.com/q/86916/5049 which showed the same problem... – clemens May 11 '14 at 14:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.