Highlighted

relation between leading and ascent/descent

New Here ,
Oct 05, 2020

Copy link to clipboard

Copied

Hello, 

I have been try to solve this for quite a while and I cannot make it work. Now I narroed it down to knowing the relation between leading and ascent/descent of a type.

 

I am trying to do an apparently simple thing.

I have three lines of text that I want to have highlighted with a colour background. Each line has a different charater height (12, 18, 8) and different lengths depending on the text. I created one paragraph style, I added 2mm before paragraph, and I made the paragraph shading...

I thought this would work because we are talking about adding 2mm to each paragraph independently of the height of the character... Wrong...

201005 paragraph spacing01.png

When I put the space before paragraph to zero it also (in my view) inconsistent.

201005 paragraph spacing02.png

 

 

 

 

I understand that the space is added to the leading. I assumed the ascent and descent of a type would be related to the leading and that would simply work out. I did not realize that if you have the descent of the smaller type on the top line will stay very distante from the ascent of the larger type on the line below. 

A possible solution is to offset the baseline according to the fonte size, but for that you would need to know the relation between ascent/descent and the leading. Any idea?

Any other ideas? 

Thanks, N

TOPICS
Type

Views

132

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

relation between leading and ascent/descent

New Here ,
Oct 05, 2020

Copy link to clipboard

Copied

Hello, 

I have been try to solve this for quite a while and I cannot make it work. Now I narroed it down to knowing the relation between leading and ascent/descent of a type.

 

I am trying to do an apparently simple thing.

I have three lines of text that I want to have highlighted with a colour background. Each line has a different charater height (12, 18, 8) and different lengths depending on the text. I created one paragraph style, I added 2mm before paragraph, and I made the paragraph shading...

I thought this would work because we are talking about adding 2mm to each paragraph independently of the height of the character... Wrong...

201005 paragraph spacing01.png

When I put the space before paragraph to zero it also (in my view) inconsistent.

201005 paragraph spacing02.png

 

 

 

 

I understand that the space is added to the leading. I assumed the ascent and descent of a type would be related to the leading and that would simply work out. I did not realize that if you have the descent of the smaller type on the top line will stay very distante from the ascent of the larger type on the line below. 

A possible solution is to offset the baseline according to the fonte size, but for that you would need to know the relation between ascent/descent and the leading. Any idea?

Any other ideas? 

Thanks, N

TOPICS
Type

Views

133

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 05, 2020 0
Adobe Community Professional ,
Oct 05, 2020

Copy link to clipboard

Copied

Since each paragraph has different point size for the text, this would be difficult to do with just one paragraph style. Instead, create a separate paragraph style for each paragraph. You will have more control using Paragraph Rules rather than Paragraph Shading because you will be able to adjust the Weight of the rule and it's Offset position.

image.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 05, 2020 0
Adobe Community Professional ,
Oct 05, 2020

Copy link to clipboard

Copied

I assumed the ascent and descent of a type would be related to the leading and that would simply work out.

 

Leading is the distance between the text’s baselines—the ascenders and decenders are not considered.

 

This might help:

https://community.adobe.com/t5/indesign/indesign-paragraph-spacing/td-p/11457730?page=1

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 05, 2020 0
Adobe Community Professional ,
Oct 05, 2020

Copy link to clipboard

Copied

If I'm understanding what you're trying to do, you can adjust the leading of the second line to close up the space above (try starting with 14 points and adjust as needed).

 

The leading setting in InDesign doesn't take into account whether a line does or doesn't have ascenders or descenders, which is the same way that linespacing in Word and line height in HTML/CSS also work.

 

Screen Shot 2020-10-05 at 9.36.55 PM.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 05, 2020 0
New Here ,
Oct 06, 2020

Copy link to clipboard

Copied

Thank you @Barbara Ash@rob day, and @David_Popham,

My question was rather if there is a metric relation between leading and bounding box (distance between ascent and descent). My guess is that it will depend on each type of font.

In the meantime, I have "solved" my problem with my font by offseting the baseline with font pt's by 0.1mm, i.e. font size 8pt = 0.8mm offset; font size 12pt = 1.2mm offset; font size 18pt=1.8mm offset. So with paragraph shading set to baseline and leading, and paragraph before set to 1mm, it finally looks as expected.

201005 paragraph spacing03.png

 

   

 

 

 

 

 

 

@Barbara Ash, I did not know much about rules and is good to know (thank you) but your suggestion has two draw backs for me. One, it would work only on the first line of the paragraph. Two, it would still not solve the paragraph gap. The baseline offset and the paragraph shading gives full control and consistency on the gap between shading, independently of the paragraph sequence.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 06, 2020 0
Adobe Community Professional ,
Oct 06, 2020

Copy link to clipboard

Copied

Hi nsgma,

you may also consider to change the value for auto leading from default 120 % of point size to something else.

The value of auto leading is a property of the paragraph or the applied paragraph style.

 

Regards,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 06, 2020 0