I want to add a \Break command to algpseudocode, which will display the word 'break' in the same font as 'return' is displayed. I've read the algpseudocode manual, but it only seems to explain how to define custom blocks, rather than individual commands. How would I add it?
Asked
Active
Viewed 4,329 times
3
Koz Ross
- 841
- 2
- 11
- 14
\documentclass{...}and ending with\end{document}. – LaRiFaRi Jun 15 '15 at 07:52\newcommand*{\Break}{\textbf{break}}? – LaRiFaRi Jun 15 '15 at 07:54grep -in return $(kpsewhich algpseudocode.sty)and roll your own command similar:46:\algnewcommand\algorithmicreturn{\textbf{return}}83:\algnewcommand\Return{\algorithmicreturn{} }%– ikrabbe Jun 15 '15 at 10:19