我想为c
这张图中注释的箭头添加一个虚线箭头:
但是,我找不到该怎么做,该style
属性显然不适用于这种箭头......
梅威瑟:
\documentclass{article}
\usepackage [
n,
advantage,
operators,
sets,
adversary,
landau,
probability,
notions,
logic,
ff,
mm,
primitives,
events,
complexity,
asymptotics,
keys
] {cryptocode}
\begin{document}
\begin{bbrenv}{A}
\begin{bbrbox}[name=A]
\end{bbrbox}
\bbrmsgto{top=$a$}
\bbrmsgfrom{top={$b$}}
% \bbrqryfrom{top={$c$}, style={dashed}}
\bbrqryfrom{top={$c$}}
\end{bbrenv}
\end{document}
答案1
您可以使用edgestyle=dashed
。
\documentclass{article}
\usepackage [
n,
advantage,
operators,
sets,
adversary,
landau,
probability,
notions,
logic,
ff,
mm,
primitives,
events,
complexity,
asymptotics,
keys
] {cryptocode}
\begin{document}
\begin{bbrenv}{A}
\begin{bbrbox}[name=A]
\end{bbrbox}
\bbrmsgto{top=$a$}
\bbrmsgfrom{top={$b$}}
\bbrqryfrom{top={$c$},edgestyle=dashed}
\bbrqryfrom{top={$c$}}
\end{bbrenv}
\end{document}