Replace texttt by algorithm commands