On Friday,  9 Dec 2016 at 16:42, Matt Price wrote:
> I think I am getting closer, actually (details soon, when I have a
> fully working  solution)).

I look forward to seeing it!

> Meanwhile, I'd love to see an example in beamer -- I don't know
> anything about beamer myself and this might be an opportunity to
> learn. 

Attached are an org file with resulting beamer (using default rather
simple style).

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.1-49-ga43eac
#+options: toc:nil
#+startup: beamer
* The slide
** The code                                             :B_block:BMCOL:
:PROPERTIES:
:BEAMER_col: 0.7
:BEAMER_env: block
:END:
Define an inline function:
#+name: thecode
#+begin_src octave :exports both
  f = @(x) (x(1)-3)^2+(x(2)-5)^2+8;
  f([5, 6])
#+end_src 
** The results                                          :B_block:BMCOL:
:PROPERTIES:
:BEAMER_col: 0.3
:BEAMER_env: block
:END:
The result from applying that function to the vector [5, 6]:

#+results: thecode
: 13

Attachment: cols.pdf
Description: Adobe PDF document

Attachment: signature.asc
Description: PGP signature

Reply via email to