Scribusoid

Author Topic: Importing Text and then Justify  (Read 72 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

  • Full Member
  • ***
  • Posts: 128
  • Karma: 0
  • Active Scribus Mac User
    • architectural, industrial and business photographer
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.
Nur wenige wissen, wie viel man wissen muss, um zu wissen, wie wenig man weiss.
Only few know how much you have to know to know how little you know.
Sólo unos pocos saben lo mucho que hay que saber para saber lo poco que se sabe.

— Werner Heisenberg [German theoretical physicist]

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: 1468
  • 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).

 

palmate