At 04:50 AM 5/28/2002 +0200, Denis B. Roegel wrote:
>On Mon, May 27, 2002 at 10:02:33PM +0200, Hans Hagen wrote:
> > At 01:25 PM 5/27/2002 +0200, Denis B. Roegel wrote:
> >
> > >%output=pdftex
> > >\definetyping[smalltyping][style=\ttxx,
> > >                            before={\blank\start\setupbodyfont[small]},
> > >                            after={\stop\blank}]
> >
> > oeps, should be \switchtobodyfont
> >
> > and ... no style in this case
> >
> > >\startsmalltyping
> > >test test test test test test test test test test test test
> > >test test test test test test
> > >test test test test test test test test test test
> > >test test test test test test test test test
> > >test test test test test testtest test
> > >test test test test test testtest
> > >test test test test test test
> > >\stopsmalltyping
> >
> > however, there's a better way:
> >
> > \definetyping
> >    [smalltyping]
> >    [bodyfont=small]
>
>Actually, I got what I wanted with
>
>\definetyping[smalltyping][style=\ttxx\setupinterlinespace]
>
>What would be the difference with your suggestion?

bodyfont=... results in better control over spacing, esp before/after

Hans


-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

Reply via email to