emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Beamer figure width
@ 2015-04-15 13:22 Ken Mankoff
  2015-04-15 13:26 ` Andreas Leha
  2015-04-15 13:40 ` Josiah Schwab
  0 siblings, 2 replies; 3+ messages in thread
From: Ken Mankoff @ 2015-04-15 13:22 UTC (permalink / raw)
  To: Org Mode


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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Beamer figure width
  2015-04-15 13:22 Beamer figure width Ken Mankoff
@ 2015-04-15 13:26 ` Andreas Leha
  2015-04-15 13:40 ` Josiah Schwab
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Leha @ 2015-04-15 13:26 UTC (permalink / raw)
  To: emacs-orgmode

Hi Ken,

Ken Mankoff <mankoff@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Beamer figure width
  2015-04-15 13:22 Beamer figure width Ken Mankoff
  2015-04-15 13:26 ` Andreas Leha
@ 2015-04-15 13:40 ` Josiah Schwab
  1 sibling, 0 replies; 3+ messages in thread
From: Josiah Schwab @ 2015-04-15 13:40 UTC (permalink / raw)
  To: Ken Mankoff; +Cc: Org Mode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-15 13:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-15 13:22 Beamer figure width Ken Mankoff
2015-04-15 13:26 ` Andreas Leha
2015-04-15 13:40 ` Josiah Schwab

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