emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Special symbols with monospace


From: Eric S Fraga
Subject: Re: Special symbols with monospace
Date: Thu, 15 Oct 2020 11:17:19 +0100

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

HTH,
eric

-- 
: Eric S Fraga via Emacs 28.0.50, Org release_9.4-57-g8402c4



reply via email to

[Prev in Thread] Current Thread [Next in Thread]