From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: change font-size in python plots depending on context Date: Mon, 19 Aug 2019 06:50:49 -1000 Message-ID: <87mug5yu8m.fsf@tsdye.online> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43027) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzks6-0000FD-UC for emacs-orgmode@gnu.org; Mon, 19 Aug 2019 12:51:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzks5-00067t-5v for emacs-orgmode@gnu.org; Mon, 19 Aug 2019 12:51:06 -0400 Received: from gateway23.websitewelcome.com ([192.185.48.251]:32359) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hzks4-00062M-P6 for emacs-orgmode@gnu.org; Mon, 19 Aug 2019 12:51:05 -0400 Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway23.websitewelcome.com (Postfix) with ESMTP id E1DDB5243 for ; Mon, 19 Aug 2019 11:50:52 -0500 (CDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: johanna.may@th-koeln.de Cc: emacs-org list 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