Scribus Forums

Scribus => Beginner Talk => Topic started by: Spike210957 on November 20, 2021, 04:02:06 pm

Title: Importing Text and then Justify
Post by: Spike210957 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.
Title: Re: Importing Text and then Justify
Post by: toyotadesigner 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.
Title: Re: Importing Text and then Justify
Post by: Spike210957 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.....
Title: Re: Importing Text and then Justify
Post by: Nermander 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).