ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* noalign hassles
@ 2013-03-16 22:02 H. van der Meer
  2013-03-16 22:50 ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: H. van der Meer @ 2013-03-16 22:02 UTC (permalink / raw)
  To: ConTeXt NTG

I am stuck with the following problem.

Inside an \halign (table) I can insert a colored rule with:
  \noalign{\color[red]{\hrule height#1 depth\zeropoint}}

Now I want something more involved like:
  \color[red]{\hrule height#1 width2mm}% fixed length colored block
  \color[black]{\hrule height#1}% filling the width left
  \color[red]{\hrule height#1 width2mm}% fixed length colored block
producing
  [red][black black black …][red]

However, this doesn't work. I tried various options as: enclosing in \vbox, \hbox, box with leaders. Nothing worked out.
Is there some guru who knows how to accomplish this?

Hans van der Meer



___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-17  8:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-16 22:02 noalign hassles H. van der Meer
2013-03-16 22:50 ` Aditya Mahajan
2013-03-17  8:12   ` Meer H. van der

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).