2012-11-10 Wolfgang Schuster:

> The collector macros aren’t based on layers.

I don't know why I thought they were.

What is the correct way to place a collector mid aligend underneath another? I
manage to place them underneath left aligned using

        location={right, bottom}, corner=bottom

and mid aligned as in the example below. However, I prefer not to adjust
the distance manually.

        \setupbodyfont [12pt]

        \definecollector
                [mycollector]

        \setcollector
                [mycollector]
                {\framed[align=normal]{\input khatt-en\par}}

        %% this is the desired output, but without the manual adjustment
        \setcollector
                [mycollector]
                [location=bottom,
                 corner=middle,
                 %% voffset=.5\layerheight,  %% no effect
                 voffset=.8cm]
                {\framed[width=5cm,align=normal]{\input ward\par}}

        \flushcollector [mycollector]

        \starttext\null\stoptext

Intuitively I would expect the following to work, but I guess the `middle`
syntax is not supported or I am using it in the wrong way.

        \setcollector
                [mycollector]
                [corner={middle, bottom},
                 location={middle, bottom}]
                {\framed[width=5cm,align=normal]{\input ward\par}}


Marco

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to