lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @Font and line spacing


From: Jeff Kingston
Subject: Re: @Font and line spacing
Date: Wed, 7 Dec 2011 20:43:44 +1100
User-agent: Mutt/1.4i

Steffen,

On Wed, Dec 07, 2011 at 08:46:03AM +0100, Steffen Beyer wrote:
> I use @Font to select a smaller font size. However, the line height does 
> not change accordingly: ...
> It could be adjusted manually with @Break, I guess, but this should be 
> done automatically, right?

As you've found, Lout does not do this automatically.  I don't think
it should, because I don't think there is a standard amount to do it by.

If you commonly need a particular combination of font and line
spacing, make a definition:

    def @FinePrint right x { 7p @Font 9px @Break x }

or a macro:

    macro @FinePrint { 7p @Font 9px @Break }

See the user's guide for where to put it.  Then you can write

    @IndentedDisplay @FinePrint { ... }

and so on.

Jeff



reply via email to

[Prev in Thread] Current Thread [Next in Thread]