ox-beamer: Use \columnwidth instead of \textwidth for columns

* lisp/ox-beamer.el (org-beamer--format-block): Use columnwidth
  instead of textwidth.

Thanks to Julien Cubizolles for suggesting it.
http://permalink.gmane.org/gmane.emacs.orgmode/90246
This commit is contained in:
Nicolas Goaziou 2014-08-29 09:47:46 +02:00
parent ccf52269aa
commit 73cd3ba7b3
1 changed files with 1 additions and 1 deletions

View File

@ -515,7 +515,7 @@ used as a communication channel."
;; One can specify placement for column only when
;; HEADLINE stands for a column on its own.
(if (equal environment "column") options "")
(format "%s\\textwidth" column-width)))
(format "%s\\columnwidth" column-width)))
;; Block's opening string.
(when (nth 2 env-format)
(concat