DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › TopLeaf: Paragraph Alignment Values?
-
[email protected] September 19, 2013 at 4:40 pm
TopLeaf: Paragraph Alignment Values?
September 19, 2013 at 4:40 pmParticipants 2Replies 3Last Activity 9 years, 4 months agoIn 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
tonys September 19, 2013 at 10:16 pm
Reply to: TopLeaf: Paragraph Alignment Values?
September 19, 2013 at 10:16 pmThe 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.
[email protected] September 23, 2013 at 1:21 pm
Reply to: TopLeaf: Paragraph Alignment Values?
September 23, 2013 at 1:21 pmBut 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 fortuitnot
9. loremipsum adas fortuit
10. loremipsum adas fortuit
11. loremipsum adas fortuit
12. loremipsum adas fortuitWhat's the workaround?
Thanks,
Robert
tonys September 24, 2013 at 10:39 pm
Reply to: TopLeaf: Paragraph Alignment Values?
September 24, 2013 at 10:39 pmThis 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).
-
AuthorPosts
- You must be logged in to reply to this topic.