Hello Eric, >>>>> Eric S Fraga <e.fr...@ucl.ac.uk> writes:
> On Thursday, 15 Oct 2020 at 12:31, Jarmo Hurri wrote: >> In my case there is a specific pseudocode format I need to use. I >> think I would have to try to tune one of these packages pretty >> heavily. > In that case, you may simply wish to use the alltt environment. > This works for me: > #+begin_src org ,* algorithm pseudo code ,#+latex_header: > \usepackage{alltt} ,#+begin_alltt for i \in [0,1] do if i \neq 3 x > ← i^2 end if end for ,#+end_alltt #+end_src Is there any reason why you don't use LaTeX's \leftarrow in place of ← ? With perhaps a (set-input-method 'TeX). Best wishes,