Here's a MWE of some path fading I'm doing:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{fadings}
\begin{document}
\begin{tikzpicture}
\fill [blue!80!black, path fading=east] (0,0) --++ (90:0.3) --++ (0:6) --++ (-90:0.3) -- cycle;
\end{tikzpicture}
\end{document}
I've noticed that although this shows up fine for me with my pdf viewer (Evince 3.28.2), it doesn't show up on some others.*
And twice I've printed it on different printers and it doesn't show up then either.
Does anyone know about any peculiarities of pdfs generated with TikZ that lead to this difficulty in printers/viewers interpreting them?
(I'm using pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014))
*With Preview on a Mac (version 8.1), the fade shows up if you directly include the tikzpicture in your document with \input
, but not if you generate a standalone pdf and do \includegraphics{path/to/generated/pdf}
Having just found this out, I haven't tried printing the \input
version yet.
Edit: follow up question based on information from the answers. Since transparency as a feature may not be supported by all printers, is there a way to emulate transparency in TikZ without actually using it?
axis
options I had writtenvery thick
instead ofaxis line style = very thick
. I discovered this by trial and error and changing almost everything in my code, but it finally fixed the issue at hand :D