From: John Hendy <jw.hendy@gmail.com>
To: Martin Steffen <msteffen@ifi.uio.no>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: org latex/beamer math escape in a ``surrounding context'': $a$'s
Date: Fri, 4 Dec 2015 13:41:45 -0600 [thread overview]
Message-ID: <CA+M2ft_YxDcWqUDf7i+7cc7FODmD7Rau0tBKnj0=EvKDWGx+3A@mail.gmail.com> (raw)
In-Reply-To: <loom.20151204T200704-186@post.gmane.org>
On Fri, Dec 4, 2015 at 1:18 PM, Martin Steffen <msteffen@ifi.uio.no> wrote:
> Hi, I'd to have some math in beamer/latex. In LaTeX I'd write
>
> $a$'s
>
> The a is the math, the apostroph-s is the surrounding text. Math-escape
> works fine in org, but it seems the $ -- $ must be surrounded by blanks.
> In the above example, exporting to latex/beamer does not give the desired
> result. The immediately trailing "'s" get the $-signs interpreted
> verbatimely. Same applies for other surrounding contexts like
>
> ``$a$'' $a$s
>
> but ($a$) and "$a$" do a math-escape. Is there a solution for the above (I
> don't want to write $a$ 's)? Or is there a rationale behind that, so I know
> when to except an escape and when no?
Maybe not what you wanted to hear, but I've inquired about various
things like this before and due to issues with various things I've
opted primarily to just do \(math\). So:
\(a\)s
Does that work for you?
John
>
> Martin
>
>
>
>
next prev parent reply other threads:[~2015-12-04 19:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-04 19:18 org latex/beamer math escape in a ``surrounding context'': $a$'s Martin Steffen
2015-12-04 19:41 ` John Hendy [this message]
2015-12-04 20:16 ` Martin Steffen
2015-12-04 19:44 ` John Kitchin
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='CA+M2ft_YxDcWqUDf7i+7cc7FODmD7Rau0tBKnj0=EvKDWGx+3A@mail.gmail.com' \
--to=jw.hendy@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=msteffen@ifi.uio.no \
/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).