[O] Beamer figure width

2015-04-15 Thread Ken Mankoff

I'm having trouble specifying image sizes in Beamer. I am using the following 
code. Is this correct syntax?

* Foo
** Bar
*** Baz
#+ATTR_LATEX: height=\textheight
[[./map.png]]

It exports to:

\section{Foo}
\label{sec-1}
\subsection{Bar}
\label{sec-1-1}
\begin{frame}[label=sec-1-1-1]{Baz}
\includegraphics[width=.9\linewidth]{./map.png}
\end{frame}

  -k.



Re: [O] Beamer figure width

2015-04-15 Thread Josiah Schwab
Hi Ken,

 I'm having trouble specifying image sizes in Beamer. I am using the
 following code. Is this correct syntax?

 * Foo
 ** Bar
 *** Baz
 #+ATTR_LATEX: height=\textheight
 [[./map.png]]

Instead, use

#+ATTR_LATEX: :height \textheight

See the subheading Images in LaTeX export on

http://orgmode.org/manual/LaTeX-specific-attributes.html

Best,
Josiah



Re: [O] Beamer figure width

2015-04-15 Thread Andreas Leha
Hi Ken,

Ken Mankoff mank...@gmail.com writes:
 I'm having trouble specifying image sizes in Beamer. I am using the following 
 code. Is this correct syntax?

 * Foo
 ** Bar
 *** Baz
 #+ATTR_LATEX: height=\textheight
 [[./map.png]]


I think that should be 
#+ATTR_LATEX: :height \textheight

Andreas