summaryrefslogtreecommitdiff
path: root/advanced_python/macros.tex
diff options
context:
space:
mode:
Diffstat (limited to 'advanced_python/macros.tex')
-rw-r--r--advanced_python/macros.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/advanced_python/macros.tex b/advanced_python/macros.tex
index 0dfe38b..b5d16e3 100644
--- a/advanced_python/macros.tex
+++ b/advanced_python/macros.tex
@@ -41,9 +41,10 @@
\newcommand{\typ}[1]{\textbf{\texttt{{#1}}}}
-
\newcommand{\kwrd}[1]{ \texttt{\textbf{\color{blue}{#1}}} }
+\newcommand{\py}[1]{\lstinline{#1}}
+
%%% This is from Fernando's setup.
% \usepackage{color}
% \definecolor{orange}{cmyk}{0,0.4,0.8,0.2}