* [Babel] Source block highlighting in Beamer ...
@ 2014-09-03 1:19 aditya siram
2014-09-03 7:01 ` Alan Schmitt
0 siblings, 1 reply; 2+ messages in thread
From: aditya siram @ 2014-09-03 1:19 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 203 bytes --]
Hi all,
How do I get code on my beamer slides to print with color and highlighting?
I'm doing the standard:
#+BEGIN_SRC blah
....
#+END_SRC
but all my source blocks come out the same.
Thanks!
-deech
[-- Attachment #2: Type: text/html, Size: 323 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Babel] Source block highlighting in Beamer ...
2014-09-03 1:19 [Babel] Source block highlighting in Beamer aditya siram
@ 2014-09-03 7:01 ` Alan Schmitt
0 siblings, 0 replies; 2+ messages in thread
From: Alan Schmitt @ 2014-09-03 7:01 UTC (permalink / raw)
To: aditya siram; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 695 bytes --]
On 2014-09-02 20:19, aditya siram <aditya.siram@gmail.com> writes:
> Hi all,
> How do I get code on my beamer slides to print with color and
> highlighting? I'm doing the standard:
>
> #+BEGIN_SRC blah
> ....
> #+END_SRC
>
> but all my source blocks come out the same.
First have a look at the generated tex: what environment is used for
these blocks?
You can then have a look at
http://orgmode.org/manual/Literal-examples.html#fn-1 :
> Fontified code chunks in LaTeX can be achieved using either the
> listings or the minted package. Refer to org-latex-listings
> documentation for details.
I personally use minted.
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-03 7:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-03 1:19 [Babel] Source block highlighting in Beamer aditya siram
2014-09-03 7:01 ` Alan Schmitt
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.