# Tag Info

5

As a fan of both tikz and background, here's a version showing four different opacities: Code \documentclass[parskip]{scrartcl} \usepackage[margin=5mm,a6paper]{geometry} \usepackage[angle=0,scale=20,opacity=1,color=black]{background} \usepackage{lipsum} \backgroundsetup{% contents={% \begin{tikzpicture} ...

2

This is not pure *.EPS, but EPS with a preview. If you remove the text before %!PS-Adobe (and after %%EOF, if exists), all should work fine. And in the future you should generate EPS files without preview.

1

Based on your comments: My goal is to find a general approach how to deal with graphics with different resolution so that every figure in my paper looks the same, no matter where it comes from. Using EPS files instead PNG files is a good thing, but I can't get EPS files from PDF files. I am using figures from papers, which are in PDF files. Using figures ...

2

You probably want the \includegraphics macro, which is part of the graphicx package. I suggest reading this article.

3

A short (non-technical) answer is: it is impossible to do with dvipng A longer (technical) answer is: the problem is that dvipng does not include a so called pHYs chunk in the PNG file it makes. This chunk contains the information about the size (in meters) of the pixel. So, if your vector image is 1in x 1in and you render it to PNG with an option "-D ...

Top 50 recent answers are included