[racket] [slideshow/code] typesetting comments

From: Eli Barzilay (eli at barzilay.org)
Date: Thu Jun 30 12:26:10 EDT 2011

40 minutes ago, Eric Tanter wrote:
> [...]
> 
> #lang racket
> (require slideshow/code)
> 
> (code
>  (λ (x) 1) (code:comment "1"))

As a side note, the scribble syntax is very useful in slideshow too.
You could get it with something like this:

  #lang at-exp racket
  (require slideshow/code)
  
  (code
   (λ (x) 1) @code:comment{freeform text})

or better:

  #lang slideshow
  @slide[
    @t{Blah blah}]

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!



Posted on the users mailing list.