On 7/18/06, Otared Kavian wrote:
>
> On 18 juil. 2006, at 17:27, Mojca Miklavec wrote:
>
> > I urgently need to have my \framed texts left-justified (no
> > hyphenation and nothing may go over the right border)
> >
> > \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:

No, not always (though it seems to be better than without it).

The original string was
    align={flushleft,lohi,stretch,verytolerant,nothyphenated}
which surely didn't work, but I have to do some more testing. Does the
order of parameters make any difference?

Mojca
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to