Ask Your Question
0

Writer paragraph styles

asked 2018-01-22 16:18:58 +0100

CNH gravatar image

Is it possible to define a paragraph style [possibly in conjunction with a macro] that begins with noi indent but 3 spaces instead?

Many thanks

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
3

answered 2018-01-23 08:45:44 +0100

ajlittoz gravatar image

Short answer: yes (but this does not help you)

Long answer:

Paragraph styles handle general layout of rectangular area occupied by the paragraph, not its content. "List styles" are used to add "decoration" before the first character. To achieve your goal, you need a combination of paragraph and list styles.

  1. Open the style side pane with F11 (or Format->Styles & Formatting)
  2. Click on the fifth icon from the left in the toolbar (List Styles)
  3. Create a new style:
    1. Right-click and choose New
    2. Give it name 3Spaces in Organizer
    3. In Position, choose Followed by Nothing
    4. In Options, set Number to None and Separator Before to 3 spaces and After to nothing
    5. Click OK
  4. Click on the first icon in the toolbar (Paragraph Styles)
  5. Create a new paragraph style derived from Text Body:
    1. Right-click on Text Body and choose New
    2. Give it name 3Spaces in Organizer (yes, paragraph and list styles belong in different name spaces)
    3. Set Indents and spacing to your liking
    4. In Outline & Numbering, set Numbering style to 3Spaces
    5. Click OK

Now, whenever you want a paragraph with your 3-spaces prefix, just give it 3Spaces paragraph style.

Caveat: the paragraph is now a list item and you may experience side-effects if you type a Tab at the beginning of its content, but you can make profit of this side effect to have a hierarchy of list items whose relative indentation is tuned in the Position tab of the list style individually for each level.

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-01-23 12:56:02 +0100

CNH gravatar image

Thank you v much. Most helpful!

edit flag offensive delete link more

Comments

1

Please prefer the tool "add comment" for replies of this kind.

Lupp gravatar imageLupp ( 2018-01-23 14:02:17 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-01-22 16:18:58 +0100

Seen: 73 times

Last updated: Jan 23 '18