Hi,

Scribble gives me much pleasure.

Nevertheless, sometimes it takes me much time to find
the appropriate documentation on things I want to do.
Probably due to my ignorance.
For example, it took me about half an hour
of looking up the docs and making trials and errors
to make my own *red* function within a scrbl module:

@(define (red arg)
  (define prop:red (color-property "red"))
  (define red (style #f (list prop:red)))
  (element red arg))

I use this function for words like 'warning' and 'caveat'.
For example: @bold{@red{Warning}}: ... .
It works, but may be there is a simpler way to color a word (or element)?

Now I am looking for a way to underline a word or element,
but I can't find the property or style or whatever else
that is needed for this purpose. Help please.

I repeat: Scribble gives me much pleasure.

With many thanks to Matthew Flatt, Eli Barzilay
and all others who contributed to scribble and its docs, 

Jos







-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to