diff --git a/site-lisp/db-org.el b/site-lisp/db-org.el index 9c668b0..d8e0825 100644 --- a/site-lisp/db-org.el +++ b/site-lisp/db-org.el @@ -889,8 +889,21 @@ This is done only if the value of this variable is not null." ,(concat "\\documentclass{scrartcl}\n" "[DEFAULT-PACKAGES]" "[PACKAGES]" - ;; XXX: this needs some additional - ;; settings for the listings package + " +\\lstset{ + basewidth=0.5em, + keywordstyle=\\bfseries, + basicstyle=\\sffamily, + mathescape=true, + texcl=true, + commentstyle={\\itshape}, + columns=fullflexible, + frame=tb, + showspaces=false, + showtabs=false, + showstringspaces=false, +} +" "[EXTRA]\n") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}")