[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Special symbols with monospace
From: |
Colin Baxter |
Subject: |
Re: Special symbols with monospace |
Date: |
Thu, 15 Oct 2020 16:03:26 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hello Eric,
>>>>> Eric S Fraga <e.fraga@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,