From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: [beamer] What is the easiest way to inject latex code between block environments? Date: Tue, 17 Apr 2012 20:23:26 -0500 Message-ID: References: <005701cd1cff$d53486c0$7f9d9440$@us> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKJcM-0001tZ-FL for emacs-orgmode@gnu.org; Tue, 17 Apr 2012 21:23:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SKJcH-0003LE-77 for emacs-orgmode@gnu.org; Tue, 17 Apr 2012 21:23:34 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:34245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKJcG-0003KC-Te for emacs-orgmode@gnu.org; Tue, 17 Apr 2012 21:23:29 -0400 Received: by bkwq16 with SMTP id q16so6368234bkw.0 for ; Tue, 17 Apr 2012 18:23:26 -0700 (PDT) In-Reply-To: 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: Mikhail Titov Cc: emacs-orgmode@gnu.org On Tue, Apr 17, 2012 at 8:19 PM, John Hendy wrote: > On Tue, Apr 17, 2012 at 8:08 PM, Mikhail Titov wrote: >> Hello! >> >> I would like to explicitly define heights for columns that contain blocks to be able to use \vfill [1] in-between blocks. And here comes the problem. I kind of need to inject >> >> #+latex: \vfill >> >> before new block >> >> ** block2 >> >> but after \end{block} was emitted, not before. Is there an easy way to approach that? > > Everything in org-mode gets treated as belonging to the parent > headline. I don't think there's an easy way to do this except by > tweaking the .tex file after export and re-compiling via LaTeX > directly. > > I could be wrong, but I believe it's the same principle as why the > answer to these questions is "No": > -- http://orgmode.org/worg/org-faq.html#closing-outline-sections > > In other words... everything is always in some headline and what > you're trying to do is escape a headline to enter text in kind of a > "no man's land." Sorry to say, I don't think it's possible. > Actually, I was picturing doing this in between /frames/, not blocks. Since you're in a frame, you can just write the LaTeX syntax directly inside of your frame headline? ------------------- * Frame 1 \begin{block}{Block 1} stuff \end{block} \vfill \begin{block}{Block 2} more stuff \end{block} ** Frame 2 ------------------ What about that? John > > Best regards, > John > >> >> [1] http://tex.stackexchange.com/questions/15244/why-does-vfill-not-work-inside-a-beamer-column >> >> Mikhail >> >> >> >>