From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96232 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Tabulation in itemize list Date: Mon, 26 Sep 2016 14:08:36 +0200 Message-ID: <57E90FC4.1040109@gmail.com> References: <92FE1CD5-B02D-41C3-BBC6-935EA1F91BEF@posteo.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1895007023528164734==" X-Trace: blaine.gmane.org 1474891783 10683 195.159.176.226 (26 Sep 2016 12:09:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Sep 2016 12:09:43 +0000 (UTC) User-Agent: Postbox 5.0.2 (Macintosh/20160922) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 26 14:09:34 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1boUik-0000Bk-9a for gctc-ntg-context-518@m.gmane.org; Mon, 26 Sep 2016 14:09:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A9FE3196FB; Mon, 26 Sep 2016 14:08:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tgto4gK2uzi0; Mon, 26 Sep 2016 14:08:54 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 451CA1970B; Mon, 26 Sep 2016 14:08:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F2074196FF for ; Mon, 26 Sep 2016 14:08:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9ly9c9M5Ih3O for ; Mon, 26 Sep 2016 14:08:51 +0200 (CEST) Original-Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 13D06196FB for ; Mon, 26 Sep 2016 14:08:40 +0200 (CEST) Original-Received: by mail-wm0-f50.google.com with SMTP id l132so148605448wmf.0 for ; Mon, 26 Sep 2016 05:08:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=6dc1EymxhFLxqSQJAA2q5Ha3fSgANHNI4t8NGqp9+eI=; b=P0ruGh2NB3imac6W8Ohq/kt/SjqSgcnCNsihHFmYJ6VWXzq9Iqg2ccnI91n3Z8+Uig EfjBI957CTIP3HI0HUgud1z7m+ayEnkWRks1VX5jYxzKu2rZ6uw1jmvFxZ1wA275/A3m jgZKtgGhsZbvbgUZwlaCx+6XjLhMTEdW+iX0hV+0LQvhglz7PAeBHhZBwjW7iH/3Ax6E t2y20MAvQp1glEZ5+HnI2zfHYaJVHVfLTRHT6Pa02KLZy8UuZPV4abDvCqNYkGwYFiYy aDahtVhjjmZKvukGuLKCJjdEq/2YXxyqaf9I77JClA+b1BgR+wXnAxmfn0OJ7inh0kk+ qBQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=6dc1EymxhFLxqSQJAA2q5Ha3fSgANHNI4t8NGqp9+eI=; b=YXaw8aBun88MUsqiX57r+RP4tqUGeSLIhYPcA/FfAz1DgkM02s5jHOwLvtwKHQF/+F YvQGXAgy9ZbVyejtBhNax8KFFoiLFxWnN7Ot7bJTE2NVitQUlZ94FEaCkxyvFyfTgcyQ SdDeuvVTCSToSqzaRQwJFppt3m3WjX8q7b39p4eokSjqfIsy12j4CgiU4PDramTyfmy7 ApehwGhPacxQYtw6WCESx//tJl/vEgiwIEJS0y1MQkyXkZ7yT1F3FkdjbDj6C7PVqiuQ wa4QGBtN2R19SNv5m00dB429enIsh8KWwIxlnL5jmt1c3G1OCmLCkSf69fZHopgudd50 tXQw== X-Gm-Message-State: AA6/9Rn+aFW8yNBL959vzsp6CbGercS3MqK9zWDYm8xBSkg9aYOzJcvKbI8rI8wWz07Lsw== X-Received: by 10.194.200.137 with SMTP id js9mr4474954wjc.153.1474891720284; Mon, 26 Sep 2016 05:08:40 -0700 (PDT) Original-Received: from keima.home ([86.86.82.85]) by smtp.gmail.com with ESMTPSA id w138sm11806867wmd.1.2016.09.26.05.08.39 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Sep 2016 05:08:39 -0700 (PDT) In-Reply-To: <92FE1CD5-B02D-41C3-BBC6-935EA1F91BEF@posteo.net> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:96232 Archived-At: This is a multi-part message in MIME format. --===============1895007023528164734== Content-Type: multipart/alternative; boundary="------------080303000009090005040003" This is a multi-part message in MIME format. --------------080303000009090005040003 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > Florian Leupold > 26. September 2016 um 12:53 > Dear list, > > is there a clever way to put a tabulation into an itemize list? I > would like to have it on the first line of an item, see MWE. However, > when I just insert the tabulation after \item, the table is shifted > down. A naive fix using \blank[overlay], on the other hand, places the > tabulation too high. > > Could you help me or indicate a better solution to achieve this? > > \starttext > \startitemize > \item > %\blank[overlay]\blank[overlay] > \starttabulate[|r|p|r|p|] > \NC given: \NC $a=1$\\$b=2$ \NC sought: \NC $c$ \NC\NR > \stoptabulate > \stopitemize > \stoptext \starttext \startitemize \startitem \startframed[frame=off,location=top] \starttabulate[|r|p|r|p|] \NC given: \NC $a=1$\par $b=2$ \NC sought: \NC $c$ \NC\NR \NC given: \NC $a=1$\par $b=2$ \NC sought: \NC $c$ \NC\NR \NC given: \NC $a=1$\par $b=2$ \NC sought: \NC $c$ \NC\NR \stoptabulate \stopframed \stopitem \stopitemize \stoptext Wolfgang --------------080303000009090005040003 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit
26. September 2016 um 12:53
Dear list,

is there a clever way to put a tabulation into an itemize list? I would like to have it on the first line of an item, see MWE. However, when I just insert the tabulation after \item, the table is shifted down. A naive fix using \blank[overlay], on the other hand, places the tabulation too high.

Could you help me or indicate a better solution to achieve this?

\starttext
\startitemize
\item
%\blank[overlay]\blank[overlay]
\starttabulate[|r|p|r|p|]
\NC given: \NC $a=1$\\$b=2$ \NC sought: \NC $c$ \NC\NR
\stoptabulate
\stopitemize
\stoptext
\starttext

\startitemize
    \startitem
        \startframed[frame=off,location=top]
            \starttabulate[|r|p|r|p|]
            \NC    given:    \NC $a=1$\par $b=2$    \NC sought:    \NC $c$    \NC\NR
            \NC    given:    \NC $a=1$\par $b=2$    \NC sought:    \NC $c$    \NC\NR
            \NC    given:    \NC $a=1$\par $b=2$    \NC sought:    \NC $c$    \NC\NR
            \stoptabulate
        \stopframed
    \stopitem
\stopitemize

\stoptext

Wolfgang
--------------080303000009090005040003-- --===============1895007023528164734== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1895007023528164734==--