explaination ascii-art of the label-alignment mode for list placement

C. Boemann cbo at boemann.dk
Thu Sep 29 13:40:26 BST 2011


Hi

I've create a little ascii art file that tries to explain the relations when 
using the label-alignment mode of text:list-level-position-and-space-mode

-------------- next part --------------
 How list tab is defined if fixed tabs:

            text-indent
           |---------<|
         LABEL              TEXT STARTS HERE AND GOES ON
                      TO THE|NEXT LINE
|>--------------------|     |
        margin              |
                            |
|>--------------------------|
            tab-position



How list tab is defined if relative tabs:

            text-indent
           |---------<|
         LABEL              TEXT STARTS HERE AND GOES ON
                      TO THE|NEXT LINE
|>--------------------|     |
        margin        |     |
                      |     |
       |>-------------|     |
       |list:margin-left    |
       |                    |
       |>-------------------|
            tab-position

text-indent is equal to list:text-indent unless paragraph:text-indent is defined and not zero
margin is equal to list:margin-left unless paragraph:margin-left is defined and not zero


LABEL was shown above center aligned. to illustrate the alignment the LABEL box and asample label is shown below in all of the three alignments and how it relates to the posiion defined by text-indent:

left:
            text-indent
           |---------<|
           LABEL
           1.2
center:
            text-indent
           |---------<|
         LABEL
          1.2
right:
            text-indent
           |---------<|
       LABEL
         1.2



More information about the calligra-devel mailing list