From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [Bug] Org-beamer block display math Date: Sun, 28 Nov 2010 19:57:26 +0000 Message-ID: <87r5e55ihl.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=49519 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMnNQ-0005tM-Ow for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 14:57:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMnNP-0003sn-LX for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 14:57:36 -0500 Received: from vscane-a2.ucl.ac.uk ([144.82.108.42]:57003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PMnNP-0003sI-Fo for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 14:57:35 -0500 In-Reply-To: (Jeff Horn's message of "Sun, 28 Nov 2010 00:38:38 -0500") 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: Jeff Horn Cc: Org-mode ml Jeff Horn 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)