Questions tagged [cryptocode]
19 questions
2
votes
1 answer
Cryptocode: first line number with label instead of hardcoded
In cryptocode, it is possible to define the first line number of a block using something like lnstart=3. However, most of the time I want to set this number depending on the position of a specific lined (referenced using a label). Is it possible to…
tobiasBora
- 8,684
1
vote
1 answer
Centering a pchstack environment that is wider than \textwidth
I have a pchstack environment from the cryptocode package that is slightly too wide to fit within the text width. I want to center it anyway such that it encroaches on both margins. A minimal example would look like…
Maeher
- 334
1
vote
0 answers
cryptocode sign doesn't work
For some reason /sign does not work for me, while other cryptocode operators work without problem.
\documentclass[11pt]{article}
\usepackage[primitives]{cryptocode} % crypto diagrams
\begin{document}
$\sign$\\
$\verify$
\end{document}
The above…
jvdh
- 145