|
From: | Gary Oberbrunner |
Subject: | Re: [O] Evaluating simple inline expressions in org-mode |
Date: | Wed, 3 Feb 2016 11:14:44 -0500 |
On Wednesday, 3 Feb 2016 at 08:45, Gary Oberbrunner wrote:
[...]
> Of course I made up that {{{}}} syntax, that's not a real thing. I've seen
> org-mode tables with calc, but I'm hoping for something simpler, just
> inline math _expression_ eval. (I'm fine with elisp, calc, whatever.)
As Ken has shown¸ you can use babel for inline evaluation. Note that
Emacs calc is one of the languages supported by babel so src_calc(2*pi)
works as well. I'm not sure how you define variables in calc however...
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.90.1, Org release_8.3.3-535-g7213aa
[Prev in Thread] | Current Thread | [Next in Thread] |