From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy <jw.hendy@gmail.com> 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: <CA+M2ft9-BwWA8hZhAVj5fmaJN7Y1-PW27C696C8G3VS=tbMTcA@mail.gmail.com> References: <005701cd1cff$d53486c0$7f9d9440$@us> <CA+M2ft_sN9JjpvNsouMemma+3X1Xxh7JHUK-h5Fb3w--F_Hz=g@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from eggs.gnu.org ([208.118.235.92]:48105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <jw.hendy@gmail.com>) 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 <jw.hendy@gmail.com>) 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 <jw.hendy@gmail.com>) 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 <emacs-orgmode@gnu.org>; Tue, 17 Apr 2012 18:23:26 -0700 (PDT) In-Reply-To: <CA+M2ft_sN9JjpvNsouMemma+3X1Xxh7JHUK-h5Fb3w--F_Hz=g@mail.gmail.com> List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=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 <mlt@gmx.us> Cc: emacs-orgmode@gnu.org On Tue, Apr 17, 2012 at 8:19 PM, John Hendy <jw.hendy@gmail.com> wrote: > On Tue, Apr 17, 2012 at 8:08 PM, Mikhail Titov <mlt@gmx.us> 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 >> >> >> >>