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

Can the stroke of an object style be asymmetrical?

Engaged ,
Aug 17, 2021 Aug 17, 2021

Copy link to clipboard

Copied

It is quite easy to make an object style that creates a symmetrical frame around a rectangular image. I'd like to know if it is possible to make an asymmetrical frame, i.e. the stroke is 0.5pt on the sides and bottom, but 2pt on the top.

TOPICS
How to

Views

330

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

correct answers 3 Correct answers

Community Expert , Aug 18, 2021 Aug 18, 2021

Hi Marie,

yes, that's possible. Hm. But with an object style? Don't think so.

 

As Jonathan already said, you can do this with a table cell, so it would be a table cell style.

Think about a text frame with a table that has only one single cell.

In the construction phase you have to convert the cell to a graphic cell.

 

Example from my German InDesign 2021 on Windows 10 below:

 

Selected is the text frame containing the table with one single graphic cell. A custom cell style is showing details on

...

Votes

Translate

Translate
Community Expert , Aug 18, 2021 Aug 18, 2021

This is a horrible hack but there might be something in it. Despite the settings, a little fuzziness is creeping in on the sides.

 

capture.jpg

Votes

Translate

Translate
Guide , Aug 18, 2021 Aug 18, 2021

Given years ago [at your own risks!]

[The anchored "blue" stroke is just for visualisation!]

 

Capture d’écran 2021-08-18 à 13.34.47.png

 

Capture d’écran 2021-08-18 à 13.35.13.png

 

Capture d’écran 2021-08-18 à 13.36.43.png

 

For me, it's just "du bricolage" ! A small script could be relevant to finely adjust the effect gradient depending of the text frames height!  😉

 

(^/)  The Jedi

Votes

Translate

Translate
Guru ,
Aug 17, 2021 Aug 17, 2021

Copy link to clipboard

Copied

you can do that in a table cell

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 18, 2021 Aug 18, 2021

Copy link to clipboard

Copied

Hi Marie,

yes, that's possible. Hm. But with an object style? Don't think so.

 

As Jonathan already said, you can do this with a table cell, so it would be a table cell style.

Think about a text frame with a table that has only one single cell.

In the construction phase you have to convert the cell to a graphic cell.

 

Example from my German InDesign 2021 on Windows 10 below:

 

Selected is the text frame containing the table with one single graphic cell. A custom cell style is showing details on stroke weights in textual form:

 

CellStyle-DifferentStrokeWeights-1.PNG

 

Now selected the table cell where the cell style is applied and the values for the stroke weights for left, right and bottom, the blue lines in the widget for cell strokes are the activated strokes:

 

CellStyle-DifferentStrokeWeights-2.PNG

 

The stroke weight for top:

 

CellStyle-DifferentStrokeWeights-3.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 ,
Aug 18, 2021 Aug 18, 2021

Copy link to clipboard

Copied

This is a horrible hack but there might be something in it. Despite the settings, a little fuzziness is creeping in on the sides.

 

capture.jpg

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 ,
Aug 18, 2021 Aug 18, 2021

Copy link to clipboard

Copied

Given years ago [at your own risks!]

[The anchored "blue" stroke is just for visualisation!]

 

Capture d’écran 2021-08-18 à 13.34.47.png

 

Capture d’écran 2021-08-18 à 13.35.13.png

 

Capture d’écran 2021-08-18 à 13.36.43.png

 

For me, it's just "du bricolage" ! A small script could be relevant to finely adjust the effect gradient depending of the text frames height!  😉

 

(^/)  The Jedi

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 ,
Aug 18, 2021 Aug 18, 2021

Copy link to clipboard

Copied

LATEST

Another cool ways: add by script a para rule above or a top paragraph border, or (allowing more effects) add an anchored stroke!

 

The user will just need "1 click" for that!!

 

(^/)

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