[racket] [slideshow/code] typesetting comments

From: Eric Tanter (etanter at dcc.uchile.cl)
Date: Thu Jun 30 14:27:55 EDT 2011

Thanks Eli, though that does not fix the two bugs I described.

-- Éric


On Jun 30, 2011, at 12:26 PM, Eli Barzilay wrote:

> 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.