cryptocode
cryptocode copied to clipboard
Piggyback on cleveref's "line" definition
This provides all the necessary definitions and also has the advantage that it respects cleveref's capitalization options.
Looks super clean, thanks. I'll try to take a closer look at it over the next days/weeks.
By the way, I think this is safe to do whenever cleveref is loaded, so maybe a separate \pcfixcleveref
command is actually not necessary. But I don't know the story behind \pcfixhyperref
...
Could you have a look?