I have a list of amounts that I’ve aligned using a 5 cm decimal tab stop. I want to select all the amounts and indent them together without going line by line and pressing the TAB key each time.
Do you have any solution for this?
Thank you
I have a list of amounts that I’ve aligned using a 5 cm decimal tab stop. I want to select all the amounts and indent them together without going line by line and pressing the TAB key each time.
Do you have any solution for this?
Thank you
Select the text, and at the right of Formatting toolbar, there are a couple of icons to indent increase/decrease, using directly the tab key it overwrites the text.
Thank you, but these solutions don’t seem very practical to me: it’s likely that I didn’t explain myself well. I have attached a GIF file of what I would like.
At the moment, the only solution I have found is to use regular expressions from the Replace text function, but I would like something faster (for example, a keyboard shortcut).
Hi, this is your first post here. So, you don’t know the rules. This site is not a forum. It does not host conversations but questions with possible solutions. Your last post is not a Solution. Consequently it should have been written as a comment under a contribution about which you need clarification, or under your question if it is an addition to it (even better: edit the question).
Technically, there is no other solution than regexp replace because your text is not yet configured for decimal alignment feature. And I bet you don’t style either.
The main problem is your list is not yet formatted for this decimal alignment. Decimal alignment is triggered par the presence of a Tab character (though I can’t tell for sure because you didn’t enable View
>Formatting Marks
before taking the screenshot).
Edit
>Find & Replace
^(.)
\t$1
It is also recommended that all your list items are styled by the same paragraph style so that you’re guaranteed that the tab stop and other formatting setting are the same over your list.
EDIT: Find expression changed for a universal form
for a homogeneous list, sufficient to replace just ^
with \t
This won’t work because you request to change the “start delimiter”. Built-in F&R is limited to a single paragraph contents. Delimiters ^
and $
are then outside the editable range. This is why it is necessary to include at least one character to be able to insert something at both ends.
The only exception is pattern ^$
mainly intended to remove empty paragraphs.
EDIT: I checked with built-in help. $
is slightly different from ^
. You can effectively replace $
, e.g. to merge two paragraphs, but ^
is only a “location”, no “object”.
This appears to be consistent with View
>Show Formatting Marks
, notably the fact that the paragraph “object” representation: a paragraph is always made of contents and a paragraph mark (this is particularly obvious on the very last line where you can’t delete the last paragraph mark because it would break the paragraph object which can’t exist without the mark).
A search is considered successful if it matches at least one character. ^
being a “location” does not match anything. It must be associated with a string otherwise it fails. The match will be done on the associated string and “start-of-line” property (= ^
) will be checked to assert success. Internally, it works differently, but you get the idea.
oops. thanx for the reminder
indeed still NEW :