![](https://secure.gravatar.com/avatar/aaec8862a4c7f861ffc1f105419e1805.jpg?s=120&d=mm&r=g)
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 \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 \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? .F
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
participants (2)
-
Floris van Manen
-
Hans Hagen