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

Stroke Gap in Cell Table

Guest
Sep 12, 2020 Sep 12, 2020

Copy link to clipboard

Copied

Hi Good Day,

One of our colleague created a design for table and we will converting it to indesign table. Is this posible to indesign. I'm trying gaps but it will take only one color.

118885621_2786976671626571_7413509473443542111_n.jpg

 

The below is what i'm gettig, the grey side doesn't have the gaps on top and bottom since the gap is white.

Screen Shot 2020-09-12 at 1.26.29 PM.png

 

Hope someone can help me...

TOPICS
Print

Views

1.6K

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
Guide ,
Sep 12, 2020 Sep 12, 2020

Copy link to clipboard

Copied

The table as in my screenshot bellow you could do in this way.

Screenshot (14).pngScreenshot (13).png

 

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
Guest
Sep 12, 2020 Sep 12, 2020

Copy link to clipboard

Copied

Thanks Vladan, I have tried this before but the my problem in this style is when pasting the details from excel sheet. The data will fill also the blank row...

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
Guru ,
Sep 12, 2020 Sep 12, 2020

Copy link to clipboard

Copied

Do you know how to make table and cell styles?

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
Guest
Sep 13, 2020 Sep 13, 2020

Copy link to clipboard

Copied

Yes, But its still the same. You cannot separate stroke in cells...

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 ,
Sep 12, 2020 Sep 12, 2020

Copy link to clipboard

Copied

Hi Learizam:

 

I was able to accomplish it with two paragraph styles using both a rule above and below—different settings for the gray vs white rows. Below I am applying the gray values to the entire table, and than manually applying the white styles (including using a keyboard shortcut I assigned to the white style). If this looks like something you want to pursue, I'm happy to add more details.

 

~Barb 

 

gap3.gif

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
Guest
Sep 12, 2020 Sep 12, 2020

Copy link to clipboard

Copied

Dear Barb,

 

Thanks for your reply, I have tried this but I'm having a problem if the data is Two lines.  See below.\

 

Screen Shot 2020-09-13 at 10.24.38 AM.png

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 ,
Sep 13, 2020 Sep 13, 2020

Copy link to clipboard

Copied

Yep. And I woke up thinking about the nightmare of varying column widths.

 

If you are set on that design then I think your best bet is using Vladan's solution. You could add the extra rows after you import the table from excel.

 

Otherwise, unless someone comes up with an approach that we all missed, I would explore other table designs that are easier to accomplish automatically in InDesign.

 

~Barb

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 ,
Sep 14, 2020 Sep 14, 2020

Copy link to clipboard

Copied

Hi learizam,

what you try to do is possible with a seldom used feature in table cells.

It creates a stroke with an actual stroke width but with the stroke color [None].

Example below.

 

All the horizontal strokes have a stroke weight, but no visible fill color.

The first row is filled "traditionally", the third row is filled "special":

 

SpecialCellStrokesAndFills-0.PNG

 

How could we do this?

First do the stroke weight with no color. Go to:

Table > Cell Options > Strokes and Fills

 

From my German InDesign:

[1] Select all cells in the table ( select one cell and then do Select All )

[2] Open dialog Cell Options > Strokes and Fills through the Table main menu

 

SpecialCellStrokesAndFills-2.PNG

 

[3] In the widget for cell strokes, select horizontal strokes only. Click on the vertical strokes to make them gray, that is the indication for not selected:

SpecialCellStrokesAndFills-3.PNG

[4] Now comes the most important part. For Type scroll down to the bottom of the list and choose "None". Make sure that Preview is on. You already will see the horizontal gaps between the rows if your stroke weight is large:

 

SpecialCellStrokesAndFills-4.png

 

SpecialCellStrokesAndFills-5.png

 

[5] Now for the fill of all all cells in a row. The "traditional" method will not work: Select all cells in a row and apply a fill color from the Swatches panel:

 

SpecialCellStrokesAndFills-6.png

 

Instead, and here comes trick #2, use a diagonal stroke as a fill with a huge amount of line weight. In my case below I did a 100 Pt stroke diagonal line. You'll find this feature in the last tab of the Cell Options dialog:

 

SpecialCellStrokesAndFills-7.png

 

Regards,
Uwe Laubender

( ACP )

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 ,
Sep 14, 2020 Sep 14, 2020

Copy link to clipboard

Copied

Hi learizam,

looked again at your screenshot in your first post.

 

Don't know, but are there two gray fills at play? Alternating fills for every second row?

Then you could fill your rows "traditionally", not using diagonal lines.

 

But you have to use the stroke type "None" as shown in my last post above:

 

SpecialCellStrokesAndFills-8.png

 

Regards,
Uwe Laubender

( ACP )

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
Guide ,
Sep 14, 2020 Sep 14, 2020

Copy link to clipboard

Copied

LATEST

I think Uwe's solution is the best. 

I would just add that @learizam  could always use the automatic alternating fills without using diagonal lines.

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