14 votes

How to change font size in code listings in Org-Mode/Beamer

It depends on whether you load the listings package in your .emacs file. You can check the contents of the Emacs variable org-latex-default-packages-alist (use the key combo C-h v to see the help and ...
ph0t0nix's user avatar
  • 1,119
8 votes
Accepted

How to change the color of some words in Beamer using Org-mode

Two ways to color text in org-mode come into my mind: 1.) Simply add the usual LaTeX code @@latex:{\color{green}@@This@@latex:}@@ is green. 2.) Use John Kitchin's org-colored-text.el After ...
Timm's user avatar
  • 1,589
7 votes
Accepted

Org mode: How can I add a section-name only frame to beamer slides?

If you add the following code at the beginning of your org file: #+BEAMER_HEADER: \AtBeginSection[]{\begin{frame}<beamer>\frametitle{Presentat‌​‌​ion agenda}\tableofcontents[currentsection]\end{...
Lgen's user avatar
  • 1,420
7 votes
Accepted

org-mode Beamer export: can't change format of title page and TOC

Instead of #+LaTeX: you should try #+BEAMER_HEADER: for all beamer specific configuration lines. For example: #+BEAMER_HEADER: \setbeamertemplate{navigation symbols}{} removes navigation symbols in ...
Lgen's user avatar
  • 1,420
7 votes
Accepted

text after code block in beamer

You need to use a "closing" heading: *** :B_ignoreheading: :PROPERTIES: :BEAMER_env: ignoreheading :END: Hence, your example should look like ...
Timm's user avatar
  • 1,589
6 votes

orgmode beamer: set image width for source block output?

Dang! This line #+ATTR_LATEX: width=0.4\textwidth has got wrong syntax. It should be: #+ATTR_LATEX: :width 0.4\textwidth
biocyberman's user avatar
6 votes

how to auto scale images to fit into a slide in org mode export to beamer?

Another option is to use #+ATTR_LATEX: :width 1.06\textwidth [[file:curves.jpg]] This is described here: https://orgmode.org/manual/Images-in-LaTeX-export.html For specifying image ‘:width’, ‘:...
loris's user avatar
  • 315
6 votes

Org Beamer Presentation: blocks do not work?

Please change #+options: H:3 to #+options: H:2. This is working for me with Emacs 25.1, Org 9.0.4. Maybe #+beamer_frame_level: became obsolete in Org9, the example is from 2010!
Dieter.Wilhelm's user avatar
5 votes

Export an org-mode file as a PDF via command line?

I'm using self-compiled emacs 27.0.9x on Linux and macOS. To generate my presentations, I use org-mode. emacs -Q \ --batch "(require 'ox-beamer)" \ <input>.org -f org-beamer-export-to-pdf ...
Pedro A. Aranda's user avatar
4 votes
Accepted

How to activate AUCTeX support for beamer without preamble?

First of all, I suggest you create a proper class file beamer-preamble.cls like this: \NeedsTeXFormat{LaTeX2e} \ProvidesClass{beamer-preamble} [2017/04/26 v0.1 My Beamer Preamble] \LoadClass[<...
Arash Esbati's user avatar
  • 1,975
4 votes
Accepted

Org mode: export empty heading with tags

That certainly is an edge case. Some might argue that you can't have a heading without some content in the heading, but your use case seems like a reasonable use of the outline. org-element-headline-...
ebpa's user avatar
  • 7,479
4 votes
Accepted

sectioning in org-mode to beamer does not work

(If I understand well,) the correct way to do this is to replace #+BEAMER_FRAME_LEVEL: 2 by H:2 in the global options: #+TITLE: Abandon all hope #+startup: beamer #+LaTeX_CLASS: beamer #+...
Philopolis's user avatar
  • 1,134
3 votes
Accepted

how to auto scale images to fit into a slide in org mode export to beamer?

after countless hours of research here is the solution. includegraphics accepts width parameter and by using textwidth variable we could set the correct size. #+LaTeX:\includegraphics[width = 1.06\...
A_P's user avatar
  • 672
3 votes

text after code block in beamer

It's a pity that it's not mentioned in the manual nor in the tutorial, since it's a more natural mapping of constructs from org to beamer, but you can use special org blocks (avoiding the boilerplate ...
memeplex's user avatar
  • 409
3 votes

How to change font size in code listings in Org-Mode/Beamer

Assuming you use the listing package, which means you have in your org mode file preamble #+LATEX_HEADER: \usepackage{listings} you can set any specific option available in the \lstset{} command. To ...
user1551605's user avatar
3 votes
Accepted

Auctex imenu add frames to list?

You need to make AUCTeX aware of the frame environment, i.e., \frametitle: (add-to-list 'TeX-outline-extra '("\\\\frametitle\\b" 4)) From the documentation on Tex-outline-extra: List of extra TeX ...
Timm's user avatar
  • 1,589
3 votes

difference between properties and tags in the upper right corner

See the footnote in the Frames and Blocks in Beamer section of the Org mode manual: (1) If ‘BEAMER_ENV’ is set, Org export adds ‘B_environment’ tag to make it visible. The tag serves as a visual aid ...
NickD's user avatar
  • 29.8k
2 votes
Accepted

How to separate normal text from the frame block?

Your problem is the structure of org-mode documents. The stuff from a head line up to a head line of at least the same level belongs to the heading. (See the worg-documentation of org-mode syntax.) ...
Tobias's user avatar
  • 33.2k
2 votes
Accepted

How to add Beamer `\frametitle` to `imenu`?

Try this (push '("frametitle" 2) TeX-outline-extra) See the documentation for TeX-outline-extra. The first element of the list being added is a regexp and the second is the imenu level. You can also ...
justbur's user avatar
  • 1,510
2 votes

Export slide and handout version of same beamer slides in org subtree

After edebug-ing through org-export-to-file and peeking at related posts, including Export to multiple files according to tags, I have come up with the solution below. It keeps the necessary ...
Niclas Börlin's user avatar
2 votes
Accepted

How to change the appearance of list bullets in LaTeX/beamer exports?

I've learned here that there are two ways to modify an \item: - [@123] will set the counter of enumerations (or "ordered lists") to 123. - [$Rightarrow$] :: bla will generate a "description". Both ...
Timm's user avatar
  • 1,589
2 votes
Accepted

AUCTeX previews are not displayed correctly with beamer

preview as an Emacs package depends on preview as a LaTeX package. When you generate previews, a line \usepackage{preview} is automatically injected in your buffer before processing it with LaTeX, so ...
gboffi's user avatar
  • 614
2 votes
Accepted

Having org-mode beamer / latex to ignore below a certain tag

You can mark headings with tags, and set options for including and excluding tags from export. E.g. #+EXCLUDE_TAGS: slow * My work ** This section takes time :slow: ** This other section is OK
Juancho's user avatar
  • 5,455
2 votes
Accepted

org-mode source code block using minted doesn't indent exported ruby correctly

In order to ensure that source code formatting is preserved in exports from Org-mode, set the variables org-src-preserve-indentation to 't', and indent-tabs-mode to 'nil' using customize-variable.
Riley's user avatar
  • 36
2 votes

Org-mode 8.3: Beamer blocks without title no longer work?

The answer that @Lgen gave works as far as the export is concerned, but it breaks visibility cycling (the headline level is lifted). As the thread on the org-mode mailing list suggests, empty ...
Timm's user avatar
  • 1,589
2 votes

How to change the color of some words in Beamer using Org-mode

As a complement to @Timm answer, you can define a macro instead of having to write: @@latex:{\color{green}@@This@@latex:}@@ every times. This is slightly more readable and less verbose. Here is a ...
Picaud Vincent's user avatar
2 votes
Accepted

Using org-ref in beamer mode

You have to allow frame breaking by adding the corresponding Beamer option as an Org property to the slide heading: * References :PROPERTIES: :BEAMER_opt: allowframebreaks,label= :END: ...
Simka's user avatar
  • 196
2 votes

Export handout with notes using org-mode and beamer

Here is an example of a slide with a note: * Slide - Item 1 - item 2 ** Note :PROPERTIES: :BEAMER_ENV: note :END: This is a note. IOW, a second level section with a BEAMER_ENV property ...
NickD's user avatar
  • 29.8k
2 votes
Accepted

Org-mode not exporting frames correctly using beamer

The commands to export a beamer document to a {buffer, file, PDF file, PDF file and Open} are different from the normal LaTeX export commands: C-c C-e l B exports to a LaTeX beamer buffer. C-c C-e l ...
NickD's user avatar
  • 29.8k
2 votes
Accepted

Different spacing in table of contents in Org-Mode Beamer export

Following @samcarter_is_at_topanswers.xyz suggestion, let's add a plain option to the main outline frame. You can do that by customizing the variable org-beamer-outline-frame-options or by adding a ...
NickD's user avatar
  • 29.8k

Only top scored, non community-wiki answers of a minimum length are eligible