Highlighted

Precise alignment of text

Engaged ,
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

 

Adobe Community Professional
Correct answer by Laubender | Adobe Community Professional

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 )

Topics

How to

Views

105

Likes

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

Precise alignment of text

Engaged ,
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

 

Adobe Community Professional
Correct answer by Laubender | Adobe Community Professional

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 )

Topics

How to

Views

106

Likes

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
Adobe Community Professional ,
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 )

Likes

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
Reply
Loading...
Engaged ,
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?

Likes

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
Reply
Loading...
Adobe Community Professional ,
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

Likes

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
Reply
Loading...
Adobe Community Professional ,
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 )

Likes

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
Reply
Loading...
Adobe Community Professional ,
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 )

Likes

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
Reply
Loading...
Engaged ,
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. 

Likes

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
Reply
Loading...
Adobe Community Professional ,
Aug 06, 2020

Copy link to clipboard

Copied

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

 

TypeDiagram.png

Likes

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
Reply
Loading...
Adobe Community Professional ,
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 )

Likes

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
Reply
Loading...