From: Thomas S. Dye <tsd@tsdye.com>
To: Lawrence Bottorff <borgauf@gmail.com>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Org-mode: How to render latex inside ~code~
Date: Sat, 27 Feb 2016 10:41:38 -1000 [thread overview]
Message-ID: <m2a8mlkhrx.fsf@tsdye.com> (raw)
In-Reply-To: <CAFAhFSWvJuQYZvcOr1Fg2wjp-NDBrGU9dBVkNaNtOWRis2ZzXA@mail.gmail.com>
Aloha Lawrence,
Lawrence Bottorff writes:
> This seems a catch-22: I want to render code in an org-mode export (html or
> latex pdf) where the snippet below done as a ~code block
>
>> (cons 1 nil) \to (1)
>
> actually renders \to as a proper right arrow (yields). Of course if I do the
> snippet as inline latex
>
> $> (cons 1 nil) \to (1)$
>
> I get the properly rendered right arrow, but now it's not in the sans mono code
> font. What can I do to have my cake and eat it too?
\to is defined in org-entities. Do you get what you want by setting
org-pretty-entities non nil?
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
next prev parent reply other threads:[~2016-02-27 20:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-27 20:24 Org-mode: How to render latex inside ~code~ Lawrence Bottorff
2016-02-27 20:41 ` Thomas S. Dye [this message]
2016-02-27 21:32 ` Lawrence Bottorff
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=m2a8mlkhrx.fsf@tsdye.com \
--to=tsd@tsdye.com \
--cc=borgauf@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).