|
| From: | Titus von der Malsburg |
| Subject: | How to set options for verbatim environments produced by org babel |
| Date: | Mon, 09 Nov 2020 12:28:31 +0100 |
| User-agent: | mu4e 1.5.5; emacs 28.0.50 |
I’m using the ~Verbatim~ environment from the fancyvrb package to display Org
Babel results in my Beamer slides. The ~Verbatim~ environment accepts options
for setting the font size among other things. This is useful when the output
of a code block has longer lines that do not fit on a slide.
Is there a way to set options for the verbatim environment in Org mode?
Example: This Org source
#+BEGIN_SRC R :exports results :results value output
1+2
#+END_SRC
exports to
\begin{verbatim}
3
\end{verbatim}
But I’d like to be able to translate something like this:
#+BEGIN_SRC R :exports results :results value output :options
[fontsize=\small]
1+2
#+END_SRC
to
\begin{verbatim}[fontsize=\small]
3
\end{verbatim}
I’m sure there is a way to do this but couldn’t find it.
Titus
| [Prev in Thread] | Current Thread | [Next in Thread] |