Re: @Font and line spacing
Jeff Kingston <[email protected]>
| Newsgroups | gmane.comp.type-setting.lout |
|---|---|
| Message-ID | <[email protected]> |
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