emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] change font-size in python plots depending on context


From: Thomas S. Dye
Subject: Re: [O] change font-size in python plots depending on context
Date: Mon, 19 Aug 2019 06:50:49 -1000
User-agent: mu4e 0.9.18; emacs 26.2

Aloha Johanna May,

This works:

#+name: fs
#+BEGIN_SRC emacs-lisp
10
#+END_SRC

#+RESULTS: fs
: 10

#+header: :var fontsize=fs() :results output
#+begin_src python
print(fontsize)
#+end_src

#+RESULTS:
: 10

Note "fs()" instead of "fs".

All the best,
Tom

--
Thomas S. Dye
http://tsdye.online/tsdye



reply via email to

[Prev in Thread] Current Thread [Next in Thread]