From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81178 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: noalign hassles Date: Sat, 16 Mar 2013 18:50:31 -0400 (EDT) Message-ID: References: <981A07E9-B3B7-4401-9A8E-3553A308A471@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-2012700799-1363474233=:2086" X-Trace: ger.gmane.org 1363474242 9692 80.91.229.3 (16 Mar 2013 22:50:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Mar 2013 22:50:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 16 23:51:06 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UGzwP-00074s-BU for gctc-ntg-context-518@m.gmane.org; Sat, 16 Mar 2013 23:51:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 486B4101F3; Sat, 16 Mar 2013 23:50:42 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Qw1BYPgsJkut; Sat, 16 Mar 2013 23:50:39 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id CC22B101EB; Sat, 16 Mar 2013 23:50:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 207DD101EB for ; Sat, 16 Mar 2013 23:50:39 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id O2TtCdSuSEmO for ; Sat, 16 Mar 2013 23:50:37 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id CAF75101E3 for ; Sat, 16 Mar 2013 23:50:37 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r2GMoYHQ008594 for ; Sat, 16 Mar 2013 23:50:36 +0100 Original-Received: FROM mint (bas3-montreal02-1096680382.dsl.bell.ca [65.94.3.190]) By hellskitchen.mr.itd.umich.edu ID 5144F739.32EDC.7003 ; Authuser adityam; 16 Mar 2013 18:50:33 EDT In-Reply-To: <981A07E9-B3B7-4401-9A8E-3553A308A471@uva.nl> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) X-Bayes-Prob: 0.0067 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.82; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06JcmOzfS - dd7d52040e4d - 20130316 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81178 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-2012700799-1363474233=:2086 Content-Type: TEXT/PLAIN; charset=windows-1252; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Sat, 16 Mar 2013, H. van der Meer wrote: > 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 =85][red] > > However, this doesn't work. I tried various options as: enclosing in \vbo= x, \hbox, box with leaders. Nothing worked out. IIUC, you want the frame at the bottom of the first and last column to be= =20 red, and rest of the columns to be black. \noalign is the wrong construct for this. You want aligned rules. So,=20 create a new row (of approrpriate height) and set the rule in each column. > Is there some guru who knows how to accomplish this? Why are using inserting color rule manually. Both the table and the TABLE= =20 mechanisms allow you to easily adjust the color of the rules. Why not use= =20 those for creating tables. Aditya --8323329-2012700799-1363474233=:2086 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --8323329-2012700799-1363474233=:2086--