How to make a "normal" looking ampersand symbol within the algorithm environment?
I'm using \& but this results in a strange looking character as shown below:
Here is a minimal example how I use the ampersand
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[ruled,linesnumbered]{algorithm2e}
\begin{document}
\begin{algorithm}[H]
\If{$b$ \& $0x01$} {
$p \leftarrow p \oplus a$\;
}
\end{algorithm}
\end{document}



;)– Paulo Cereda Mar 10 '16 at 17:01if $b$ \emph{\&} $0x01$ then? If so, remove the\emphinstruction. – Mico Mar 10 '16 at 17:06