I use beamer org-mode 8.2.10 to produce presentations.

In the following the width attribute (here 0.45) gets just ignored and replaced by 0.9

#+ATTR_LATEX: :width=0.45\linewidth

which produces


My work around is using this code instead:


which gives


So what went wrong here in the first variation? Is that some bug or am I missing something fundamental?

1 Answer 1


To fix this, use space (' ') instead of '='. For e.g.,

#+ATTR_LATEX: :width 0.45\linewidth
  • 1
    Unfortunately did not work! :-(
    – Tengis
    May 18, 2015 at 10:31
  • Hmmm.. I'm using the latest ELPA version and it works fine there. Maybe [[file:./osx.png]]?
    – dcherian
    May 19, 2015 at 13:41
  • 1
    Works for [[./foo.png]] but not for #+BEGIN_SRC ditaa Oct 12, 2015 at 7:01
  • 1
    #+ATTR_LATEX: :width 0.45\linewidth [[file:./screen.jpg]] work for me with the version of org mode downloaded today. Dec 26, 2015 at 21:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.