[NTG-context] Place a box on the right

Wolfgang Schuster schuster.wolfgang at gmail.com
Wed May 22 15:39:36 CEST 2013


Am 22.05.2013 um 09:27 schrieb H. Özoguz <h.oezoguz at mmnetz.de>:

> Hi there,
> 
> \starttext
> 
> \startalignment[right] \framed{This box should be on the right side, but is not.} \stopalignment
> 
> \stoptext
> 
> 
> I know it is easy, but could not find it in the reference. Why not allow simply \framed[location=right]{} ? ("right" is not a correct keyword for "location").


Method 1:

\startlinealignment[right]
\framed{…}
\stoplinealignment

Method 2:

\startframedtext[right][width=fit]
This box should be on the right side!
\stopframedtext

Wolfgang


More information about the ntg-context mailing list