From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/90299 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Distance between the header and the title in ConTeXt's enumerations Date: Thu, 19 Feb 2015 15:49:06 +0100 Message-ID: <4383C158-3AE0-4C19-AC13-8C0EF3366CC4@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/mixed; boundary="===============1668860335==" X-Trace: ger.gmane.org 1424357403 20631 80.91.229.3 (19 Feb 2015 14:50:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Feb 2015 14:50:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 19 15:49:51 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YOSQH-0001Pg-QR for gctc-ntg-context-518@m.gmane.org; Thu, 19 Feb 2015 15:49:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 00F2C10201 for ; Thu, 19 Feb 2015 15:49:49 +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 ZnHUD-F6JnqC for ; Thu, 19 Feb 2015 15:49:48 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B4E621023D for ; Thu, 19 Feb 2015 15:49:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 36D9B10203 for ; Thu, 19 Feb 2015 15:49:18 +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 P8hIdDWbJwa9 for ; Thu, 19 Feb 2015 15:49:17 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 7E36F10201 for ; Thu, 19 Feb 2015 15:49:17 +0100 (CET) Original-Received: from mail-wg0-x22f.google.com (mail-wg0-x22f.google.com [IPv6:2a00:1450:400c:c00::22f]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t1JEnAHI003684 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 19 Feb 2015 15:49:16 +0100 Original-Received: by mail-wg0-f47.google.com with SMTP id x12so7667992wgg.6 for ; Thu, 19 Feb 2015 06:49:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=Ft5i76csdxss5Y6/zzftlEiW0ia08W4oLzWtRKRDLhM=; b=akHOhHI8Dl4ApBjJzqFK5rBUw4jbpgL68PGZUqmU81dIVlzDdLR/uhMggdj498Rrxw IrJC+jRPy/BHzJuvw+XG4ZQ/7N2vrUdbiDZ35Hmo7rghjGCt+Bxn1gN611uoVJeEJfOG T/xtJFCSSEHUFnRxVfRhT0vH/rlTVrK+JU2XEg5qaSZcl8kT5kTTV43f+mvsHLoZyv2f kZlmizL7hj72lWPBmdr0NfWs9vveUF5ItqCmEpOz+SLZgZE31Gm9byB2qIzF6sYGv3GG UrXy7FvBZPWPGxhPnJkwGk4tbh9bSLXThnDk3DqyNfL5bLcAQQ6jLtkIPWXt2g8CUvlT I6jw== X-Received: by 10.180.14.7 with SMTP id l7mr7295879wic.40.1424357349929; Thu, 19 Feb 2015 06:49:09 -0800 (PST) Original-Received: from keima.localdomain (x2f2eba9.dyn.telefonica.de. [2.242.235.169]) by mx.google.com with ESMTPSA id u6sm32802695wix.12.2015.02.19.06.49.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Feb 2015 06:49:09 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.2070.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::22f; country=IE; latitude=53.3478; longitude=-6.2597; http://maps.google.com/maps?q=53.3478,-6.2597&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RNSeNaQ6 - 3b888525c336 - 20150219 (trained as not-spam) Received-SPF: pass (filter1-til.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c00::22f as permitted sender) receiver=filter1-til.mf.surf.net; client-ip=2a00:1450:400c:c00::22f; envelope-from=; helo=mail-wg0-x22f.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) 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:90299 Archived-At: --===============1668860335== Content-Type: multipart/alternative; boundary="Apple-Mail=_6427334B-62D5-4980-A1C1-05BAE0FF6525" --Apple-Mail=_6427334B-62D5-4980-A1C1-05BAE0FF6525 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Am 19.02.2015 um 13:02 schrieb Joas Yannick : >=20 > Dear everyone, >=20 > I have defined in ConTeXt an enumeration for definitions: >=20 > \defineenumeration[definition][theorem][ > text=3D{Definition}, > prefix=3Dchapter, > way=3Dbychapter, > right=3D., > titleleft=3D(, > titleright=3D.), > distance=3D0.5em, > headstyle=3D\ss, > title=3Dyes, > titlestyle=3D\ss, > alternative=3Dserried, > width=3Dbroad, > indentnext=3Dno] It is recommended to present a working minimal example, i.e. a document = which includes some content and produces a pdf output. > I would like to set the distance between the header, i.e. "Defintion = [numberOfTheDefintion]", and the title thereof to 0.5em (just like I set = with the distance key the distance between the title and the text of the = definition). >=20 You can set the distance between them with the =E2=80=9Etitledistance=E2=80= =9D key. Wolfgang --Apple-Mail=_6427334B-62D5-4980-A1C1-05BAE0FF6525 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Am 19.02.2015 um 13:02 schrieb Joas Yannick <joasyannick@gmail.com>:

Dear everyone,

I have defined in ConTeXt an enumeration for = definitions:

\defineenumeration[definition][theorem][
    text=3D{Definition},
    prefix=3Dchapter,
    way=3Dbychapter,
    right=3D.,
    titleleft=3D(,
    titleright=3D.),
    distance=3D0.5em,
    headstyle=3D\ss,
    title=3Dyes,
    titlestyle=3D\ss,
    alternative=3Dserried,=

    width=3Dbroad,
    indentnext=3Dno]
It = is recommended to present a working minimal example, i.e. a document = which includes some content and produces a pdf output.

I = would like to set the distance between the header, i.e. "Defintion=20 [numberOfTheDefintion]", and the title thereof to 0.5em (just like I set with the distance key the distance between the = title and the text of the = definition).

You can = set the distance between them with the =E2=80=9Etitledistance=E2=80=9D = key.

Wolfgang

= --Apple-Mail=_6427334B-62D5-4980-A1C1-05BAE0FF6525-- --===============1668860335== 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= --===============1668860335==--