[NTG-context] Spacing after combination

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Tue Jul 16 21:09:15 CEST 2019


Willi Egger schrieb am 16.07.2019 um 20:46:
> Marco,
>
> there is a \setupcombination command:
>
> \setupcombination [...,...] [..,..=..,..]
> 1 NAME
> 2 nx
> ny
> width height location distance alternative align continue before after inbetween style
> color
> OPT
> = NUMBER
> = NUMBER
> = fit DIMENSION
> = fit DIMENSION
> = left middle right top bottom = DIMENSION
> = label text
> = inherits: \setupalign
> = yes no
> = COMMAND
> = COMMAND
> = COMMAND
> = STYLE COMMAND
> = COLOR
>
> I hope this will enable you to get what you want.
None of these options is applied at the begin or end of the environment 
(use the following setup in the example).

\setupcombination
   [   before={\endgraf{\tttf    [before]}\endgraf},
        after={\endgraf{\tttf     [after]}\endgraf},
    inbetween={\endgraf{\tttf [inbetween]}\endgraf}]


A alternative to using floats is to put the combination in a 
linecorrection environment, i.e.

\startlinecorrection
   \startcombination [2*2]
   ...
   \stopcombination
\stoplinecorrection

or

\startlinecorrection[blank]
   \startcombination [2*2]
   ...
   \stopcombination
\stoplinecorrection

Wolfgang



More information about the ntg-context mailing list