# Transparancy/color gradient not displayed in every PDF viewer [closed]

For my CV I used headlines with color gradients. Now I recently discovered that the headlines are not displayed in some PDF viewers (e.g. the gmail preview of an pdf). On my Mac in the Preview App or in Adobe Reader everything looks as it should.

The color gradient I produced with the following code in LaTeX:

\definecolor{right}{HTML}{2472AF} %defines the color for the timeline
\definecolor{left2}{HTML}{0d2d47} %defines the color of the left side of the section headings

\makeatletter

\renewcommand\section[1]{%
\phantomsection{}% reset the anchor for hyperrefs
\pgfmathsetmacro\randref{rand}
\node[fill=white,anchor=south east,zero sep,minimum width=3.5cm,minimum height=2.5mm] (box node){};
\node [text=white,anchor=base west,text depth=5pt,text height=12pt,zero sep,
font=\normalfont\Large\bfseries,right=10pt of box node,
text width=13cm,align=left] (text node) {\strut#1\strut};
\node [fit={(box node)(text node)
},zero sep] (myfit) {};
\path let \p1=(myfit.south west), \p2=(myfit.north east), \n1={\x2-\x1}, \n2={\y2-\y1} in
\pgfextra{\xdef\lenx{\n1} \xdef\leny{\n2}};
\begin{tikzpicture}[baseline=.5*5pt-.5*12pt]
(-.5*\lenx,-.5*\leny) rectangle ++(\lenx,\leny);
\end{tikzpicture}%
}


This are the two outputs as it is supposed to be and in the gmail Preview not displaying the headlines (apparently also other PDF viewers don't display it as my girlfriend using the same CV layout walked into an interview where the HR people had her CV printed without all of the headlines):

I have Adobe Acrobat Pro in case that helps to fix this problem. How can I embed this color gradients in my output PDF so it is displayed everywhere properly?

## closed as off-topic by Martin Schröder, Mico, Werner, Mensch, Svend TveskægSep 23 '15 at 14:48

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – Martin Schröder, Mico, Werner, Mensch, Svend Tveskæg
If this question can be reworded to fit the rules in the help center, please edit the question.