Scribusoid

Author Topic: Importing Text and then Justify  (Read 472 times)

Spike210957

  • Newbie
  • *
  • Posts: 2
  • Karma: 1
  • Scribus User
Importing Text and then Justify
« on: November 20, 2021, 04:02:06 pm »
I have a text file like this:

First Piece of Text \t Second Piece of text

The \t is a tab character.  Both pieces of text are variable lengths.

How can I get Text1 flush left and Text 2 flush right?  Clicking on Justify doesn't seem to do anything.

toyotadesigner

  • Guest
Re: Importing Text and then Justify
« Reply #1 on: November 20, 2021, 04:33:10 pm »
I don't know of any software that can do a flush left and simultaneously flush right alignment in one single text line. The alignment command is always »per line«, not for snippets.

Spike210957

  • Newbie
  • *
  • Posts: 2
  • Karma: 1
  • Scribus User
Re: Importing Text and then Justify
« Reply #2 on: November 20, 2021, 06:50:48 pm »
I have cracked it!  Just replace spaces with chr(255) i.e non breaking space in both Text1 and Text2 then have an ordinary space between the two.  Align Text Forced Justified then does exactly what I want.....

Nermander

  • Hero Member
  • *****
  • Posts: 1522
  • Karma: 19
Re: Importing Text and then Justify
« Reply #3 on: November 21, 2021, 01:50:29 pm »
Add a right justified tab just before the right side paragraph margin.

The paragraph shall of course be left justified.

It should work (I use this for table of contents all the time, but mainly in Word, though I see no reason it should not work in Scribus).