Просмотр исходного кода

commands for racket/python text selection

Jeremy Siek 3 лет назад
Родитель
Сommit
71411e25d5
1 измененных файлов с 6 добавлено и 0 удалено
  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}