langs.sty
changeset 242 35104ee14f87
parent 239 68d98140b90b
child 254 dcd4688690ce
--- a/langs.sty	Sun Sep 07 08:37:44 2014 +0100
+++ b/langs.sty	Sat Sep 13 04:30:25 2014 +0100
@@ -61,4 +61,5 @@
 
 
 \newcommand{\code}[1]{{\lstinline{#1}}}
-\newcommand{\pcode}[1]{{\lstset{language={},keywordstyle=\color{black}}\lstinline{#1}}}
+\newcommand{\pcode}[1]{\mbox{\lstset{language={},keywordstyle=\color{black}}\lstinline!#1!}}
+\makeatother