[NTG-context] Column sets (span) & unwanted vertical gap

Procházka Lukáš Ing. LPr at pontex.cz
Tue Oct 1 14:51:16 CEST 2019


Hello,

the code bellow produces unwanted vertical gap between the bottom border of the figure and the following title "A" in the first column (marked by red arrows "<->" in the PDF attached).

Note that in the second column there is no such gap.

I tried to play with "before", "inbetween", "beforesection" and other keys of \setuphead to remove the gap but without success.

Is there a way to avoid the vertical gap?

My code so far:

----
\setuppapersize[A3,landscape]

\setuplayout
   [topspace=10mm,header=5mm,headerdistance=5mm,height=270mm,
    backspace=20mm,width=380mm,
   ]

\setupheadertexts[]
\setupfootertexts[]

\definecolumnset[example][n=3,balancing=no]
\definecolumnsetspan[wide][n=2]

\setupexternalfigures[location=default]

\setupindenting[no]
\setupwhitespace[none]

\setuplayout[grid=yes]

\definehead[MyTit][title]
\setuphead[MyTit]
   [style=\bf,color=MyBlue,
    before={\blank[none]},after={\blank[none]},inbetween={\blank[none]},beforesection={BS},aftersection={AS},
    page=no,%grid=yes,
   ]

%

%\showframe
%\showboxes

%\showlayout

%

\starttext
   \startcolumnset[example]
     \startcolumnsetspan[wide]
       \externalfigure[cow][height=120mm,frame=on]
       %\vbox to120mm{}
     \stopcolumnsetspan
     \MyTit{A}
       \input knuth
     \MyTit{B}
       \input knuth
   \stopcolumnset
\stoptext
----

Best regards,

Lukas


-- 
Ing. Lukáš Procházka | mailto:LPr at pontex.cz
Pontex s. r. o.      | mailto:pontex at pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t6.mkiv
Type: application/octet-stream
Size: 1024 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20191001/1502b7aa/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t6~~.pdf
Type: application/pdf
Size: 19175 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20191001/1502b7aa/attachment-0001.pdf>


More information about the ntg-context mailing list