From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: latex export and beamer columns Date: Mon, 23 Nov 2009 14:55:53 +0100 Message-ID: References: <876394m49f.wl%ucecesf@ucl.ac.uk> <3CB39269-FB18-4155-AF32-00F6B46F8061@gmail.com> <878wdylpw5.wl%ucecesf@ucl.ac.uk> <876392lhfh.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCZOd-0000GY-IH for emacs-orgmode@gnu.org; Mon, 23 Nov 2009 08:56:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCZOY-0000DH-OW for emacs-orgmode@gnu.org; Mon, 23 Nov 2009 08:56:03 -0500 Received: from [199.232.76.173] (port=41016 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCZOY-0000D1-9K for emacs-orgmode@gnu.org; Mon, 23 Nov 2009 08:55:58 -0500 Received: from mail-ew0-f224.google.com ([209.85.219.224]:48156) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCZOX-0004S1-Nn for emacs-orgmode@gnu.org; Mon, 23 Nov 2009 08:55:58 -0500 Received: by ewy24 with SMTP id 24so2015235ewy.26 for ; Mon, 23 Nov 2009 05:55:56 -0800 (PST) In-Reply-To: <876392lhfh.wl%ucecesf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga Cc: org-mode mailing list Hi Eric, I am now getting interested in beamer support. I think this is interesting enough to implement special support for making beamer slides. Can I ask you to think about it in general terms, what would be useful to have? One of the problems with your most recent solution for the columns problem is that the document no longer exports really well to a normal LaTeX document - or is this no issue because beamer has its own way to produce handouts, so that the LaTeX export of a document intended for beamer is not so interesting? But also in a broader sense: What would be useful? I think making slides in this way, through org, could be extremely fast and useful. - Carsten On Nov 22, 2009, at 4:15 PM, Eric S Fraga wrote: >> At Sat, 21 Nov 2009 14:34:18 +0100, >> Carsten Dominik wrote: > >>> Anything missing in Org that we should implement to support this >>> better? > > Actually, going through the set of lectures I am currently preparing, > I am finding that there is one thing missing that I haven't needed > before in latex export: the ability to centre a figure without having > to use a float environment. > > Back in September, early October, there was a thread about image > placement in latex export: > > http://article.gmane.org/gmane.emacs.orgmode/18174/ > > There was a number of use cases discussed: inline placement versus > float placement. There is one use case missing, one that is > particularly useful for presentations, although not often necessary > for articles say, namely a figure centred on a line without a caption > and without floating. This seemed to be present at some point in the > past but has disappeared, unless I have misunderstood the state of > play... > > Basically, I would like to do something like: > > ,---- > | In a double pipe heat exchanger, > | > | [[file:images/double-pipe-heat-exchanger.png]] > | > | the heat transfer etc. ad nauseum... > `---- > > and have that figure centred on the line instead of left aligned as it > would currently appear. > > If I add a #+label: the image does appear centred but as this is done > by using a latex figure environment, a Figure: caption (empty) is > added which isn't particularly useful in this case! > > There *is* a solution, but it's a bit messy, e.g.: > > ,---- > | > | \hfill > | #+attr_latex: width=0.6\textwidth > | [[file:images/double-pipe-heat-exchanger.png]] > | \hspace*{\fill} \\ > | > `---- > > By the way, an \hfill at the end is not sufficient to centre the > image. > > I have no solution to propose for incorporating something like this > into org-mode other than possibly making use of a placement=centre > (oops, center if you prefer american spelling) option on attr_latex > which would put the includegraphics within a \centerline or \centering > environment. > > Thanks, > eric - Carsten