From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82189 Path: news.gmane.org!not-for-mail From: "Lance Larsen" Newsgroups: gmane.comp.tex.context Subject: Re: table formatting mystery Date: Mon, 29 Apr 2013 09:19:10 -0600 Message-ID: <517e8f6f.0263440a.634b.66cd@mx.google.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0476024672==" X-Trace: ger.gmane.org 1367248767 20637 80.91.229.3 (29 Apr 2013 15:19:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Apr 2013 15:19:27 +0000 (UTC) To: Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 29 17:19:31 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 1UWprW-0004D6-KV for gctc-ntg-context-518@m.gmane.org; Mon, 29 Apr 2013 17:19:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D0EEC101E7; Mon, 29 Apr 2013 17:19:29 +0200 (CEST) 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 EQk5viM-KVar; Mon, 29 Apr 2013 17:19:27 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9F67D101E4; Mon, 29 Apr 2013 17:19:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ADFE7101E4 for ; Mon, 29 Apr 2013 17:19:25 +0200 (CEST) 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 FgAUmgTfaL4G for ; Mon, 29 Apr 2013 17:19:20 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 9F78F101E0 for ; Mon, 29 Apr 2013 17:19:20 +0200 (CEST) Original-Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3TFJDkD011446 for ; Mon, 29 Apr 2013 17:19:19 +0200 Original-Received: by mail-pa0-f46.google.com with SMTP id ld11so1440904pab.19 for ; Mon, 29 Apr 2013 08:19:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:mime-version :content-type:x-mailer:thread-index:content-language; bh=MEjmND08LoPunzNnCr66GHM6qHSn1YsRdD+WB1yNH2s=; b=E8p3KTPkF8P+yR04MfKjXiqrWg8uaiul2WnooddlLjyo+7qA/9OAIZGBMxZn4wmxDq 9XQ+oR59ACQ+t4M95fr61/UCrqzeL7zDPdWprKE6i2UkMuQwcG8LvktCs7FBXDNO8Hux yOkFEODF658BKOScKiOrvea0oiQCuRS0KAgqX+upn1kB8BBDu7xQM3tO2pVlCb119ebc gEtjdMhIWvLd+/RXPverrD/ENsleKbIyNI/fUAtc6Iy8iI0qJS8QQ+I+JsM7cn3k+t28 D+jLyqgPyqj8b1z68zqzqazQvZOdJP+fvnbFD5nWKvLr7b2Jf/z2y0A9YpbV3vYXlh1c SMgg== X-Received: by 10.66.246.9 with SMTP id xs9mr42879651pac.123.1367248752801; Mon, 29 Apr 2013 08:19:12 -0700 (PDT) Original-Received: from CNU238C3KT (107-1-187-170-ip-static.hfc.comcastbusiness.net. [107.1.187.170]) by mx.google.com with ESMTPSA id em2sm24482159pbb.0.2013.04.29.08.19.11 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 29 Apr 2013 08:19:11 -0700 (PDT) X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac5E7OYMsZNBGkSkRTCXPzk7juZFaQ== Content-Language: en-us X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.46; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJtPjdA0 - 41e56c3d25cc - 20130429 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:82189 Archived-At: This is a multi-part message in MIME format. --===============0476024672== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01CE44BA.9C5476B0" Content-Language: en-us This is a multi-part message in MIME format. ------=_NextPart_000_0001_01CE44BA.9C5476B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Thankyou luigi. The suggestion provided below worked. I wish I understood why context thought that a cell height to two rows were needed, but the combination of \hbox and alignment of lohi is a reasonable workaround. -Lance On Thu, Apr 25, 2013 at 5:02 PM, Lance Larsen > wrote: > I created the following table, but I am running into a mysterious > problem. When I include the text 'Geometry Calulations' in row 2, the > table row expands as if this text takes up lines of text. However the > text fits well within the cell length, and the text itself remains on > one line. If I delete 'Geometry Calculations', the height of row 2 is > the height of one line of text. How do I fix this? I have included > snapshots of what I am getting with and without 'Geometry > Calculations' included. Any help or insight is appreciated. > > \setupTABLE[c][1][width=0.16\textwidth] > \setupTABLE[c][2,3,4][width=0.13\textwidth] > \setupTABLE[c][5][width=0.20\textwidth, align=middle] > \setupTABLE[c][6][width=0.25\textwidth, align=middle] > \bTABLE[width=0.5\textwidth, rulethickness=0.5pt] > \bTR \bTD[nc=2] \bf ~\cb Preliminary \cb Final \eTD > \bTD[align=middle] \bf Revision \eTD \bTD[align=middle] X \eTD \bTD > \bf Document ID \eTD \bTD \DocID \eTD \eTR > \bTR \bTD[nc=2] \bf ~Document Title: \eTD \bTD[nc=4,align=middle] > Geometry Calculations \eTD \eTR > \bTR \bTD[nc=2] \bf ~Originating Discipline: \eTD > \bTD[nc=4,align=middle] \OrigDisc > \eTD \eTR > \bTR \bTD[nc=2] \bf ~Effective Date: \eTD \bTD[nc=3] \tfx ~\cb > Approval Date \sp\sp\cb Other: ________ \eTD \bTD > Page~\pagenumber~of~\totalnumberofpages \eTD \eTR > \bTR \bTD \bf ~Issued for: \eTD \bTD[nc=5,align=middle] > \tfx Phase 1 Design \cb\sp Phase 2 Design \cb\sp Phase 3 Design \cb\sp > Input to DCD \cb\sp N/A \cb \eTD \eTR > \eTABLE > > -Lance Larsen \bTR \bTD[nc=2,style=bold,align={flushleft,lohi}] \hbox{~Document Title} \eTD \bTD[nc=4,align=middle] Geometry Calculations \eTD \eTR seems to fix the things. -- luigi ------=_NextPart_000_0001_01CE44BA.9C5476B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Thankyou luigi. The =
suggestion provided below worked. I wish I understood why context =
thought that a cell height to two rows were needed, but the combination =
of \hbox and alignment of lohi is a reasonable =
workaround.
 
-Lance<=
/o:p>
 
On Thu, Apr 25, 2013 at 5:02 =
PM, Lance Larsen <lance.c.larsen =
at gmail.com> wrote:
> I created the =
following table, but I am running into a =
mysterious
> problem. When I include the =
text 'Geometry Calulations' in row 2, =
the
> table row expands as if this text =
takes up lines of text. However the
> =
text fits well within the cell length, and the text itself remains =
on
> one line. If I delete 'Geometry =
Calculations', the height of row 2 is
> =
the height of one line of text. How do I fix this? I have =
included
> snapshots of what I am getting =
with and without 'Geometry
> =
Calculations' included. Any help or insight is =
appreciated.
> 
<= pre>> = \setupTABLE[c][1][width=3D0.16\textwidth]
> =
\setupTABLE[c][2,3,4][width=3D0.13\textwidth]
&g=
t; \setupTABLE[c][5][width=3D0.20\textwidth, =
align=3Dmiddle]
> =
\setupTABLE[c][6][width=3D0.25\textwidth, =
align=3Dmiddle]
> =
\bTABLE[width=3D0.5\textwidth, =
rulethickness=3D0.5pt]
> \bTR =
\bTD[nc=3D2]   \bf ~\cb Preliminary \cb =
Final    \eTD
> =
\bTD[align=3Dmiddle] \bf Revision \eTD \bTD[align=3Dmiddle] X \eTD =
\bTD
> \bf Document ID \eTD =
\bTD         =
\DocID         \eTD =
\eTR
> \bTR \bTD[nc=3D2]   \bf =
~Document Title:  \eTD =
\bTD[nc=3D4,align=3Dmiddle]
>  =
Geometry Calculations  \eTD \eTR
> =
\bTR \bTD[nc=3D2]   \bf ~Originating Discipline:  =
\eTD
> =
\bTD[nc=3D4,align=3Dmiddle]       &nbs=
p;            =
;           =
\OrigDisc
>     &=
nbsp;           &n=
bsp;           &nb=
sp;           &nbs=
p;     \eTD \eTR
> =
\bTR \bTD[nc=3D2]   \bf ~Effective Date:  \eTD =
\bTD[nc=3D3]  \tfx  ~\cb
> =
Approval Date \sp\sp\cb Other: ________   \eTD =
\bTD
> =
Page~\pagenumber~of~\totalnumberofpages  \eTD =
\eTR
> \bTR =
\bTD         \bf ~Issued for: =
\eTD \bTD[nc=3D5,align=3Dmiddle]
> \tfx =
Phase 1 Design \cb\sp Phase 2 Design \cb\sp Phase 3 Design =
\cb\sp
> Input to DCD \cb\sp N/A =
\cb         \eTD =
\eTR
> =
\eTABLE
> 
&=
gt; -Lance =
Larsen
 
\bTR =
\bTD[nc=3D2,style=3Dbold,align=3D{flushleft,lohi}] =
\hbox{~Document
Title} \eTD =
\bTD[nc=3D4,align=3Dmiddle]  Geometry Calculations  \eTD =
\eTR
 
seems to fix the =
things.
 
 
--
luigi

 

------=_NextPart_000_0001_01CE44BA.9C5476B0-- --===============0476024672== 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 ___________________________________________________________________________________ --===============0476024672==--