我在 tikzpicture 上有一个透明的 PNG。从 TeXworks 打印时效果很好(左图),但从 Adobe Reader 打印时透明区域很明显(右图)。由于大多数人都使用 Reader,所以这是一个问题。
如果不匹配颜色,我该如何避免这种情况?
图像的代码如下:
% document class
\documentclass[a4paper,11pt,final]{memoir}
% stuff
\pagestyle{empty} % no page numbering
\setlength{\parindent}{0pt} % no paragraph indentation
% required packages (add your own)
\usepackage{flowfram} % column layout
\usepackage[top=1cm,left=1cm,right=1cm,bottom=1cm]{geometry}% margins
\usepackage{graphicx} % figures
\usepackage[svgnames]{xcolor} % Call colours by their svgnames
\usepackage{tikz}
\usepackage{graphicx}
\graphicspath{ {images/} } %images are kept here
% Create column layout
% define length commands
\setlength{\vcolumnsep}{\baselineskip}
\setlength{\columnsep}{\vcolumnsep}
% frame setup (flowfram package)
% left frame
\newflowframe{0.24\textwidth}{\textheight}{0pt}{0pt}[left]
\newlength{\LeftMainSep}
\setlength{\LeftMainSep}{0.22\textwidth}
\addtolength{\LeftMainSep}{2\columnsep}
% right frame
\newflowframe{0.7\textwidth}{\textheight}{\LeftMainSep}{0pt}[main01]
% define custom colours
\definecolor{PaleGrey}{RGB}{99,99,99}
\begin{document}
%Dagger
\begin{tikzpicture}[remember picture, overlay]
\fill [fill=PaleGrey!10] (0,0.8cm) -- (0,-23cm) -- (5cm,-26.5cm) -- (5cm,0.8cm) -- cycle;
\end{tikzpicture}
\hspace*{\parindent}% text in specimen is set into page somewhat
\begin{minipage}[c]{5.1cm}% adjust to taste
\begin{center}
%Picture
\includegraphics{logo}
% Three Blind Mice
% end justify center
\end{center}\normalsize
\framebreak
\end{minipage}
% End of mini page
\end{document}
还有图像本身在这里: