Re: Special symbols with monospace

2020-10-15 Thread Eric S Fraga
On Thursday, 15 Oct 2020 at 16:03, Colin Baxter wrote: > Is there any reason why you don't use LaTeX's \leftarrow in place of ← ? > With perhaps a (set-input-method 'TeX). Funnily enough, it's because I was originally using the TeX input method (which I love) that I ended up with ← instead of \get

Re: Special symbols with monospace

2020-10-15 Thread Colin Baxter
Hello Eric, > Eric S Fraga 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 wis

Re: Special symbols with monospace

2020-10-15 Thread Jarmo Hurri
Eric S Fraga writes: > 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 fo

Re: Special symbols with monospace

2020-10-15 Thread Jarmo Hurri
Maxim Nikulin writes: What is the easiest way to combine monospace and special symbols? >>> >>> Is there any problem with UTF-8 symbols such as "≠"? I have typed it using >>> Compose / = >> >> At least out of the box, the UTF-8 symbol is not exported. > > #+BEGIN_SRC emacs-lisp > (add-to-

Re: Special symbols with monospace

2020-10-15 Thread Maxim Nikulin
Jarmo Hurri wrote: Maxim Nikulin writes: Jarmo Hurri wrote: What is the easiest way to combine monospace and special symbols? Is there any problem with UTF-8 symbols such as "≠"? I have typed it using Compose / = At least out of the box, the UTF-8 symbol is not exported. #+BEGIN_SRC ema

Re: Special symbols with monospace

2020-10-15 Thread Eric S Fraga
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

Re: Special symbols with monospace

2020-10-15 Thread Jarmo Hurri
Hello. Maxim Nikulin writes: > Jarmo Hurri wrote: >> What is the easiest way to combine monospace and special symbols? > > Is there any problem with UTF-8 symbols such as "≠"? I have typed it using > Compose / = At least out of the box, the UTF-8 symbol is not exported. All the best, Jarmo

Re: Special symbols with monospace

2020-10-15 Thread Jarmo Hurri
Hi there. Eric S Fraga writes: > I resort to LaTeX for this, using a LaTeX src block with the algorithm > and algpseudocode packages. 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. But I will see. Than

Re: Special symbols with monospace

2020-10-15 Thread Jarmo Hurri
Hi there! Colin Baxter writes: > Would https://github.com/jsalzbergedu/pseudocode-mode be any good? I will have to explore it. The documentation is almost as thin as my wallet. Thanks, Jarmo

Re: Special symbols with monospace

2020-10-15 Thread Colin Baxter
> Jarmo Hurri writes: > Greetings. > I like to embed pseudocode etc. in example blocks so that it is > typeset in monospace when exported. But sometimes I would need > special symbols, such as \neq, in pseudocode. What is the easiest > way to combine monospace and special

Re: Special symbols with monospace

2020-10-15 Thread Eric S Fraga
On Thursday, 15 Oct 2020 at 09:13, Jarmo Hurri wrote: > I like to embed pseudocode etc. in example blocks so that it is typeset > in monospace when exported. But sometimes I would need special symbols, > such as \neq, in pseudocode. What is the easiest way to combine > monospace and special symbols

Re: Special symbols with monospace

2020-10-14 Thread Maxim Nikulin
Jarmo Hurri wrote: I like to embed pseudocode etc. in example blocks so that it is typeset in monospace when exported. But sometimes I would need special symbols, such as \neq, in pseudocode. What is the easiest way to combine monospace and special symbols? Is there any problem with UTF-8 symb

Special symbols with monospace

2020-10-14 Thread Jarmo Hurri
Greetings. I like to embed pseudocode etc. in example blocks so that it is typeset in monospace when exported. But sometimes I would need special symbols, such as \neq, in pseudocode. What is the easiest way to combine monospace and special symbols? Jarmo