LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Lars Hellström <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Thu, 4 Jan 2001 16:29:24 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (69 lines)
At 08.55 +0100 2001-01-02, Achim Blumensath wrote:
>Hello,
>
>On Sun, 31 Dec 2000, Lars Hellström wrote:
>> At 14.25 +0100 2000-12-20, Achim Blumensath wrote:
>> >I've written some templates to specify the page layout.
>>
>> Looks nice. [NB: I haven't got the page with me right now, so I might
>> remember some of the following incorrectly. Anyway:] I especially like the
>> golden ratio template, but shouldn't one determine the text height from the
>> width rather than the other way around?
>
>Well, I don't know what is more natural in practice, but since the height
>should be a multiple of \baselineskip while there are no restrictions on
>the width (except for an upper bound) I chose this direction.

The reason you should determine the text width first is that the width of a
line is very important for how easy a text is to read: if the line is too
long then it is hard to find the beginning of the next line. For many of
the common paper formats (e.g. A4) it is more often this than the
\paperwidth that is the bound you need to consider.

>> The main unresolved problem (which probably should be handled in connection
>> to the page layout) is however how the text height and main galley height
>> should be related (I have written about that before), but I you would need
>> support from the output routine to sort that one out.
>
>Sorry, I can't remember what you've written about this.

See mail "Page layout parameters" (sent to the LaTeX-L list 31 Jan 2000).

>What is the
>difference between text height and main galley height?

The text height and width are the side lengths of the text rectangle, in
which all the non-marginal text should appear. In traditional book design,
the size and position of this rectangle is one of the very first things you
determine. The main galley height, or \vsize, is by contrast a parameter
for TeX's page builder: the wanted height of the main vertical list
material that is will be sent to the output routine in \box255. Current
LaTeX makes no difference between these two concepts, but I think LaTeX2e*
should. The main galley height is subject to various technical restrictions
(when you're not \sloppy and the page hardly has any stretchability then
you want it to be a multiple of the \baselineskip _plus_ one \topskip), but
the right way to manage that is not to leave it as restrictions on the
basic layout, instead it should be handled by some more technical set of
templates which might for example round it as necessary.

>In my templates
>text height is the height of the text block without page head and foot but
>including footnotes and floats.

That's the way the current output routine does it, yes, but it is not the
way it should be done. E.g. a headings pagestyle page head is visually part
of the text rectangle and therefore its height should be included in the
\textheight parameter. Another thing which should be included in
\textheight is the (expected) depth of the page box; I doubt anyone would
want to claim that the descenders on the last line of a page are outside
the text rectangle, but that is how the current output routine puts them.
The page builder ignores the depth when it determines the page break.

One interesting advantage of putting the page head and foot logically
inside the text rectangle is that one can (to some extent) ensure the main
galley height satsifies the multiple-of-\baselineskip restriction by
modifying the \headsep and \footsep. In most designs there is probably a
range of acceptable values available.

Lars Hellström

ATOM RSS1 RSS2