Pages: 1
Print
Author Topic: TopLeaf: Paragraph Alignment Values?  (Read 1835 times)
palmer@dst
Member

Posts: 56


« on: September 19, 2013, 10:40:48 AM »

In the TopLeaf Help, in section 6.4.1 it indicates you can select Left, Right, Center, Justify, and {inherit}, but in the interface you can only select {inherit}, Left, and Justify. Right and Center do not display in the drop-down box, and typing in Right or Center produces an error.

Is this a known issue?

Thanks,

Robert
Logged

rpalmer
DST Systems, Inc.
tonys
JustSystems Partner
Member

Posts: 80


« Reply #1 on: September 19, 2013, 04:16:58 PM »

The only context in which right and center are disabled is for list labels. This is intentional - because of the way block merging works these options would not be appropriate.
Logged
palmer@dst
Member

Posts: 56


« Reply #2 on: September 23, 2013, 07:21:14 AM »

But if you have a numbered list, you want the numbers and following decimal point to be right-aligned so they don't move into the space after the decimal point when they go double digit:
    9. loremipsum adas fortuit
  10. loremipsum adas fortuit
  11. loremipsum adas fortuit
  12. loremipsum adas fortuit

not
9. loremipsum adas fortuit
10. loremipsum adas fortuit
11. loremipsum adas fortuit
12. loremipsum adas fortuit

What's the workaround?

Thanks,

Robert
Logged

rpalmer
DST Systems, Inc.
tonys
JustSystems Partner
Member

Posts: 80


« Reply #3 on: September 24, 2013, 04:39:17 PM »

This can be achieved by inserting space at the beginning of the label. For decimal lists this could be done by adding one or more figure space characters (U+2007) depending on the item number. A more general solution which handles any list style is to measure the width of the label text and calculate the appropriate space width. I've attached a stylesheet that illustrates both techniques (a PDF is included).

* lists.zip (11.26 KB - downloaded 154 times.)
Logged
Pages: 1
Print
Jump to: