emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* minted question
@ 2014-07-21 19:30 Manfred Lotz
  2014-07-21 19:53 ` Thomas S. Dye
  0 siblings, 1 reply; 8+ messages in thread
From: Manfred Lotz @ 2014-07-21 19:30 UTC (permalink / raw)
  To: emacs-orgmode

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?


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
* 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';
- the previous point shows the use of the minted environment

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-07-25  6:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-21 19:30 minted question Manfred Lotz
2014-07-21 19:53 ` 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

Code repositories for project(s) associated with this public inbox


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).