• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Highlight text containing anchored table

New Here ,
Aug 29, 2022 Aug 29, 2022

Copy link to clipboard

Copied

Good Morning,

How can I highlight anchored table in a text frame in a smart way?

I've a paragraph style with shadow option but doesn't effect the line with table (see attached).

Neither underline option or paragraph rules works.

 

Thank you.

TOPICS
How to

Views

109

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
community guidelines
Community Expert ,
Aug 29, 2022 Aug 29, 2022

Copy link to clipboard

Copied

Hi @lucignolo25859033u0ra ,

yes, this is the downside with paragraph shading.

You need at least one single character before the table in the same paragraph with the table.

Did that with a single blank character and a reduced value for leading in the paragraph style that is applied to the paragraph holding that blank character and the table character.

 

From my German InDesign 2022 on Windows 10:

 

 

The extra blank character before the table forced a new line of text:

ParagraphShadingAndTableWithOneCell-1.PNG

 

Values for paragraph shading:

ParagraphShadingAndTableWithOneCell-2.PNG

 

Table settings:

ParagraphShadingAndTableWithOneCell-3.PNG

 

The issue with this setup is of course that you need different values for the paragraph shading depending on the height of the table:

 

ParagraphShadingAndTableWithOneCell-4.PNG

So all in all that is only a workaround and not flexible at all.

And it is no solution at all if the table will break to another text column or to a new text frame.

The shading will not break along with the table:

ParagraphShadingAndTableWithOneCell-5.PNG

 

Regards,
Uwe Laubender
( Adobe Community Professional )

Votes

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
community guidelines
Community Expert ,
Aug 29, 2022 Aug 29, 2022

Copy link to clipboard

Copied

How about scripting it? 😉 

Votes

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
community guidelines
Community Expert ,
Aug 29, 2022 Aug 29, 2022

Copy link to clipboard

Copied

@lucignolo25859033u0ra said: "How can I highlight anchored table in a text frame in a smart way?"

 

Well, let's get creative here. One way would be to widen the cell's width to the frame's width or to the width of the shading done with the paragraphs before and after. The fill of the cell could be your "highlight", the contents could be restricted by cell borders. And even the old cell's fill could be done with paragraph shading and the cell's strokes could be done with paragraph borders.

 

Also this is a workaround:

CellFilled-TextInCell-ShadingAndBorder.PNG

 

Download the sample document from my Dropbox account:

https://www.dropbox.com/s/qxxq85f66z8wuiw/TableCellFilled-TextInCell-ParagraphShadingAndBorder-2020....

 

Regards,
Uwe Laubender
( Adobe Community Professional )

Votes

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
community guidelines
New Here ,
Aug 30, 2022 Aug 30, 2022

Copy link to clipboard

Copied

LATEST

Thank you Uwe.

I know is not a one click solution but finally I adopted the attached solution.

Cell inside textframe with background and automatic high inside textframe.

Regards,

Lux

 

Votes

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
community guidelines