Changes

Jump to navigation Jump to search
1,114 bytes added ,  09:34, 14 September 2023
no edit summary
\stoptext
</context>
</cd:example><cd:example title="Empty lines problems">The new column set and mixed columns environments use grid snapping by default which can result in blank lines in the output.See the problem here: <context source="yes">%\showboxes\setuppapersize[A6,landscape] \starttext \startcolumns[balance=no] \snaptogrid[]\hbox{\setstrut\begstrut Ward\endstrut} \samplefile{ward} \snaptogrid[]\hbox{\bf\setstrut\begstrut Ward\endstrut} \samplefile{ward} \stopcolumns\stoptext</context> Two simple ways to get rid of the blank line are: * to disable the strut for the section or* to disable the grid snapping for the section. See the solutions here: <context source="yes">%\showboxes\setuppapersize[A6,landscape] \setuphead[section][before=,after=]\setuphead[section][style=bold] \define[1]\Sample {\begingroup \setuphead[section][#1] \section{Ward \doifsomething{#1}{\tttf [#1]}} \samplefile{ward}\par \endgroup} \starttext \startcolumns[balance=no] \Sample{} \Sample{style=} \Sample{strut=no} \Sample{grid=no} \stopcolumns\stoptext</context></cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>

Navigation menu