New answers tagged

4

Before the error you get a fairly clear message: Package transparent Warning: Loading aborted, because pdfTeX is not running in PDF mode. The package does not support dvi mode. The package uses uses several commands specific to the pdf features of pdftex so making a variant of the package that worked with dvi mode might be non trivial (but no doubt ...


4

Here is a suggestion using the fadings library. Note that I use a lightgray background to show the size of the picture. Code: \documentclass[margin=5mm]{standalone} \usepackage{lmodern} \usepackage{tikz} \usetikzlibrary{fadings} \newsavebox\picturebox \begin{document} \savebox\picturebox{\includegraphics[width=10cm]{picture}} \begin{...


2

You mean something like this? \documentclass{scrartcl} \usepackage{tikz} \usetikzlibrary{backgrounds} \begin{document} \begin{tikzpicture} \node[font=\Huge] (A) at (5,2.5) {TEST}; \begin{scope}[on background layer] \clip(A.south west) rectangle (A.north east); \fill[red] (0,0) rectangle (10,5); \end{scope} \end{tikzpicture} \end{document}



Top 50 recent answers are included