From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92507 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Space between both environments Date: Mon, 07 Sep 2015 21:02:25 +0200 Message-ID: <55EDDF41.4060503@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1196294410==" X-Trace: ger.gmane.org 1441652601 1074 80.91.229.3 (7 Sep 2015 19:03:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Sep 2015 19:03:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 07 21:03:07 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 1ZZ1h4-0003qW-GP for gctc-ntg-context-518@m.gmane.org; Mon, 07 Sep 2015 21:03:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2FAAA10224 for ; Mon, 7 Sep 2015 21:03:06 +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 mMxauQTK4xs8 for ; Mon, 7 Sep 2015 21:03:05 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 02C0810230 for ; Mon, 7 Sep 2015 21:02:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DA273101FA for ; Mon, 7 Sep 2015 21:02:34 +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 2jSSY_47s5Lu for ; Mon, 7 Sep 2015 21:02:34 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 1856B101F7 for ; Mon, 7 Sep 2015 21:02:30 +0200 (CEST) Original-Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) by filter4-ams.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t87J2S5A014619 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 7 Sep 2015 21:02:28 +0200 Original-Received: by wiclk2 with SMTP id lk2so92432436wic.1 for ; Mon, 07 Sep 2015 12:02:28 -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:content-type; bh=f1ylmOfMVmWO1E5uRWv1B2nXfLdUCKMvr/FY4aT8w7Q=; b=gN5PFRJcZB2ldpOAxo+8TZDh56WcStEXC9LuJ1EFVlQ5VM2tmDlni5grAWh7OqFGSN XV8A1wlsEdlRTjiH/X0yDwnq6KeOM7wpV4ZnEqm+tZKvMSFJBewwoi+Sp0fFP32G9Z6B jbcMnw7ZVne6Vy3KQy/HpgICp0RyoF+YwIoOiG/K1EwykwDLtQHLMQReybY5BQnt4KGt 6mUbDNPzpPbjRvHMbPuKdhOB3Srh7wd4u3EfOXY0RvOUJcZybrb/dcx8i3lW6REKGcQP U8AwJSzzrvTzpHtACLVVajyGbBo4vD/roakao8ikEefvWPJPXh3lf3PEXhka+m0cYmoy PL9w== X-Received: by 10.180.20.80 with SMTP id l16mr38748345wie.55.1441652548123; Mon, 07 Sep 2015 12:02:28 -0700 (PDT) Original-Received: from keima.localdomain (x2f2de9f.dyn.telefonica.de. [2.242.222.159]) by smtp.googlemail.com with ESMTPSA id yu4sm781321wjc.43.2015.09.07.12.02.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Sep 2015 12:02:27 -0700 (PDT) User-Agent: Postbox 4.0.4 (Macintosh/20150825) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22a; country=BE; region=Brussels Capital; city=Brussels; latitude=50.8466; longitude=4.3528; http://maps.google.com/maps?q=50.8466,4.3528&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01Pej2syR - 62c08973aab1 - 20150907 (trained as not-spam) Received-SPF: pass (filter4-ams.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c05::22a as permitted sender) receiver=filter4-ams.mf.surf.net; client-ip=2a00:1450:400c:c05::22a; envelope-from=; helo=mail-wi0-x22a.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:92507 Archived-At: This is a multi-part message in MIME format. --===============1196294410== Content-Type: multipart/alternative; boundary="------------030800060003090407040702" This is a multi-part message in MIME format. --------------030800060003090407040702 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Fabrice Couvreur > 7. September 2015 19:35 > Hi, > I can not insert a space between my two environments. There is a space but you can=E2=80=99t see it because the colored backgro= und of=20 your frames is placed too low (you can see it when you use "frame=3Don"). > Thank you. > Fabrice > > % macros=3Dmkvi > > \setupcolors[state=3Dstart] > > > \definecolor[MyColorA][c=3D0.00, m=3D0.10, y=3D0.20, k=3D0.00] > > \definecolor[MyColorB][c=3D0.00, m=3D0.62, y=3D1.00, k=3D0.00] > > \definecolor[MyColorC][c=3D0.3, m=3D0.00, y=3D0.00, k=3D0.05] > > \definecolor[MyColorD][c=3D0.6, m=3D0.00, y=3D0.00, k=3D0.10] > > > \defineframedtext > [MyDefinition] > [before=3D{\blank}, > after=3D{\blank}, > frame=3Doff, > background=3DMyFrame, > width=3D\textwidth, > height=3Dfit, > location=3Dleft, > style=3Ditalic] > > \defineoverlay > [MyFrame] > [\useMPgraphic{MyFrame}] > > \definelabel > [D=C3=A9finition] > [headstyle=3D\bf\smallcaps] > > \startuseMPgraphic{MyFrame} > path b ; > picture p ; > p :=3D textext.rt("\white\D=C3=A9finition") ; > p :=3D p shifted (2BodyFontSize,OverlayHeight-ypart center=20 > p+.25ExHeight) ; > b :=3D boundingbox p leftenlarged .5EmWidth rightenlarged .5EmWidth= ; > fill OverlayBox withcolor \MPcolor{MyColorA} ; > fill b withcolor \MPcolor{MyColorB} ; > draw p ; setbounds currentpicture to OverlayBox ; > \stopuseMPgraphic Wolfgang --------------030800060003090407040702 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
7.= =20 September 2015 19:35
Hi,
I can not insert a space between my two <= span class=3D"">environments.

There is a space but you can=E2=80=99t see it because the colored backgro= und of=20 your frames is placed too low (you can see it when you use "frame=3Don").=
Thank you.
Fabrice
% macros=3Dmkvi

\setupcolors[state=3Dstart]


\definecolor= [MyColorA][c=3D0.00, m=3D0.10, y=3D0.20, k=3D0.00]=C2=A0

\definecolor[MyColorB][c=3D0= .00, m=3D0.62, y=3D1.00, k=3D0.00]

\definecolor[MyColorC][c=3D0.3, m=3D0.00, y=3D= 0.00,=20 k=3D0.05]

\definecolor[MyColorD][c=3D0.6, m=3D0.00, y=3D0.00, k=3D= 0.10]


\defineframedtext
=C2=A0 [MyDefinition]
=C2=A0 [before=3D{\blank},
=C2=A0=C2=A0 after=3D{\b= lank},
=C2=A0=C2=A0=20 frame=3Doff,
=C2=A0=C2=A0 background=3DMyFrame,
=C2=A0=C2=A0 width=3D= \textwidth,
=C2=A0=C2=A0=20 height=3Dfit,
=C2=A0=C2=A0 location=3Dleft,
=C2=A0=C2=A0 style=3Dit= alic]

\defineoverlay
=C2=A0 [MyFrame]
=C2=A0 [\useMPgraphic{MyFrame}]

\definelabel
=C2=A0= =20 [D=C3=A9finition]
=C2=A0 [headstyle=3D\bf\smallcaps]

\startuseM= Pgraphic{MyFrame}
=C2=A0=C2=A0=C2=A0 path b ;
=C2=A0=C2=A0=C2=A0 picture p ;
=C2=A0=C2=A0=C2=A0 p :=3D = textext.rt("\white\D=C3=A9finition") ;
=C2=A0=C2=A0=C2=A0 p :=3D p shifted (2BodyFontSize,OverlayHeight-y= part center=20 p+.25ExHeight) ;
=C2=A0=C2=A0=C2=A0 b :=3D boundingbox p leftenlarged = .5EmWidth=20 rightenlarged .5EmWidth ;
=C2=A0=C2=A0=C2=A0 fill OverlayBox withcolor= =20 \MPcolor{MyColorA} ;
=C2=A0=C2=A0=C2=A0 fill b withcolor \MPcolor{MyCo= lorB} ;
=C2=A0=C2=A0=C2=A0 draw p ;
=C2=A0=C2=A0=C2=A0 setbounds currentpicture to OverlayBox ;
\stopuseMPgraphic
Wolfgang
--------------030800060003090407040702-- --===============1196294410== 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= --===============1196294410==--