[racket] Smaller verbatim in pdf output?

From: Joe Gibbs Politz (joe.politz at gmail.com)
Date: Sat Feb 21 17:11:47 EST 2015

Hi, I'm trying to do something that I think should be simple, and
can't figure out a good way to do it.

I want to get verbatim output (for code examples) in Scribbled PDF to
be _smaller_ than the default.  (nested #:style 'smaller ...) has no
effect, and various other hacky things I've tried like mapping
(smaller (tt ...)) and linebreaks lead to pretty weird output that has
trouble tracking indentation, etc.

Whenever I need to do this in HTML I just create a custom pre-style,
but that won't work here, obviously.

I must be overlooking some simple way to get it done, maybe I just
need a pointer to an example?


Posted on the users mailing list.