From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Help with beamer environments Date: Thu, 20 Jun 2013 13:39:22 +0530 Message-ID: <20130620080922.GA12128@panahar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpZvv-00040D-Nq for emacs-orgmode@gnu.org; Thu, 20 Jun 2013 04:09:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpZvu-0002Ui-Kv for emacs-orgmode@gnu.org; Thu, 20 Jun 2013 04:09:31 -0400 Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]:64319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpZvu-0002Ud-Do for emacs-orgmode@gnu.org; Thu, 20 Jun 2013 04:09:30 -0400 Received: by mail-pa0-f51.google.com with SMTP id lf11so5997450pab.24 for ; Thu, 20 Jun 2013 01:09:29 -0700 (PDT) Received: from panahar ([125.63.112.203]) by mx.google.com with ESMTPSA id wi6sm26786241pbc.22.2013.06.20.01.09.27 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Jun 2013 01:09:28 -0700 (PDT) Content-Disposition: inline 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode I am trying to use textpos to position images at specific location on a frame. I would like something like this in the beamer export: \begin{textblock}{10}(3,3) \visible <2-> { \includegraphics[width=.9\linewidth]{scatterplot2.png} } \end{textblock} I have defined the following beamer environment. (add-to-list 'org-beamer-environments-extra '("textpos1" "w" "\\begin{textblock}{%h}(3,3) \\visible %a {" "} \\end{textblock}")) The problem is (3,3) is fixed in the above specification. How can I specify it for a given headline? I have tried various ways of generalising this but nothing seems to work. For example, if I use the following: (add-to-list 'org-beamer-environments-extra '("textpos1" "w" "\\begin{textblock}%h \\visible %a {" "} \\end{textblock}")) and write the headline as {10}(3,3), I get \{10\}(3,3) in beamer export rather than {10}(3,3). How does one use the escape %o? I have looked through ox-beamer.el, worg and mailing list archives, but could not find a clear explanation. Will be grateful for a pointer. Vikas