emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Martin Steffen <msteffen@ifi.uio.no>
To: emacs-orgmode@gnu.org
Subject: org latex/beamer math escape in a ``surrounding context'': $a$'s
Date: Fri, 4 Dec 2015 19:18:19 +0000 (UTC)	[thread overview]
Message-ID: <loom.20151204T200704-186@post.gmane.org> (raw)

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?

Martin

             reply	other threads:[~2015-12-04 19:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-04 19:18 Martin Steffen [this message]
2015-12-04 19:41 ` org latex/beamer math escape in a ``surrounding context'': $a$'s John Hendy
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=loom.20151204T200704-186@post.gmane.org \
    --to=msteffen@ifi.uio.no \
    --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).