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

Set the distance between text frames

Community Beginner ,
Feb 03, 2017 Feb 03, 2017

If I use distribute spacing to set a distance between two text frames, or a text frame and a figure, it sets the distance using the text bounding box. However, I want to set the distance using the text characters. I achieve this by outlining the text, but everywhere I read people are advising not to use outlining at all. Is there another way to do this?

Distance.png

P.S.: Same goes for Illustrator

5.3K
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

Mentor , Feb 03, 2017 Feb 03, 2017

Baseline Grid is set via Document Preferences (Edit > Preferences > Grids). So it will be Document-wide setting. You should consider your own value here for Baseline Grid increment. It's 100 pt in my sample.

After that you should turn on Align to Grid option for your text. It's a preferable approach to set it as a Paragraph Style option (Paragraph Style Options > Indents and Spacing > Align to Grid: [I guess you should set here First Line Only]).

Assuming you already have set a special Para style

...
Translate
Enthusiast ,
Feb 03, 2017 Feb 03, 2017

afaik this isn't possible. You have to change the height of the text frame to the height of the text. In InDesign you could do this with a double click to the anchor point:

2017-02-03_14-11-16.png

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 Beginner ,
Feb 03, 2017 Feb 03, 2017

Hi Haeme! I know about that one, but it doesn't fully fit the text.

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
Mentor ,
Feb 03, 2017 Feb 03, 2017

You could use Baseline Grid. Here I set Increment Every: 100 pt in Preferences:

Baseline.png

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 Beginner ,
Feb 03, 2017 Feb 03, 2017

Winterm, how do I fit the text to the grid lines? Is it something I have to do manually and by estimation?

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
Mentor ,
Feb 03, 2017 Feb 03, 2017

Baseline Grid is set via Document Preferences (Edit > Preferences > Grids). So it will be Document-wide setting. You should consider your own value here for Baseline Grid increment. It's 100 pt in my sample.

After that you should turn on Align to Grid option for your text. It's a preferable approach to set it as a Paragraph Style option (Paragraph Style Options > Indents and Spacing > Align to Grid: [I guess you should set here First Line Only]).

Assuming you already have set a special Para style for the text you want to align...

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 Beginner ,
Feb 03, 2017 Feb 03, 2017
LATEST

Thanks, it's a good workaround!

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
Advocate ,
Feb 03, 2017 Feb 03, 2017

I could image to script that:

Select both textframes. Throw a dialog to let you choose the distance between (or a set value). Then, duplicate both frames, call Text2Path, and do the boundary-math. Delete both duplicates. Shift lower textbox up with calculated value.

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 Beginner ,
Feb 03, 2017 Feb 03, 2017

DBLjan, I didn't quite catch that. I'm a dummie Can you explain this in more detail?

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