I don't get any effect if I put the following line at the start of my Org-mode file:
#+BEAMER_THEME: metropolis
Indeed, whatever theme name I write after #+BEAMER_THEME:
, there's not mention of it in the resulting .tex
file, and I always get the default theme.
I'm using Org mode 9.5 and Emacs 27.2. Am I missing something here? What's the correct way to change the Beamer theme?
EDIT: I'm using Doom Emacs v2.0.9
C-c C-e l l
(LaTeX export) instead ofC-c C-e l b
(Beamer export). Does the\documentclass
line saybeamer
?[l] Export to LaTeX
section, I only have[L] As LaTeX buffer
,[p] As PDF file
,[l] As LaTeX file
, and[o] As PDF file and open
options. Is there any package I should install or is the Beamer export supposed to be available by default? Yes, the first line of the generated LaTeX file is the following:\documentclass[presentation]{beamer}
(require 'ox-beamer)
- add this to your init file towards the end.M-x org-beamer-export-to-pdf
works, and once I ran it, it added the specific Beamer export option in my Org-mode export buffer!require
form does) and then the function is executed. DoC-h i g (emacs) Lisp libraries
to learn more about autoloads, loading libraries, theload-path
and more.