0 votos
320 vistas

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 por (148 puntos) | 320 vistas

4 Respuestas

0 votos

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.

por (1,1k puntos)
mostrada de nuevo
0 votos

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

por (148 puntos)

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 voto

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

por (3,2k puntos)
0 votos

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!

por (148 puntos)

Preguntas relacionadas

0 votos
2 respuestas 231 vistas
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 preguntada jul 18, 2023
0 votos
3 respuestas 360 vistas
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 preguntada mar 17, 2022
0 votos
1 respuesta 151 vistas
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 preguntada feb 4, 2021
0 votos
2 respuestas 170 vistas
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 preguntada feb 4, 2023
0 votos
1 respuesta 73 vistas
Al igual que la otra pregunta sobre díglotos de hace más de 2 años, he encontrado un comportamiento sorprendente ... así que estaré encantado de que me indiquen dónde encontrarla.
rowbory 510 preguntada oct 3, 2024
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Just as a body, though one, has many parts, but all its many parts form one body, so it is with Christ.
1 Corinthians 12:12
3,044 preguntas
6,004 respuestas
5,671 comentarios
2,026 usuarios