From de1b42a34d1d328f17d58808ea5162355f84640a Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 9 Sep 2018 10:59:46 +0200 Subject: [PATCH] [Org] Settings for listings package also for beamer --- site-lisp/db-org.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/site-lisp/db-org.el b/site-lisp/db-org.el index a566677..60d8fec 100644 --- a/site-lisp/db-org.el +++ b/site-lisp/db-org.el @@ -912,6 +912,18 @@ This is done only if the value of this variable is not null." ,(concat "\\documentclass[presentation]{beamer}\n" "[DEFAULT-PACKAGES]" "[PACKAGES]" + " +\\lstset{ + basewidth=0.5em, + keywordstyle=\\textcolor{blue!80!white}, + basicstyle=\\ttfamily, + commentstyle={\\itshape}, + frame=tb, + showspaces=false, + showtabs=false, + showstringspaces=false, +} +" "[EXTRA]\n") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}")