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 ...
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{Presentation agenda}\tableofcontents[currentsection]\end{...
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 ...
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 ...
7
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 ...
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
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!
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’, ‘:...
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
...
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-...
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[<...
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
#+...
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 ...
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 ...
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 ...
3
votes
Org-mode 8.3: Beamer blocks without title no longer work?
I think it works ok if you remove the :B_block: from your headlines.
* Introduction
** A block
:PROPERTIES:
:BEAMER_env: block
:END:
Some text in the block.
** ...
3
votes
Accepted
How to get title and author in org mode export to beamer presentation?
So it looks like mixed Org installation is to blame. It appears that Org FAQ has something to say on this subject:
Is my Orgmode installation mixed?
Emacs is distributed with a version of ...
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\...
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 ...
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
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.
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 ...
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 ...
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 ...
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 ...
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:
...
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.)
...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
beamer × 67org-mode × 51
org-export × 33
latex × 25
auctex × 8
pdf × 4
imenu × 2
spacemacs × 1
init-file × 1
org-babel × 1
font-lock × 1
syntax-highlighting × 1
images × 1
org-link × 1
preview-latex × 1
r × 1
org-ref × 1
async × 1
reftex-mode × 1
outline-mode × 1
batch-mode × 1
exporting × 1
latex-header × 1