On 18 juil. 2006, at 17:27, Mojca Miklavec wrote:

> \setuppapersize
>       [S6][S6]
>
> %\definetypeface [iwona] [ss] [sans] [iwona] [default] [encoding=ec]
> %\setupbodyfont [iwona,12pt,ss]
>
> \setupbackgrounds
>       [page]
>       [background=page]
> \definelayer
>       [page]
>       [width=\paperwidth,
>        height=\paperheight]
>
> \def\contestant#1#2#3{\page
>       \setlayerframed
>               [page]
>               [voffset=3cm,
>                hoffset=3cm,
>                preset=lefttop]
>               [height=6cm,
>                width=9cm,
>                align={flushleft,lohi,nothyphenated,verytolerant},
>                frame=on,
>               ]{{\switchtobodyfont[35pt]\bf #1
> #2\crlf}\crlf\switchtobodyfont[30pt]#3}\strut}
>
> \starttext
> \contestant{Someone}{Withavery long Surname}{Country}
> \stoptext

Does adding the keyword stretch in align={...} give what you want:
                
\def\contestant#1#2#3{\page
        \setlayerframed
                [page]
                [voffset=3cm,
                 hoffset=3cm,
                 preset=lefttop]
                [height=6cm,
                 width=9cm,
                 align={flushleft,lohi,nothyphenated,stretch,verytolerant},
                 frame=on,
                ]{{\switchtobodyfont[35pt]\bf #1
#2\crlf}\crlf\switchtobodyfont[30pt]#3}\strut}

Best regards: OK
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to