> Am 14.01.2015 um 13:14 schrieb Pablo Rodriguez <oi...@gmx.es>: > > \defineframed > [Myframed] > [width=0.6\textwidth, > foregroundstyle={\switchtobodyfont[10pt]}, > align={high,flushleft}, > frame=off, > framecolor=0.625white, > background=borderline, > ]
You can replace the framed command with a framed text environment, e.g. \defineframedtext [Myframed] [width=0.6\textwidth, foregroundstyle={\switchtobodyfont[10pt]}, align={high,flushleft}, frame=off, framecolor=0.625white, background=borderline, location=middle, offset=.5ex] and change > \startmidaligned > \Myframed{\getbuffer} > \stopmidaligned to \startMyframed \getbuffer \stopMyframed Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________