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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to