https://bugs.documentfoundation.org/show_bug.cgi?id=146787

--- Comment #1 from Tex2002ans <tex2002ans+libreoff...@gmail.com> ---
Created attachment 177682
  --> https://bugs.documentfoundation.org/attachment.cgi?id=177682&action=edit
Hanging Indent Toolbar Button and Sidebar

> In M.S. Word, if the cursor is in a paragraph, CTRL T causes a block indent. 
> If the entry is longer than one line, the line wraps to the tab stop, not 
> back to the left margin.  Writer needs a similar feature.

No. This isn't a "block indent"... this is called a "Hanging Indent" or a
"negative indent".

LibreOffice does have a "Hanging Indent" button, but it:

- isn't visible in the default UI.
- doesn't have a default shortcut.
- seems to have very unintuitive interaction... on the surface.
--- LO's is a toggle.
--- Word's is a constant bigger indent.

I'm going to write mini-tutorials for each of your issues below:

- - -

ADDING BUTTON TO UI

***See attached image!!!***

1. Tools > Customize > Toolbars.

2. Type "Hanging Indent" in the Search box.

3. Assign the "Hanging Indent" button to your UI.

(You may want to add it near the "Increase" or "Decrease" buttons.)

ALTERNATE METHOD

***See attached image!!!***

1. Open the "Properties" sidebar.

2. The "Hanging Indent" button is there.

- - -

ADDING SHORTCUT

1. Tools > Customize > Keyboard.

2. In the "Shortcut keys" list, scroll down to the key combination you want to
assign—for example, Ctrl+T—and press on it.

3. Type "hanging indent" in the Functions box.

4. In the "Function" box (bottom middle), you should see "Hanging Indent"
highlighted.

5. Press the "Modify" button in the upper right.

This will assign your "Hanging Indent" to Ctrl+T.

- - -

UNINTUITIVE(?) INTERACTION

I was pressing on the button... and "nothing occurred".

After scratching my head for a while...:

1. LO's Hanging Indent button works like a toggle.
2. Your paragraph already needs a "First Line Indent".

What the button does is swaps the "First Line Indent" with the "Before Text
Indent".

See this image:

https://i.ibb.co/RbDy5MP/Libre-Office-Hanging-Indent-Swapping.png

When pressing again, it does the opposite, returning you to your original
position.

Because the default "first line indent" = 0... "nothing happens" until you make
it positive/negative.

* * *

The way that Word 2016's "Hanging Indent" works:

- Ctrl+T changes the paragraph into a special "Hanging" paragraph.
- Constantly adds .5" to the indentation.

While this deals with the default 0" paragraphs... I think this is bogus.

LO's toggle method makes more sense once I figured out what it did.

- - -

BEST METHOD TO DO HANGING INDENTS

Assign the "Hanging Indent" Style!!!

1. Click inside your paragraph.

2. Press **View > Styles (F11)** to show the Styles sidebar.

3. Select the "Hanging Indent" style.

* * *

Note: If you do not see it in the list, you may need to look allll the way down
at the bottom of the sidebar.

Below the "Show previews" checkbox, there's a dropdown.

In that dropdown, make sure to select "All Styles". You should now see all the
default Styles in LibreOffice.

* * *

With Styles, you can change consistently adjust all hanging indents within your
book in a single location.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to