Răsfoiți Sursa

commands for racket/python text selection

Jeremy Siek 3 ani în urmă
părinte
comite
71411e25d5
1 a modificat fișierele cu 6 adăugiri și 0 ștergeri
  1. 6 0
      book.tex

+ 6 - 0
book.tex

@@ -37,6 +37,12 @@ moredelim=[is][\color{red}]{~}{~},
 showstringspaces=false
 }
 
+% material that is specific to the Racket edition of the book
+\newcommand{\racket}[1]{{\color{olive}{#1}}}
+
+% material that is specific to the Python edition of the book
+\newcommand{\python}[1]{{\color{purple}{#1}}}
+
 %%% Any shortcut own defined macros place here
 %% sample of author macro:
 \input{defs}