[cl-typesetting-devel] How to change line spacing?

Peter Seibel peter at javamonkey.com
Fri Feb 20 23:51:32 UTC 2004


"Marc Battyani" <marc.battyani at fractalconcept.com> writes:

> "Peter Seibel" <peter at javamonkey.com> writes:
> 
> > I may be missing something obvious but how do I change the spacing
> > between lines in a paragraph?
> 
> Nothing of this is obvious as there is no docs and the higher level
> functionalities are not finished.
> 
> The *leading* variable is what you need. But as it is computed when
> you change the font or font size it will be difficult to use. For
> instance it will be recomputed when the style is restored at the
> beginning of a new page. I will add some *forced-leading* variable
> to handle this.

Hmmm. I was able to get most of what I want by binding
typeset::*leading-ratio* to appropriate values at appropriate times.
Though I was sort of hoping for something in the options to the
typeset::paragraph macro to let my specify it directly per paragraph.

-Peter

-- 
Peter Seibel                                      peter at javamonkey.com

         Lisp is the red pill. -- John Fraser, comp.lang.lisp




More information about the cl-typesetting-devel mailing list