[cl-typesetting-devel] Vertical space at the top and bottom of apage

Marc Battyani marc.battyani at fractalconcept.com
Thu Apr 12 22:49:31 UTC 2007


<iso at wemba.edu.pl> wrote:

>I want to separate paragraphs with vertical space, so I use
>
> (paragraph (:h-align :left
>             :top-margin 5
>             :bottom-margin 5)
>    "some text")
>
> Unfortunately, when a page break falls between two paragraphs,
> there is extra space at the top of the page, which looks
> especially bad when I use a two-column layout. I think
> vertical space should disappear at the top of the page
> (it would be good if it could also disappear at the bottom,
> with the difference being made up for by expansible boxes).
> If I remember correctly, this is what TeX does.
>
> This problem is particularly severe with section heading lines,
> which I typeset as paragraphs with large top and bottom margins.
> It's crucial that they be aligned with the top of the page.
>
> I tried to set :top-margin to 0 and use only :bottom-margin,
> but it did not help. The vertical space separating paragraphs
> that appear on different pages is still visible, even at the
> top of the page.
>
> Any ideas how to deal with this? I was hoping to typeset
> a brochure with cl-typesetting, but the uneven pages look
> really bad.
>
> If the current version of cl-typesetting is unable to
> produce pages with the text starting always from the
> top of the page, where should I look to modify the code?
> TT::SPREAD-BOXES?

I think you have a real issue here. Tomorrow, I will look at this and tell 
you where to look at.

Marc 





More information about the cl-typesetting-devel mailing list