From: Manfred Lotz <manfred.lotz@arcor.de>
To: emacs-orgmode@gnu.org
Subject: minted question
Date: Mon, 21 Jul 2014 21:30:20 +0200 [thread overview]
Message-ID: <20140721213020.73f1c01d@arcor.com> (raw)
Hi there,
I have a an org file which gets exported to beamer. The following
example (although I do not know if there are errors) works fine.
Now I would like to get a frame around the perl code, and also line
numbers. How can I define this in the org file?
--
Thanks,
Manfred
Minimal example:
#+TITLE: My slides
#+AUTHOR: Manfred Lotz
#+EMAIL: manfred.lotz@yahoo.de
#+DATE: 2014-07-21
#+LaTeX_CLASS_options: [bigger, allowframebreaks]
#+LaTeX_HEADER: \usepackage{minted}
#+LaTeX_HEADER: \usemintedstyle{emacs}
#+OPTIONS: H:2 toc:t num:t
#+TOC: headlines [currentsection]
#+startup: beamer
#+BEAMER_THEME: CambridgeUS
#+BEAMER_COLOR_THEME: dolphin
* Introduction
** A simple slide
The following contains some perl code
- a minimal perl example
#+BEGIN_SRC perl
#! /usr/bin/perl
use strict;
use warnings;
use 5.010;
say 'hey';
#+END_SRC
- the previous point shows the use of the minted environment
next reply other threads:[~2014-07-21 19:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-21 19:30 Manfred Lotz [this message]
2014-07-21 19:53 ` minted question Thomas S. Dye
2014-07-21 20:14 ` Manfred Lotz
2014-07-21 20:48 ` Thomas S. Dye
2014-07-22 4:23 ` Manfred Lotz
2014-07-22 8:10 ` Nick Dokos
2014-07-22 17:22 ` Thomas S. Dye
2014-07-25 6:33 ` Manfred Lotz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140721213020.73f1c01d@arcor.com \
--to=manfred.lotz@arcor.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).