Ask Your Question
0

Writer: Tab that indents after line wrapping [closed]

asked 2018-03-10 13:34:13 +0200

Michel Rouzic gravatar image

I'm trying to have blocks of text that are all right of a given tab stop, like so:

screenshot

However this doesn't work, the first line is correctly indented but when the line wraps it goes back to the left edge of the document, when I want it to automatically start the next lines at the same position. I'm sure there's a correct way to do it because it should be something quite common, I just can't find what that is.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Michel Rouzic
close date 2018-03-11 11:59:13.565577

3 Answers

Sort by » oldest newest most voted
1

answered 2018-03-10 14:08:57 +0200

ajlittoz gravatar image

updated 2018-03-10 14:10:35 +0200

This is called outdent (the contrary of indent).

Create a style for these paragraphs. In the Indent & Spacing tab (Retraits & espacement in the French locale), set your margins Before/After for the paragraph body, mainly Before, aka. left margin. Give First Line (Première ligne) the negative value of Before. You're done, no need to tweak tabs.

To use it: style your paragraph with the just created one. Type your "title", then Tab which will align you to the paragraph left margin and continue typing as usual.

In case your title is wider than the "margin", don't worry. Type Tab after the "title" (as usual) then Shift+Enter. You're now on the second line of the same paragraph at left margin.

Why type Tab after the title? This is to cause a "soft" break in text so that justification does not expand spaces in your title up to the right margin. You could, of course, disable this justification in Tools>Options>LO Writer>Compatibility (extend interword spaces on lines with manual newlines) but I find more convenient to keep it enabled so that I control individually which lines are justified and which are not.

If this answer helped you, please accept it by clicking the check mark ✔ to the left and, karma permitting, upvote it. If this resolves your problem, close the question, that will help other people with the same question.

edit flag offensive delete link more
0

answered 2018-03-10 14:11:00 +0200

David gravatar image

updated 2018-03-10 14:59:52 +0200

You want a hanging indent paragraph:

  1. Set up the paragraph Format > Paragraph > Indents & Spacing so that the "Before text" is set to clear the longest text string (in your screenshot, that would be "waveform_display_height"). This is a positive value. Now set "First line:" to that negative value:

    spacing-format

  2. Make sure your text has a tab between the "hanging" part, and the text that follows:

    text-input

And that should do it. You can create a Style based on these settings if you're going to use it often, then it's easy to use it in future.

edit flag offensive delete link more

Comments

1

@David: there is no need to create a tab stop because the paragraph left margin implicitly defines a tab stop in the hanging case. Before I discovered this "implicitness", I had trouble when tuning my margins to keep the tab in sync (remember tabs can't be updated, only created/destroyed).

ajlittoz gravatar imageajlittoz ( 2018-03-10 14:15:56 +0200 )edit

@ajlittoz Ha - so right you are! I'll update my answer to reflect that. I guess we were typing at the same time.

David gravatar imageDavid ( 2018-03-10 14:29:45 +0200 )edit
0

answered 2018-03-10 14:04:19 +0200

What you show is a table of two columns.

edit flag offensive delete link more

Comments

Oops! Not in this case, I think. ;)

David gravatar imageDavid ( 2018-03-10 14:12:18 +0200 )edit

Really? Playing with outdents, and applying character styles, just to achieve what is easily and consistently dine with table. Interesting what will happen with all the structure when the length of the defined word(s) will become longer.

Mike Kaganski gravatar imageMike Kaganski ( 2018-03-10 16:06:24 +0200 )edit

Question Tools

1 follower

Stats

Asked: 2018-03-10 13:34:13 +0200

Seen: 1,389 times

Last updated: Mar 10 '18