emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Jarmo Hurri <jarmo.hurri@iki.fi>
Cc: emacs-orgmode@gnu.org
Subject: Re: Special symbols with monospace
Date: Thu, 15 Oct 2020 11:17:19 +0100	[thread overview]
Message-ID: <875z7bkd3k.fsf@disroot.org> (raw)
In-Reply-To: 877drr25ti.fsf@iki.fi

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	other threads:[~2020-10-15 10:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-15  6:13 Special symbols with monospace Jarmo Hurri
2020-10-15  6:53 ` Maxim Nikulin
2020-10-15  9:32   ` Jarmo Hurri
2020-10-15 10:37     ` Maxim Nikulin
2020-10-15 11:06       ` Jarmo Hurri
2020-10-15  7:13 ` Eric S Fraga
2020-10-15  9:31   ` Jarmo Hurri
2020-10-15 10:17     ` Eric S Fraga [this message]
2020-10-15 11:11       ` Jarmo Hurri
2020-10-15 15:03       ` Colin Baxter
2020-10-15 15:21         ` Eric S Fraga
2020-10-15  7:46 ` Colin Baxter
2020-10-15  9:30   ` Jarmo Hurri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875z7bkd3k.fsf@disroot.org \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=jarmo.hurri@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).