0
321 次瀏覽

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 (148 點) 提出 | 321 次瀏覽

4 個回答

0

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.

(1.1k 點) 提出
已重新顯示
0

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

(148 點) 提出

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

@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!

(3.2k 點) 提出
0

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!

(148 點) 提出

相關問題

0
2 個回答 231 次瀏覽
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 提出 已提問 7月 18, 2023
0
3 個回答 360 次瀏覽
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 提出 已提問 3月 17, 2022
0
1 個回答 151 次瀏覽
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 提出 已提問 2月 4, 2021
0
2 個回答 170 次瀏覽
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 提出 已提問 2月 4, 2023
0
1 個回答 73 次瀏覽
類似 兩年前另一個關於雙語聖經的問題,我發現了一個讓我感到驚訝的行為:當我嘗試使用 XXA 書卷來為路加福音中一些節的選段排版雙語聖經時(這些語言之間關係密切) 路加福音(LUK)在雙語聖經中排版為兩欄(因此每種語言各佔一頁),但 XXA ... 的多項更新已經包含了此功能?我尚未找到所有關於雙語聖經的文件,因此如果有人能指引我去查看相關文件,我會很感激
rowbory 510 提出 已提問 10月 3, 2024
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Very truly I tell you, whoever accepts anyone I send accepts me; and whoever accepts me accepts the one who sent me.
John 13:20
3,044 個問題
6,004 個回答
5,671 則評論
2,026 位使用者