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

Lines after an sentence (using paragraph styles)

New Here ,
Nov 08, 2022 Nov 08, 2022

I was wondering if someone can help me create a paragraph style which uses lines as well. Not normal 'rules on/below with the width of the text or column'. I need 2 styles:

 

The first is paragraph text (with different use of words), which ends with a dotted line tot the end of the frame. The idea is the line is to fill in text. But because every sentence is longer/shorter, I need the dotted line to start after every sentence with an x amount.

 

The second style needs to be an only 'fill in line' from the left to the right of the frame. It will be used when there will be more fill in text needed.

 

I don't want to use normal lines, as there are too many needed. 

Please see the example image...

 

Thanks for your iput

 

Screenshot 2022-11-08 at 14.49.16.png

TOPICS
How to , Type
1.2K
Translate
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 1 Correct answer

Community Expert , Nov 09, 2022 Nov 09, 2022

In my French version, it is ^y. No, that's for nested styles, for GREP, it is ~y

Capture d’écran 2022-11-09 à 14.18.41.jpg

Translate
Community Expert ,
Nov 08, 2022 Nov 08, 2022

Set any tab stop in the paragraph style you use for that text. Set the Leader to a dot

Then insert a right-indent tab (after 'een vermoeden?' and at the start of a blank line. You can use the same style for both types of line (with or without text).

PeterKahrel_0-1667917546201.png

P.

Translate
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 ,
Nov 08, 2022 Nov 08, 2022

But then I need to place a tab after each sentence don't I?

Translate
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 ,
Nov 08, 2022 Nov 08, 2022

True. Though that's simple with a find-and-replace.

 

Another approach is to add a line in the paragraph style (using a paragraph rule or a paragraph border), using the column width, then create a character style, set its underline, and ul colour to Paper, its weight and offset so that it masks the paragraph rule or border below the text. That works only if you can lower the rule a bit so that descenders aren't touched.

 

And tey another method is to set a paragraph rule (or paragraph border), again setting its width to column, then use a script to set the left offset of the rules/borders selectively.

Translate
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 ,
Nov 08, 2022 Nov 08, 2022

Your image shows dots, which is why I presume Peter K suggested the tab leader, but when I do this sort of thing (typically when making forms) I set an underline for the tab rather than a leader to get a clean, solid, line. The underlione can be added as a nested or GREP style.

Translate
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 ,
Nov 08, 2022 Nov 08, 2022
  1. Create a Character style with the line.
  2. Create a pararaph style with a GREP style, when a right tabulator (shift+tab) the Character Style is applied
    3. Write the text with a space (choose any fixed width) and shift+tab, or shift+tab.
Translate
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 ,
Nov 09, 2022 Nov 09, 2022

It sounds that I'm looking for this solution. Unfortunately I don't know how to make a shift+tab as a shortcode (expression?). Or is it ^/t?

 

Can you help me with that? 

Translate
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 ,
Nov 09, 2022 Nov 09, 2022

In my French version, it is ^y. No, that's for nested styles, for GREP, it is ~y

Capture d’écran 2022-11-09 à 14.18.41.jpg

Translate
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 ,
Nov 16, 2022 Nov 16, 2022
LATEST

Thanks!

Translate
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