Adobe Reader 中的 Tikz 按钮 CLICK 颜色和 CLICK 形状

Adobe Reader 中的 Tikz 按钮 CLICK 颜色和 CLICK 形状

我想控制我创建的以下带圆角的 tikz 按钮的点击颜色和点击形状。当我将 PDF(由 pdflatex 生成)下载到 Adob​​e Reader 并单击按钮时,按钮会变成亮黄色,并且按钮上会添加黑色矩形角。在 tikz 和/或 LaTeX 中是否有办法修改这些效果?


\documentclass{article}

\usepackage{tikz, pgfplots}
\pgfplotsset{compat=1.18}
\usetikzlibrary{fit, shapes, automata, backgrounds, positioning, shadows, patterns, calc, arrows.meta, shapes.geometric, decorations.shapes, decorations.fractals, decorations.markings, decorations.pathmorphing}

\usepackage[hidelinks]{hyperref}

\tikzset{
    hyperlink node/.style={
        alias=sourcenode,
        append after command={
            let \n0={\pgfkeysvalueof{/pgf/outer xsep}},
                \n1={\pgfkeysvalueof{/pgf/outer ysep}},
                \p1=([shift={(\n0, -\n1)}] sourcenode.north west),
                \p2=([shift={(-\n0, \n1)}] sourcenode.south east),
                \n2={\x2-\x1},
                \n3={\y1-\y2} in
            node [inner sep=0pt, outer sep=0pt, anchor=north west, at=(\p1)] {\hyperlink{#1}{\XeTeXLinkBox{\phantom{\rule{\n2}{\n3}}}}}
        }
    }
}

\begin{document}

\begin{tikzpicture}[overlay, button/.style={fit={(0cm,0cm) (6.3cm,1.5cm)}, fill=blue, draw=none, drop shadow, text=white, rounded corners=.75cm, inner sep=0pt, outer sep=0pt, label=center:\textcolor{white}{\huge\textsc{Read Me}}}]
  \node[button, hyperlink node=bottom] at (0cm,0cm) {};
\end{tikzpicture}

\vfill
\hypertarget{bottom}{{Bottom of Page}}
\end{document}


在此处输入图片描述

相关内容