0 votes
269 views

Is there a way to remove the blank line before the section heading when the heading is at the top of a column? I have space before and space after set to 0.

PTXprint by (148 points) | 269 views

4 Answers

0 votes

Is this in monoglot or diglot text? For diglot text, the answer is no, sorry,
because the diglot proceeor dosn’t know what other bits of text will do to the page when the headers are getting typeset. If it’s monoglot, then, urm, I’m confused because I didn’t think there was a blank line above by default.

It might be that you are getting confused by the process by which titles are put into boxes an exact integer number of lines high. That might give you an apparent blank space above the text, which might only actually be 0.9 lines or something like that, depending on the size of your section-heading font.

by (1.1k points)
reshown
0 votes

This is a monoglot. The section heading font is the same size as the text font. I imagine it is some setting I am missing. Here are a couple of screenshots.
image
image

by (148 points)

I think the setting you need is under Styles, s- Heading - Section Level 1 and Font Size Factor. If you mouse over Font Size Factor a popup explanation of how that factor is used will appear. See screenshot below.

JG

+1 vote

@mlucas53 This is a very common question, but I don’t think we’ve answered it particularly well in the distant past.

The issue here is that the \s - Heading style is requesting 0.67 of a line BEFORE the text and another 0.33 of a line AFTER the text.
image

The text itself takes one line, so it will always swallow 2 lines.

However, if you tweak those values (sometimes with a bit of trial and error) you should be able to convince it to scrunch up at the top of the page while still keeping sufficient space when the space comes half way through a column of text. Here I tried 0.33 above and 0.11 below and that seems to have done the trick:
image

But make sure you look at headers elsewhere to ensure it hasn’t messed them up too much.

You can also tweak the Font Size Factor and/or the Line Spacing Factor to make it squeeze in, but generally the tweaking of the Space Before/After has the quickest impact.

And for anyone who wants to have even more fun experimenting (especially if you have \r references after the \s heading) note that the Space Before/After values can also be negative!

by (3.2k points)
0 votes

Thanks everyone. Before posting I had played with the \s Space Before/After values (even negative) but couldn’t achieve the desired results. Eventually I set Base Font, Base Line spacing and Start of Page to Top of Text back to their default settings, applied Mark’s values above to \s style and got nice results. I then reintroduced my Base Font size, Base line spacing and top margin settings back in and still maintained the desired section-heading spacing. I doubt the order really made any difference but I’m glad to report my columns are now even at the top. Thanks!

by (148 points)

Related questions

0 votes
2 answers 203 views
I'm a new PTXprint user who just started a new configuation for a 4-book portion. I want to create a larger font, one-colmn ... do I need to do to fix this? Thanks for any advice!
TMiller 102 asked Jul 18, 2023
0 votes
3 answers 330 views
The \c ## comes before the \s xxxx in the SFM, but PtxPrint puts the Chapter number larger and inline with the first paragraph after ... to 1.0 (from 1.5) but it had no affect.
listentwice 1.2k asked Mar 17, 2022
0 votes
1 answer 137 views
We need your help! If you'd like to contribute by giving 5 minutes of your time to fill out a short ... ://forms.gle/1LpQq94RYc2s72MW8 The survey closes on Wednesday 10th Feb.
Mark P 3.2k asked Feb 4, 2021
0 votes
2 answers 156 views
Hi, What is the best way to manage space between chapters when a chapter doesn't have a section ... the ptxprint side without inserting paratext markers. Thanks Wilfred Ball
wilfred_ball 102 asked Feb 4, 2023
0 votes
1 answer 213 views
We have upgraded many of our projects from Paratext 7.5 to Paratext 8. What we need now is to remove those ... list of projects to be removed to that concerned person. anon242407.
anon242407 138 asked Oct 19, 2017
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
They all joined together constantly in prayer, along with the women and Mary the mother of Jesus, and with his brothers.
Acts 1:14
3,037 questions
5,994 answers
5,661 comments
2,022 users