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

Alignment on Id and EPUB

Enthusiast ,
Jul 24, 2024 Jul 24, 2024

Copy link to clipboard

Copied

Hi, 

 

In Screenshot 1, a line is justified in Id.

But it's aligned left on Books app. 

Is there way to make a line justified?

 

Hosun

 

Screenshot 1 (Id)

Hosun_0-1721862373778.jpeg

Screenshot 2 (Books app)

Hosun_1-1721862405658.png

 

TOPICS
EPUB , How to

Views

237

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 , Jul 24, 2024 Jul 24, 2024

There are no tabs in EPUB (or HTML) so that closes most doors for this. I'd try setting the style to Justified and putting a nonbreaking space between each of the two-word elements, leaving a regular space in the middle to "spring" apart.

 

And that will work only  — you guessed it — if the reader decides to handle the justification that way.

 

The other alternative would be to use two paragraphs with two styles, and collapse spacing so that they end up on the same line. This trick works in ID i

...

Votes

Translate

Translate
Community Expert ,
Jul 24, 2024 Jul 24, 2024

Copy link to clipboard

Copied

There are no tabs in EPUB (or HTML) so that closes most doors for this. I'd try setting the style to Justified and putting a nonbreaking space between each of the two-word elements, leaving a regular space in the middle to "spring" apart.

 

And that will work only  — you guessed it — if the reader decides to handle the justification that way.

 

The other alternative would be to use two paragraphs with two styles, and collapse spacing so that they end up on the same line. This trick works in ID if you juggle things right, and might work in EPUB. I can't remember which style should have a zero leading to make the lines overlap; you'd need to experiment.

 

The most absolute method would be to use a table with two cells, defined to have invisible borders, and use two styles to push the text left and right.


┋┊ 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
Enthusiast ,
Jul 25, 2024 Jul 25, 2024

Copy link to clipboard

Copied

LATEST

I tried your 1st and 3rd options and got the results. 
It's better presented on Mac than iPhone. 
It's hard to make look good on all screen sizes. 

 

Thank you very much. 

Hosun

 

Screenshot 1 (Id)

Hosun_0-1721892176072.png

 

Screenshot 2 (Books app on Mac)

Hosun_1-1721892200182.png

 

Screenshot 3 (Books app on iPhone)

Hosun_2-1721892254296.jpeg

 

 

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