Skip to main content

13.8.3 Frames and Blocks in Beamer

Org transforms heading levels into Beamer’s sectioning elements, frames and blocks. Any Org tree with a not-too-deep-level nesting should in principle be exportable as a Beamer presentation.

  • Org headlines become Beamer frames when the heading level in Org is equal to org-beamer-frame-level or β€˜H’ value in a β€˜OPTIONS’ line (see Export Settings).

    Org overrides headlines to frames conversion for the current tree of an Org file if it encounters the β€˜BEAMER_ENV’ property set to β€˜frame’ or β€˜fullframe’. Org ignores whatever org-beamer-frame-level happens to be for that headline level in the Org tree. In Beamer terminology, a full frame is a frame without its title.

  • Org exports a Beamer frame’s objects as block environments. Org can enforce wrapping in special block types when β€˜BEAMER_ENV’ property is set1. For valid values see org-beamer-environments-default. To add more values, see org-beamer-environments-extra.

  • If β€˜BEAMER_ENV’ is set to β€˜appendix’, Org exports the entry as an appendix. When set to β€˜note’, Org exports the entry as a note within the frame or between frames, depending on the entry’s heading level. When set to β€˜noteNH’, Org exports the entry as a note without its title. When set to β€˜againframe’, Org exports the entry with β€˜\againframe’ command, which makes setting the β€˜BEAMER_REF’ property mandatory because β€˜\againframe’ needs frame to resume.

    When β€˜ignoreheading’ is set, Org export ignores the entry’s headline but not its content. This is useful for inserting content between frames. It is also useful for properly closing a β€˜column’ environment. @end itemize

    When β€˜BEAMER_ACT’ is set for a headline, Org export translates that headline as an overlay or action specification. When enclosed in square brackets, Org export makes the overlay specification a default. Use β€˜BEAMER_OPT’ to set any options applicable to the current Beamer frame or block. The Beamer export back-end wraps with appropriate angular or square brackets. It also adds the β€˜fragile’ option for any code that may require a verbatim block.

    To create a column on the Beamer slide, use the β€˜BEAMER_COL’ property for its headline in the Org file. Set the value of β€˜BEAMER_COL’ to a decimal number representing the fraction of the total text width. Beamer export uses this value to set the column’s width and fills the column with the contents of the Org entry. If the Org entry has no specific environment defined, Beamer export ignores the heading. If the Org entry has a defined environment, Beamer export uses the heading as title. Behind the scenes, Beamer export automatically handles LaTeX column separations for contiguous headlines. To manually adjust them for any unique configurations needs, use the β€˜BEAMER_ENV’ property.

  1. If β€˜BEAMER_ENV’ is set, Org export adds β€˜B_environment’ tag to make it visible. The tag serves as a visual aid and has no semantic relevance.↩