Skip to content

pdf transparency not working with Latex documents

2 messages · Javier Garcia-Pintado

#
Hello,
I' using the pdf() device with bg="transparent" to create plots to be used
within a latex (beamer) presentation.

Later on, I see that the background of my pdf() graphics is solid white in
the  final presentation.

I'm using R-2.6.0, and I have also tried to set the version argument in
pdf() to "1.5" and "1.6". Later versions are not accepted.

Has anyone used transparency successfully in this way?

Thanks, and best regards,
Javier
...
#
Hi,
I've found that after the call to pdf(), I had a posterior line:
par(bg="white")
that was creating this white background. Setting this to transparent works
fine.
Thanks,
Javier
...