Multiple text alignments on one line in Libre Office

23

6

Is it possible to have multiple text alignments on one line in Libre Office? Something like:

|                                 |
|left         centre         right|
|                                 |
|                                 |
|                                 |
|                                 |

If this is possible, how can such behaviour be achieved?

Jeroen

Posted 2014-05-22T17:07:58.290

Reputation: 1 787

2

I realize this question is already answered, but I found out that this can be accomplished the same way that Word does it - http://superuser.com/a/484275/176958

– Dan W – 2015-03-05T17:42:52.000

@JeroenBollen, Why would you use LibreOffice instead of OpenOffice / MicrosoftWord? – Pacerier – 2015-11-25T23:28:09.030

@Pacerier I do not own a copy of Microsoft Word, and if my understanding is correct, LibreOffice and OpenOffice are mostly the same, except OpenOffice-exclusive features are more likely to be copied over to LibreOffice and not the other way around due to LibreOffice's more restrictive license. – Jeroen – 2015-11-26T15:37:20.047

@JeroenBollen, Are you saying that LibreOffice is a better version of OpenOffice? – Pacerier – 2015-11-29T03:02:51.173

@Pacier I have used both and I have yet to find a Libreoffice-exclusive feature I use. For mainstream use there shouldn't be much difference. – Jeroen – 2015-11-29T08:21:16.083

Answers

22

This is possible using tabstops. It's a little bit cumbersome because you'll have to calculate the position of the "centre" tabstop yourself.

In the following example, i'm assuming you're working with a4 paper in portrait format, the width of the entire page is 21 cm. Assuming left and right margin is 2 cm each, the "content area" has width of 17 cm. If you're using any other format, just adapt the values accordingly.

Now, to define the appropriate tabstops, do the following:

  1. Open Menu "Format" -> "Paragraph..."
  2. Select the "Tabs" tab;
  3. In the "Position" entry field, enter "8,50" as position of the centered tabstop;
  4. From the "Type" radio buttons, select "Centered";
  5. Hit the "New" button. In the list beneath the "Position" field, you'll see a new entry with the position of the new tabstop.
  6. Repeat steps 3 to 5 fort the tapstop at the right: in my example, you would use "17,0" as position and "Right" as type.

    Now, the paragraph style dialogue should look like this (numbering according to the steps above):

    enter image description here

  7. Now, click the OK button. As only visible result, you'll see the tabstop markers in the ruler at the top:

enter image description here

Now, just start to type. When hitting Tab, you can continue typing centered text, and with another Tab right-aligned text.

If you need this kind of paragraph style more often, just create a custom paragraph style.

To insert tabstops even more quickly, do the following:

  1. Select the tabstop type (left, centered, right, decimal) using the little selector button at the upper left corner:

    enter image description here

  2. Double-click on the top ruler at the position where you want to place the tabstop.

  3. The "Tabs" dialogue will open, showing the newly inserted tabstop and its position in the tabs list at the left.

See also:

tohuwawohu

Posted 2014-05-22T17:07:58.290

Reputation: 8 627

While using a table feels "hacky" as a solution, using tab stops is even worse.... – Pacerier – 2015-11-25T23:28:52.423

2@Pacerier - feel free to add your own answer, offering a better solution... – tohuwawohu – 2015-11-26T06:25:11.270

I don't think there is one currently.... – Pacerier – 2015-11-29T03:02:07.260

Please note that the screenshots show a wrong value for the centered tabstop - for a content area with 17 cm width, it has to be placed at 8,50 cm (as in the text), not 7,50 (as on the screenshots). – tohuwawohu – 2014-05-23T09:39:49.763

3

I've used the insert table function to add cells that can be justified within each cell and then right click and choose table properties and change the style of line to "none".

John

Posted 2014-05-22T17:07:58.290

Reputation: 31