This is one of my slides:
** Test image width
*** First sub :B_block:BMCOL:
:PROPERTIES:
:BEAMER_env: block
:BEAMER_col: 0.5
:END:
#+header: :exports results
#+BEGIN_SRC ditaa :file images/hello-world-round.png :cmdline -r
+--------------+
| |
| Hello World! |
| |
+--------------+
#+END_SRC
#+ATTR_LATEX: width=0.4\textwidth
#+RESULTS:
[[file:images/hello-world-round.png]]
*** Second sub :B_block:BMCOL:
The #+ATTR_LATEX: width=0.4\textwidth
does not work. I still get image with width=\textwidth
.
How do I set width for the image exported by the SRC
block?