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

Automatic line adaptation

New Here ,
May 08, 2024 May 08, 2024

Copy link to clipboard

Copied

Hello,

I can't create a style with a line that automatically adapts to the width of the text (see example below).

I have to modify the indentation by hand, and therefore modify each line individually.

 

Capture d’écran 2024-05-08 à 20.18.48.png

 

Could you give me an idea of how to do it?

Thanks ++++

TOPICS
Feature request , How to

Views

181

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 1 Correct answer

Community Expert , May 08, 2024 May 08, 2024

The simplest way to do this is to use a leader tab:

  • Set up a right tab at the right page margin.
  • In the leader character box, use an underscore (_).

JamesGiffordNitroPress_3-1715193808455.png

 

That may not have the quality you want (line thickness, some separation of the underscores) but it's simple and automatic.

 

I think the only other way to do it is with a Character Style applied by a GREP style. Create a Character Style using Underline Options that give you the desired line weight, color, style, etc. Call it RIGHT LEADER.

JamesGiffordNitroPress_4-1715194093411.png

 

Ap

...

Votes

Translate

Translate
Community Expert ,
May 08, 2024 May 08, 2024

Copy link to clipboard

Copied

You want to set a tab in the Tabs panel and use the Leader field to place an underline character.

 

This video may help you if you're unfamiliar with that technique:

 

https://www.youtube.com/watch?v=VqFtNz7a3yM

 

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 ,
May 08, 2024 May 08, 2024

Copy link to clipboard

Copied

The simplest way to do this is to use a leader tab:

  • Set up a right tab at the right page margin.
  • In the leader character box, use an underscore (_).

JamesGiffordNitroPress_3-1715193808455.png

 

That may not have the quality you want (line thickness, some separation of the underscores) but it's simple and automatic.

 

I think the only other way to do it is with a Character Style applied by a GREP style. Create a Character Style using Underline Options that give you the desired line weight, color, style, etc. Call it RIGHT LEADER.

JamesGiffordNitroPress_4-1715194093411.png

 

Apply this style to the portion of the line with the tab, either manually, or using a GREP auto style:

JamesGiffordNitroPress_5-1715194201850.png

 


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

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 ,
May 08, 2024 May 08, 2024

Copy link to clipboard

Copied

Hi @simonj24422943 , There’s also a Right Indent Tab, which align’s itself to the right side of the text frame as you are showing in your capture—Type>Insert Special Character>Other>Right Indent Tab (or Shift+Tab). You can assign the tab character an Underline:

 

Screen Shot 8.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
New Here ,
May 08, 2024 May 08, 2024

Copy link to clipboard

Copied

LATEST

Thanks for your help !

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