Selaa lähdekoodia

commands for racket/python text selection

Jeremy Siek 3 vuotta sitten
vanhempi
commit
71411e25d5
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  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}