Browse Source

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
Nicolas Goaziou 10 years ago
parent
commit
73cd3ba7b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ox-beamer.el

+ 1 - 1
lisp/ox-beamer.el

@@ -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