[racket] [slideshow/code] typesetting comments

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Jul 1 01:51:54 EDT 2011

It doesn't -- like I said, it's a side-comment that makes life easier
for writing slides (and one that is easy to miss).


11 hours ago, Eric Tanter wrote:
> 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.