Hello Peter,

Peter Münster wrote:
> Hello,
> 
> I've 3 problems with framed:
> 
> \starttext
> \section{Linebreak, when \tex{framed} is the first letter}
> A\framed{B} % here it's ok
>

\leavevmode % \framed is a \vbox

> \framed{A}B % here is a problem
> 
> \section{More vertical space with \tex{Numero}}
> \setupframed[align=flushleft,location=top]
> \hbox{\framed{%
> \startlines
> A
> \Numero

compare \framed[offset=overlay]{\Numero} to \framed[offset=overlay]{N}

> \stoplines
> }%
> \framed{%
> \startlines
> A
> N
> \stoplines
> }}
> 
> \section{More vertical space with \tex{startlines}}

the space is not caused by \framed, but \startlines .. \stoplines, so
you have to fiddle with

\setuplines[before={\blank[???]}, after={\blank[???]},
  inbetween={\blank[???]}}
% with ???=".xx\bodyfontsize" to be font size independent

> \framed[align=flushleft,
> top=\vskip-1.9\lineheight,bottom=\vskip-0.75\lineheight% workaround...
> ]{%
> \startlines
> Ag
> \stoplines
> }
> \stoptext
> 
> Could anybody help, please?
> Cheers, Peter
> 

Greetings,

Peter
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to