[NTG-context] additional blank line in starttyping environment
WolfgangZ
wollez at gmx.net
Sun Jul 15 21:56:18 CEST 2007
Peter Münster schrieb:
> On Sun, 15 Jul 2007, WolfgangZ wrote:
>
>> I get an extra blank line at the beginning of the starttyping
>> environment. How do I get rid of it?
>
> The cause of the problem seems to be the "align=flushleft".
> Workaround: \vskip-\lineheight
>
> Minimal example, showing the problem and the workaround:
>
> \setupcolors[state=start]
> \setuptyping[before=,after=]
> \startbuffer
> BYTEORDER M
> \stopbuffer
> \starttext
> \framed[background=color,backgroundcolor=red]{\typebuffer}
> \framed[align=flushleft,background=color,backgroundcolor=red]{\typebuffer}
> \framed[align=flushleft,background=color,backgroundcolor=red]{%
> \vskip-\lineheight\typebuffer}
> \stoptext
>
> Cheers, Peter
>
It seemd that I needed align=flushleft to get the lines of the buffer
correctly and not without any line break at all.
Many thanks for your help
Wolfgang
More information about the ntg-context
mailing list