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

Precise alignment of text

Enthusiast ,
Jul 31, 2020 Jul 31, 2020

Copy link to clipboard

Copied

How can I align the first alphabet of the word to the left most edge of the text box? By default InDesign leaves some gap on left even when I create text in text box within a new document.

 

arjun2_0-1596183612167.png

 

TOPICS
How to

Views

1.6K

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 , Aug 04, 2020 Aug 04, 2020

Ok. Below another screenshot and the link to that document on my Dropbox.

Text frame on top with kerning the special character and the first character of the paragraph.

Text frame at the bottom: No special character and no kerning.

KerningWithSpecialCharacter.PNG

Download my sample document ( InDesign 2020 version 15.1.1.103 ) :

https://www.dropbox.com/s/mrqkykc81xkdql6/KerningWith-SpecialCharacters.ZERO_WIDTH_NONJOINER.indd?dl=1

 

Regards,
Uwe Laubender

( ACP )

Votes

Translate

Translate
Community Expert ,
Aug 03, 2020 Aug 03, 2020

Copy link to clipboard

Copied

Hi arjun2,

if the two lines are one paragraph each you could add a blank character as the first character in each paragraph and do kerning between the blank and the first reading character in the paragraph. From my German InDesign where I used a text frame inset of 2 mm to better show the first blank in every paragraph:

 

Kerning-1.PNG

 

The first two character pairs in every paragraph are differently kerned.

Above the text cursor is between the blank and the character I of the second paragraph where I did a manual kerning of -280.

 

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
Enthusiast ,
Aug 04, 2020 Aug 04, 2020

Copy link to clipboard

Copied

Thanks a lot for replying. I'm not totally able to understand your method. But what I can figure out is that you are doing some manual adjustment till the alphabets are perfectly aligned. Can you please share a soft copy of this file? I will be able to understand fully your method after going through the settings of each line. 

 

You remove the colour for the blank characters so that they remain invisible?

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 04, 2020 Aug 04, 2020

Copy link to clipboard

Copied

•Type a space in front of the line’s first letter

• Set your cursor between the space and the letter

• Adjust the Character Panel’s Kerning to a negative amount. You can also select the space character, and set the Tracking to a negative amount.

 

 

Screen Shot 20.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
Community Expert ,
Aug 04, 2020 Aug 04, 2020

Copy link to clipboard

Copied

A blank character is invisible by default. Depending on the justification you would best do this with a fixed width character without any width: A SpecialCharacters.ZERO_WIDTH_NONJOINER would do.

Sorry, but I did not save the document after doing my screenshot.

 

Best try this yourself. Add a blank character at the beginning of a paragraph.

And kern between that blank character and the first character of your inital paragraph.

Basically that's it. And yes, the kerning values are up to you and your typographical eye.

 

You may ask how to add that special character I mentioned above:
Just put your text cursor in front of your first character and execute the following ExtendScript (JavaScript) script code:

app.selection[0].texts[0].insertionPoints[0].contents =
SpecialCharacters.ZERO_WIDTH_NONJOINER;

 

Or select the paragraph and do a GREP Find/Change action:

 

Find pattern:

(^.)

Change pattern:

\x{200C}$1

Scope:

Selection

 

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 04, 2020 Aug 04, 2020

Copy link to clipboard

Copied

Ok. Below another screenshot and the link to that document on my Dropbox.

Text frame on top with kerning the special character and the first character of the paragraph.

Text frame at the bottom: No special character and no kerning.

KerningWithSpecialCharacter.PNG

Download my sample document ( InDesign 2020 version 15.1.1.103 ) :

https://www.dropbox.com/s/mrqkykc81xkdql6/KerningWith-SpecialCharacters.ZERO_WIDTH_NONJOINER.indd?dl...

 

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
Enthusiast ,
Aug 06, 2020 Aug 06, 2020

Copy link to clipboard

Copied

Thanks a ton. Now I understand completely. So eventually there's no easy way to snap the edges of the alphabets to the edge of the textbox. One has to do manual adjustment and there's no magic number. 

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 06, 2020 Aug 06, 2020

Copy link to clipboard

Copied

It’s because all fonts have a side bearing dimension:

 

TypeDiagram.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
Contributor ,
Oct 18, 2021 Oct 18, 2021

Copy link to clipboard

Copied

or you can do that in affinity publisher very easily

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

Copy link to clipboard

Copied

That may be so - and other software can handle it better too.

But this is an InDesign forum - if you're only here to push an Affinity agenda then I'll politely ask you to cease as it's not helpful to someone looking for an InDesign solution.

 

Thanks

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 06, 2020 Aug 06, 2020

Copy link to clipboard

Copied

Hi Arjun,

well, the alignment, the values for kerning, could be scripted.

However, with fancy fonts, eg. for handwriting, you still have to this individually.

 

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

Copy link to clipboard

Copied

LATEST

> well, the alignment, the values for kerning, could be scripted.

See https://creativepro.com/files/kahrel/indesign/kern.html

It contains (among other things) a section on how to use the method described by Uwe.

 

P.

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