I have the following example
\documentclass{report}\usepackage{algorithm2e}\begin{document} \begin{algorithm} \lIf{$\max_{\mathcal{AV}} > \theta_5$} { \Return the tracklet with $\max_{\mathcal{AV}}$. } \lElse { \Return no speaker. } \end{algorithm}\end{document}
however I do not want if and else be in two separate lines, but only in one.
Could anyone help me, please?Thanks in advance