emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Jeff Horn <jrhorn424@gmail.com>
Cc: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: [Bug] Org-beamer block display math
Date: Sun, 28 Nov 2010 19:57:26 +0000	[thread overview]
Message-ID: <87r5e55ihl.fsf@ucl.ac.uk> (raw)
In-Reply-To: <AANLkTimpsW8WeR5HpCseNdn3wj25RXYCCER6Q05J1jzb@mail.gmail.com> (Jeff Horn's message of "Sun, 28 Nov 2010 00:38:38 -0500")

Jeff Horn <jrhorn424@gmail.com> writes:

> When marking a block to call out display math, I notice an extra line
> break above the display math. I believe this occurs because the block
> is given it's own section.

I've noticed this as well recently [1].  However, I do not believe it is
anything org is doing as the latex code generated is quite
straightforward.  For instance, I get:

--8<---------------cut here---------------start------------->8---
\begin{column}{0.5\textwidth}
\begin{block}{Model}
\label{sec-3_1_2}


      \begin{align*}
        \Diff{T(x)}{x} & = - \frac{Q}{kA} \\
        T(0) &= 600 \\
        T(L) &= 20
      \end{align*} 
\end{block}
\end{column}
--8<---------------cut here---------------end--------------->8---

The two blank lines between the label and the beginning of the align do
not do anything.  The extra space in the resulting block in the PDF is
there whether these lines are there or not.

> I expect the math to be centered vertically within the block. Is there
> a workaround?

I've taken to inserting

    #+latex: \vspace*{-0.5cm}

just before my maths.

HTH,
eric

Footnotes: 

[1] which only means that I have started doing a significant amount of
    beamer work in org after a break of a number of weeks so any changes
    in org et al. could have happened any time in the past couple of
    months...

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.148.gc3b7e)

  reply	other threads:[~2010-11-28 19:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-28  5:38 [Bug] Org-beamer block display math Jeff Horn
2010-11-28 19:57 ` Eric S Fraga [this message]
2010-11-28 20:37   ` Jeff Horn

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=87r5e55ihl.fsf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=jrhorn424@gmail.com \
    /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).