* [Bug] Org-beamer block display math
@ 2010-11-28 5:38 Jeff Horn
2010-11-28 19:57 ` Eric S Fraga
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Horn @ 2010-11-28 5:38 UTC (permalink / raw
To: Org-mode ml
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 expect the math to be centered vertically within the block. Is there
a workaround?
Please reference the screenshot (it's small) in lieu of me posting the
org and pdf files. They're both in the shot.
http://cl.ly/3PjB
Thanks for any help.
Jeff
--
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University
(704) 271-4797
jhorn@gmu.edu
jrhorn424@gmail.com
http://www.failuretorefrain.com/jeff/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bug] Org-beamer block display math
2010-11-28 5:38 [Bug] Org-beamer block display math Jeff Horn
@ 2010-11-28 19:57 ` Eric S Fraga
2010-11-28 20:37 ` Jeff Horn
0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2010-11-28 19:57 UTC (permalink / raw
To: Jeff Horn; +Cc: Org-mode ml
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)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bug] Org-beamer block display math
2010-11-28 19:57 ` Eric S Fraga
@ 2010-11-28 20:37 ` Jeff Horn
0 siblings, 0 replies; 3+ messages in thread
From: Jeff Horn @ 2010-11-28 20:37 UTC (permalink / raw
To: Eric S Fraga; +Cc: Org-mode ml
> 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 noticed this as well.
> I've taken to inserting
>
> #+latex: \vspace*{-0.5cm}
That works, fine. Thanks for the tip!
--
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University
(704) 271-4797
jhorn@gmu.edu
jrhorn424@gmail.com
http://www.failuretorefrain.com/jeff/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-28 20:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-28 5:38 [Bug] Org-beamer block display math Jeff Horn
2010-11-28 19:57 ` Eric S Fraga
2010-11-28 20:37 ` Jeff Horn
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.