I need to draw an arrow that looks like the usual \Rightarrow but has a blue outline with 0.5 opacity. I can get this far:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}
\draw (-1.5,-0.7) rectangle (1.5,0.7);
\draw[-{implies}, double equal sign distance, blue] (-1,0) -- (1,0);
\end{tikzpicture}
\end{document}
As soon as I change the opacity, though, this happens:
\begin{tikzpicture}
\draw (-1.5,-0.7) rectangle (1.5,0.7);
\draw[-{implies}, double equal sign distance, blue, opacity = 0.5] (-1,0) -- (1,0);
\end{tikzpicture}
Is there something wrong with my syntax, or is this an unavoidable behavior of this kind of arrow?





arrows- it has been deprecated many years. – hpekristiansen Feb 18 '24 at 13:48