emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Mikhail Titov <mlt@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: [beamer] What is the easiest way to inject latex code between block environments?
Date: Tue, 17 Apr 2012 20:23:26 -0500	[thread overview]
Message-ID: <CA+M2ft9-BwWA8hZhAVj5fmaJN7Y1-PW27C696C8G3VS=tbMTcA@mail.gmail.com> (raw)
In-Reply-To: <CA+M2ft_sN9JjpvNsouMemma+3X1Xxh7JHUK-h5Fb3w--F_Hz=g@mail.gmail.com>

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
>>
>>
>>
>>

  reply	other threads:[~2012-04-18  1:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-18  1:08 [beamer] What is the easiest way to inject latex code between block environments? Mikhail Titov
2012-04-18  1:19 ` John Hendy
2012-04-18  1:23   ` John Hendy [this message]
2012-04-18  4:46     ` Mikhail Titov
2012-04-19  1:19       ` Mikhail Titov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+M2ft9-BwWA8hZhAVj5fmaJN7Y1-PW27C696C8G3VS=tbMTcA@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mlt@gmx.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).