Page 1 of 1

A better way to control spacing?

Posted: Mon Aug 18, 2025 6:14 pm
by ozznixon
If you view the attached screenshot. I am porting a PDF into RFV (by hand).

Please notice that the right margin of the periods, is staggered. I would like to know is there a setting or a way to make this align on the right?

Re: A better way to control spacing?

Posted: Tue Aug 19, 2025 4:26 pm
by Sergey Tkachenko
Do you use tabs with a dot as a leader character? Do numbers have spaces before them?

Re: A better way to control spacing?

Posted: Wed Aug 20, 2025 3:28 pm
by ozznixon
Hey Sergey.

Right now it is just a line of period, space, period, space, etc.

The Page Numbers have a TAB before the number - that is why those line up.

Re: A better way to control spacing?

Posted: Wed Aug 20, 2025 3:38 pm
by Sergey Tkachenko
Instead of using dots and spaces and tabs, you can use a single tab character.
But you need to set in the corresponding RVStyle.ParaStyles[].Tabs an item having:
- Positon = position of the page number
- Leader = '. '.

In RichViewActions, you can add tab in the paragraph dialog (or add a tab by clicking on the ruler, then set is properties in the paragraph dialog)/
But this dialog allows choosing only from a limited set of tab leaders (the same set as used in MS Word). You can define '.' (dot), but not '. ' (dot and space).

Re: A better way to control spacing?

Posted: Thu Aug 21, 2025 2:55 am
by ozznixon
I took your suggestion - and in Paragraphs -> Tabs, leader (......) but it is still coming out a little staggered.

Re: A better way to control spacing?

Posted: Thu Aug 21, 2025 3:08 pm
by standay
ozznixon wrote: Thu Aug 21, 2025 2:55 am I took your suggestion - and in Paragraphs -> Tabs, leader (......) but it is still coming out a little staggered.
Try 2 right-aligned tabs. First one with the leader (...) and second blank one. Play with the positioning and you might be able to make it work.

Stan

Re: A better way to control spacing?

Posted: Thu Aug 21, 2025 4:30 pm
by Sergey Tkachenko
If the tab is left-aligned, a line of dot must be finished at the same position on all lines (providing that all the lines have the same paragraph style or paragraph styles with identical tab stops).
If you think it is rendered incorrectly, please send me a sample RVF file to email richviewgmailcom or attach it here.

Re: A better way to control spacing?

Posted: Thu Aug 21, 2025 5:00 pm
by ozznixon
standay wrote: Thu Aug 21, 2025 3:08 pm
ozznixon wrote: Thu Aug 21, 2025 2:55 am I took your suggestion - and in Paragraphs -> Tabs, leader (......) but it is still coming out a little staggered.
Try 2 right-aligned tabs. First one with the leader (...) and second blank one. Play with the positioning and you might be able to make it work.

Stan
You got it much closer! Changing the Paragraph -> Tabs, Right Align... Not perfect, but *much* closer!