From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92505 Path: news.gmane.org!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Space between both environments Date: Mon, 7 Sep 2015 19:35:21 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1455281289==" X-Trace: ger.gmane.org 1441647369 14392 80.91.229.3 (7 Sep 2015 17:36:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Sep 2015 17:36:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 07 19:35:58 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 1ZZ0Ki-0004Rf-BZ for gctc-ntg-context-518@m.gmane.org; Mon, 07 Sep 2015 19:35:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 76608101FA for ; Mon, 7 Sep 2015 19:35:55 +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 qnHmWUH8-4f9 for ; Mon, 7 Sep 2015 19:35:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BF27410231 for ; Mon, 7 Sep 2015 19:35:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BED61101FA for ; Mon, 7 Sep 2015 19:35:24 +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 HY4xDjGjvfq6 for ; Mon, 7 Sep 2015 19:35:23 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id E6D55101F7 for ; Mon, 7 Sep 2015 19:35:23 +0200 (CEST) Original-Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) by filter3-ams.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t87HZMPv003385 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 7 Sep 2015 19:35:22 +0200 Original-Received: by igbkq10 with SMTP id kq10so62417166igb.0 for ; Mon, 07 Sep 2015 10:35:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=UZ07xXqEz9j7QDFOSYO4y6JyGVUeMcxSGlW6hec6c6o=; b=bWQvV1uUDqI8v340qwLCyAfU/e6t3TwuvEBM8sK5PrPBYXISDacSTBdDsdOyX7L69Z s7C3cCxfJwkmlOWnlDVvxynhMNli94+1nE+UMJxBkv3rbBX4kP0bd+/2VJ5toiHO+fYB tZW1G//09+SzdVjRKkWU2dYXKv9pmRQ4YOEV7duIkmzJCyIa/xoGimNxB9egTvkrFT+M BIyDgH8kATCWL1znN04MzGzxXKlN9sxxnnGlugLUSEs4eeOMbNCgNZkNs3N/rr6VoODk HwOJsodgXSkXaEBQO47NNOjeGUynQkg1fVfWAaTFuFTiI89zrmCvWhWjreEiQSWZ+9rC S0Gg== X-Received: by 10.50.79.229 with SMTP id m5mr18102222igx.1.1441647321634; Mon, 07 Sep 2015 10:35:21 -0700 (PDT) Original-Received: by 10.64.236.2 with HTTP; Mon, 7 Sep 2015 10:35:21 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c05::229; country=US; region=Iowa; city=Council Bluffs; latitude=41.2619; longitude=-95.8608; http://maps.google.com/maps?q=41.2619,-95.8608&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03PehzmM5 - 657133f77486 - 20150907 (trained as not-spam) Received-SPF: pass (filter3-ams.mf.surf.net: domain of fabrice1.couvreur@gmail.com designates 2607:f8b0:4001:c05::229 as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=2607:f8b0:4001:c05::229; envelope-from=; helo=mail-ig0-x229.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:92505 Archived-At: --===============1455281289== Content-Type: multipart/alternative; boundary=089e0122a3fa7f5d5b051f2bacba --089e0122a3fa7f5d5b051f2bacba Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I can not insert a space between my two environments. 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 p+.25ExHeigh= t) ; b :=3D boundingbox p leftenlarged .5EmWidth rightenlarged .5EmWidth ; fill OverlayBox withcolor \MPcolor{MyColorA} ; fill b withcolor \MPcolor{MyColorB} ; draw p ; \stopuseMPgraphic \definemixedcolumns [myColumn] [n=3D2, separator=3Drule, rulecolor=3DMyColorC, rulethickness=3D1pt, balance=3Dyes] \setupalign[verytolerant,stretch,hanging] \defineoverlay [Funny] [\useMPgraphic{Funny}] \definelabel [M=C3=89THODE] [headstyle=3D\bf\smallcaps] \startuseMPgraphic{Funny} interim linejoin :=3D mitered ; interim linecap :=3D squared ; path b ; picture p ; p :=3D textext.rt("\white\M=C3=89THODE") ; p :=3D p shifted (0,OverlayHeight) ; b :=3D boundingbox p ; drawoptions (withpen pencircle scaled 3mm withcolor \MPcolor{MyColorC}) ; draw leftboundary OverlayBox ; fill b withcolor \MPcolor{MyColorD} ; draw p ; setbounds currentpicture to OverlayBox ; \stopuseMPgraphic \defineframedtext [Methode] [before=3D{\blank}, after=3D{\blank}, frame=3Doff, background=3DFunny, width=3D\textwidth, height=3Dfit, ] \starttext \startMyDefinition \input knuth \stopMyDefinition \startMethode \startmyColumn \input ward \column \input knuth \stopmyColumn \stopMethode \stopsection \stopchapter \stoppart \stoptext --089e0122a3fa7f5d5b051f2bacba Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,
I can no= t insert a space between my two environments. Thank you.
Fabrice

% macros=3Dmkvi
\setupcolors[state=3Dstart]


\definecolor[MyColorA][c=3D0.0= 0, 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=3D0.00, k=3D0.05]

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


\defineframedtext
=C2=A0 [MyDefinition= ]
=C2=A0 [before=3D{\blank},
=C2=A0=C2=A0 after=3D{\blank},
=C2=A0= =C2=A0 frame=3Doff,
=C2=A0=C2=A0 background=3DMyFrame,
=C2=A0=C2=A0 w= idth=3D\textwidth,
=C2=A0=C2=A0 height=3Dfit,
=C2=A0=C2=A0 location= =3Dleft,
=C2=A0=C2=A0 style=3Ditalic]

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

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

\startuseMPgra= phic{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&qu= ot;) ;
=C2=A0=C2=A0=C2=A0 p :=3D p shifted (2BodyFontSize,OverlayHeight= -ypart center p+.25ExHeight) ;
=C2=A0=C2=A0=C2=A0 b :=3D boundingbox p l= eftenlarged .5EmWidth rightenlarged .5EmWidth ;
=C2=A0=C2=A0=C2=A0 fill = OverlayBox withcolor \MPcolor{MyColorA} ;
=C2=A0=C2=A0=C2=A0 fill b with= color \MPcolor{MyColorB} ;
=C2=A0=C2=A0=C2=A0 draw p ;
\stopuseMPgrap= hic


\definemixedcolumns
=C2=A0 [myColumn]
=C2=A0 [n=3D2, <= br>=C2=A0=C2=A0 separator=3Drule,
=C2=A0=C2=A0 rulecolor=3DMyColorC,
= =C2=A0=C2=A0 rulethickness=3D1pt,
=C2=A0=C2=A0 balance=3Dyes]

\se= tupalign[verytolerant,stretch,hanging]


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

\definelabel
=C2=A0 [M= =C3=89THODE]
=C2=A0 [headstyle=3D\bf\smallcaps]

\startuseMPgraphi= c{Funny}
=C2=A0=C2=A0=C2=A0 interim linejoin :=3D mitered ;
=C2=A0=C2= =A0=C2=A0 interim linecap :=3D squared ;
=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(&quo= t;\white\M=C3=89THODE") ;
=C2=A0=C2=A0=C2=A0 p :=3D p shifted (0,O= verlayHeight) ;
=C2=A0=C2=A0=C2=A0 b :=3D boundingbox p ;
=C2=A0=C2= =A0=C2=A0 drawoptions (withpen pencircle scaled 3mm withcolor \MPcolor{MyCo= lorC}) ;
=C2=A0=C2=A0=C2=A0 draw leftboundary OverlayBox ;
=C2=A0=C2= =A0=C2=A0 fill b withcolor \MPcolor{MyColorD} ;
=C2=A0=C2=A0=C2=A0 draw = p ;
=C2=A0=C2=A0=C2=A0 setbounds currentpicture to OverlayBox ;
\stop= useMPgraphic

\defineframedtext
=C2=A0 [Methode]
=C2=A0 [before= =3D{\blank},
=C2=A0=C2=A0 after=3D{\blank},
=C2=A0=C2=A0 frame=3Doff,=
=C2=A0=C2=A0 background=3DFunny,
=C2=A0=C2=A0 width=3D\textwidth,=C2=A0=C2=A0 height=3Dfit,
=C2=A0=C2=A0 ]



\starttext
=
\startMyDefinition
\input knuth
\stopMyDefinition

\startMe= thode

\startmyColumn

\input ward

\column
\input knu= th
\stopmyColumn


\stopMethode
\stopsection
\stopchapter=
\stoppart
\stoptext
--089e0122a3fa7f5d5b051f2bacba-- --===============1455281289== 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= --===============1455281289==--