diff options
author | Prabhu Ramachandran | 2017-11-22 17:26:04 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2017-11-22 17:26:04 +0530 |
commit | 97cc47ee334b81331d6bf1ef094ad9a88f78cd8d (patch) | |
tree | 03bd06b02eb0c4d4fe6d383b739ec03db16765b6 /advanced_python/macros.tex | |
parent | b64d87addfc4b90e3a2c93763eff8faf1e7cee21 (diff) | |
download | python-workshops-97cc47ee334b81331d6bf1ef094ad9a88f78cd8d.tar.gz python-workshops-97cc47ee334b81331d6bf1ef094ad9a88f78cd8d.tar.bz2 python-workshops-97cc47ee334b81331d6bf1ef094ad9a88f78cd8d.zip |
Add more useful exercises.
Move \py macro to macros.tex.
Diffstat (limited to 'advanced_python/macros.tex')
-rw-r--r-- | advanced_python/macros.tex | 3 |
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} |