On Wednesday, 28 Nov 2018 at 16:09, Loris Bennett wrote: > Hi, > > I want to specify the size of a graphic in an Beamer presentation > generated from my org file. The following > > #+ATTR_LATEX: :height 0.75\textheight > > works, but > > #+ATTR_LATEX: :height 0.75\beamer@frametextheight > > I get the error > > ! Undefined control sequence. > \Gin@@eheight ->0.5\beamer > @frametextheight > > I assume I need to insert a \makeatletter at the appropriate point. > Where would that be?
You might find it easier to create your own variable in the header of the LaTeX file and use that directly, as in (untested): #+latex_header: \makeatletter\let\mytextheight\beamer@frametexheight\makeatother ... #+attr_latex: :height 0.75\mytextheight -- Eric S Fraga via Emacs 27.0.50, Org release_9.1.14-1035-gfeb442