[plt-scheme] [scribble] boxing/highlighting in scheme code

From: Eric Tanter (etanter at dcc.uchile.cl)
Date: Fri Apr 30 18:18:41 EDT 2010


Is there a way when typesetting a block of scheme code to insert a box or a shading/highlighting on a portion of it, in order to attract the attention of the reader on that portion?

For instance, something like:

(define (foo x)
  (if (null? x) '()
      (if (eq? (car x) ...)

would highlight the "what-we-do-when-the-arg-is-a-non-empty-list" part of the code.


-- Éric

Posted on the users mailing list.