0

I am trying to add a short underline in the paragraph style for my inline headlines. At the moment I am doing it with Paragraph Rules - rule below + offset and right indent (see attached image, the orange line). But this solution only works if the columns are always the same width.

Is there a way to add a object/line, with a defined width, to a paragraph style?

Headline

Cody
  • 317
  • 1
  • 5
  • 14

5 Answers5

0

Spontaneously, would say no. However that would be easy to set while adding some contents. You could however use a dedicated character style (underline) taht you would attach with agrep style to a tab character. Then you can control "rule" width with a tab position.

enter image description here

Loic
  • 2,173
  • 10
  • 13
  • thank you :) Could you provide the grep style settings as well? I am still very new to grep, and find it hard to understand. – Cody Dec 15 '15 at 11:26
0

Sure. Here it is…(and now just adding characters so stackoverflow will accept my if not too brief message…)

enter image description here

Loic
  • 2,173
  • 10
  • 13
  • Thanks again. I still do not seem to get it to work. I should just be able to select my headline, and set the style, and then it would have the underline beneath it, right? Could you show me the setting for the character style as well? – Cody Dec 15 '15 at 11:41
0

enter image description here

The fact is that you need to add a new line and type in a tab character. The presence of that tab will draw the "rule".

Loic
  • 2,173
  • 10
  • 13
0

Other solution is to use both "Above" and "Below" rules. Playing with below's weight, color (white), offset and left indent would make it independent on column width (ruleAbove has entire column range)

Cashmirek
  • 269
  • 1
  • 9
-1

Here is how I would solve it:

  1. Create a Stroke Style with Pattern Length = to the page size of your document (not text frame or column) and Length = to whatever length of your line should be. Example: Pattern Length = 8.5in (letter size paper) Length = 1in (width of line under paragraph)
  2. Use Rule Under in the paragraph style and apply the stroke style you created. Make sure to set Width to "Text".
  3. Apply any color/offset, etc. options. This will work independently of the text column width and text length.
bummi
  • 27,123
  • 14
  • 62
  • 101
Michael
  • 75
  • 9
  • @bummi. Thanks for formatting my answer. I believe -1 is for added work. The solution does work and tested nonetheless. – Michael Feb 04 '16 at 03:11