0 votes
229 views

Here's a heading with 0.04 lines space above and it's pretty ugly:


 

And now let's see what happens if we increase the space above to 0.05 lines:

That's better. But it's clearly not really listening to my instruction to just increase the space above by a little bit.

The problem is that when typesetting on a baseline grid, it is important that the main body text lines stay on the grid. So what TeX does is to allow the headings (including \r, in fact anything of text type section) to go off grid, but it then bundles all the adjacent paragraphs of type section into a 'headings box', then it calculates how much extra space it needs to put above the box so that the next line after the box is back on the grid. This is why the space above setting (or any setting) can cause there to suddenly be an extra line of space above the heading. And just to be really clever it also works out how much space needs to go above the headings at the top of the column where the space above is ignored, to get the first text line after to be on the grid.

So it's not that we don't have control over headings and their spacing but that heading boxes snap up to an integral number of grid lines in height.

Feel free to respond to the question so that we can help people understand this better and feel more in control.

PTXprint by (656 points) | 229 views

1 Answer

0 votes
So what does one do to fix this? Obviously neither of the two examples are what anyone would want. I am curious.
by (206 points)
I don't follow. In gridded text there is nothing to fix. This is how it works. I'm assuming that the 'obviously' here means you think there is some way for people to get their cake and eat it. I.e. to have exactly the space above that they asked for but somehow for the main body text to remain on the grid. The only 'solution' to ensure you get exactly the spacing you want is to go off grid. But then you lose the grid. So you either have the problem above or no grid. Neither is necessarily right or wrong, they are just different.
What you should probably do, having decided on the font size of your heading and the linespacing of the body, and recognising that there's going to be an integer number of lines gap to fill, is set the space *below* to something sane. E.g. half or a third of a line might make a good start, so that the heading is nicely centred in the gap.
Although, as I was taught, one can never have too little space under a sub heading. But at this point it becomes a question of art and design and good typesetting.

Related questions

+1 vote
0 answers 25 views
When citing chapters and verses, use only a comma (,) to separate the chapter number from the verse number on header of the page. Example: Mc 1,39 (Mark chapter 1 verse 39)
Petrus Khoa 103 asked Jul 26, 2025
0 votes
0 answers 172 views
Paratext can only automatically sort glossary entries that are properly linked in the Biblical terms tool. Changing the ... have changed and are no longer being sorted correctly.
[Expert]
Jeff_Shrum
2.9k
asked Mar 23, 2021
+4 votes
1 answer 103 views
I've been typing the answer to "What color is the bottom of the sea?" for every comment and edit for a while now. How can I become verified, please? Thanks!
KimB 670 asked Nov 4, 2025
0 votes
1 answer 113 views
The other section headings all appear in the text correctly, but the section heading for \c 1 is ... /view?usp=sharing> hopefully this link works. Thanks
anon095293 129 asked Mar 24, 2025
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For we were all baptized by one Spirit so as to form one body—whether Jews or Gentiles, slave or free—and we were all given the one Spirit to drink.
1 Corinthians 12:13
3,037 questions
5,994 answers
5,661 comments
2,022 users