[NTG-context] Vertical space when surrounding with textbackground
Johann Birnick
johann.birnick at hotmail.de
Thu Nov 26 17:00:30 CET 2020
On Thu, 2020-11-26 at 09:38 -0500, Aditya Mahajan wrote:
> On Thu, 26 Nov 2020, Johann Birnick wrote:
>
> > How to surround such things properly? I just want a background to these and
> > a
> > sidebar. No addition spacing / empty lines.
>
> A MWE will help...
>
> Aditya
For example, take:
\definetextbackground[code][background=color, backgroundcolor=lightgray,
frame=off, location=paragraph]
\starttextbackground[code]
\starttyping
This is some code
a second line
\stoptyping
\stoptextbackground
Johann
More information about the ntg-context
mailing list