On 3/6/2020 12:07 PM, Floris van Manen wrote:
Using lmtx, while trying to get multiple pieces of black rule on one
line, for some reason the line breaks after the first item, to continue
on the second line with the remainder.


\starttext

\dontleavehmode
\blackrule[width=15mm,height=1mm,depth=0mm,color=yellow]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=red]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=green]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=blue]\quad

\dontleavehmode
\blackrule[width=15mm,height=1mm,depth=0mm,color=yellow]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=red]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=green]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=blue]\quad
\stoptext


What is the proper way to do it?
force horizontal mode with

\dontleavehmode

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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