From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100726 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Horizontal line after text in an environment Date: Thu, 26 Apr 2018 10:27:41 +0200 Message-ID: References: <68a9b7c1-8f58-e021-1dd3-febfec31bea2@xs4all.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4956105623616773317==" X-Trace: blaine.gmane.org 1524731174 5539 195.159.176.226 (26 Apr 2018 08:26:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2018 08:26:14 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 26 10:26:10 2018 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 1fBcEC-0001Es-Aj for gctc-ntg-context-518@m.gmane.org; Thu, 26 Apr 2018 10:26:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8F436626206; Thu, 26 Apr 2018 10:27:56 +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 sjyU-4TF6yLd; Thu, 26 Apr 2018 10:27:55 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id D147362619F; Thu, 26 Apr 2018 10:27:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8BA7362619F for ; Thu, 26 Apr 2018 10:27:54 +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 PTNZUdu88gXv for ; Thu, 26 Apr 2018 10:27:53 +0200 (CEST) Original-Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) (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 25F2C626194 for ; Thu, 26 Apr 2018 10:27:43 +0200 (CEST) Original-Received: by mail-wm0-f42.google.com with SMTP id t11so4525706wmt.0 for ; Thu, 26 Apr 2018 01:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=kmISJv5/8OW/YVpRcCgNGtMM+7EKuHT6SzX+v/PvrDI=; b=bVvk1TGD6K8pjvd/uGb453yKERSu7DjaUs+gvPDn9iB/GJx1zKTmq9UqYPKtBjpjB3 GVksshzhOW5R1sasvfopAG/brQvkZMyizJUOk1iebNRpu+JiypdmjK9sFr1vy8zj6EAG pLUrAQTHbLQx1A0IMklIlJt1XuN7CpmJ86qvvSakUJDSJRtLQRCkoP/nFsGfFYchZUHj nUkxbdcQyqK4Xd7H5ljir6Ts8MbJljcFT0Eia4wyTQk8ABOqECYNsBhOeJ4oanWYaJc7 6sCiJmp8SRvCdhh3wIINAKpN+H5Un/X+8kfQiEaUhAtns0v5W9OIVazMmObmSOiqez5u beJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=kmISJv5/8OW/YVpRcCgNGtMM+7EKuHT6SzX+v/PvrDI=; b=lcNinJeDuBHjVndboZRCJl5V9nkSC7Ia7UwYEViozZWojBdOgKqPrtkJrPpWiAHHcc 7242oKm85EHd9YaQ4lmhx2WhDO5ow4Jv81qTbZ1+EKyBPB4QgMqJIFzG/cUHzMYu3SkK VnDu7KOq9LZ2VAp0cVg/DLztr1L5yAwsvPLgA0NrIw4ZBKJ++5Xv6dAmOn5277oFUHhf DUmaSwUQa1O46KXAu0W/QCYa/DgKU/N2NxxVdtR33KoCm5lo3hTWUMDmGo/iXaOorhwx Two7hq++wvUylEmbgWZu2+qzz7lSa/Azo6Ii0LEtJWqBlWUZzr8Rk18gejlNB+oHWP+1 vOAQ== X-Gm-Message-State: ALQs6tA9msjJMrEfdV/Lg596oNSX+V2GD1RKoQeykMcg7q8pNTBr5L4K amHG3oqLK1Vs93VXqmExVXOBUrXRYMd+8JVz0ZwX9A== X-Google-Smtp-Source: AB8JxZq9E7NtT68226b7UFWc5JbkhjkBe8WWk4S+Sz2KzLKWytFAFc8cs8XmhhoxsZRGHY0yQQXI6PVbyOTCqdrSTBQ= X-Received: by 10.28.224.6 with SMTP id x6mr3337247wmg.80.1524731262466; Thu, 26 Apr 2018 01:27:42 -0700 (PDT) Original-Received: by 10.223.149.6 with HTTP; Thu, 26 Apr 2018 01:27:41 -0700 (PDT) In-Reply-To: <68a9b7c1-8f58-e021-1dd3-febfec31bea2@xs4all.nl> 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:100726 Archived-At: --===============4956105623616773317== Content-Type: multipart/alternative; boundary="001a114b1394470217056abc2928" --001a114b1394470217056abc2928 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Hans, Thank you it works perfectly. I know this command but I never know when to use it. Fabrice 2018-04-25 21:22 GMT+02:00 Hans Hagen : > On 4/25/2018 4:59 PM, Fabrice Couvreur wrote: > >> Hello, >> In this environment, when the text has sufficient height, the horizontal >> line is well below the figure. However when the height of text is not >> sufficient, the position of the line is not correct and I would like it >> also below the figure. >> > > \flushsidefloats > >> Thanks >> Fabrice >> >> >> \setuptolerance[stretch,verytolerant] >> \useMPlibrary[dum] >> >> >> \define[1]\ProprieteHeadcommand >> {\textrule[top]{#1}} >> >> \defineenumeration >> [propriete] >> [text=3DPropri=C3=A9t=C3=A9, >> title=3Dyes, >> headstyle=3D{bold}, >> style=3Ditalic, >> headcommand=3D\ProprieteHeadcommand, >> numbercommand=3D\groupedcommand{}{\nbsp}, >> after=3D\textrule] >> >> \starttext >> >> \startpropriete >> \placefigure[right,none]{}{\externalfigure[dummy]} >> \startitemize >> \item \input ward >> >> \item \input ward >> \stopitemize >> \stoppropriete >> \startpropriete >> \placefigure[right,none]{}{\externalfigure[dummy]} >> \startitemize >> \item First item >> >> \item Second item >> \stopitemize >> \stoppropriete >> >> \stoptext >> >> >> ____________________________________________________________ >> _______________________ >> If your question is of interest to others as well, please add an entry t= o >> the Wiki! >> >> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/list >> info/ntg-context >> webpage : http://www.pragma-ade.nl / http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> wiki : http://contextgarden.net >> ____________________________________________________________ >> _______________________ >> >> > > -- > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > ____________________________________________________________ > _______________________ > 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/list > info/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ____________________________________________________________ > _______________________ --001a114b1394470217056abc2928 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Hans,
Thank you it works perfectly. I= know this command but I never know when to use it.
Fabrice
2018-04-25 21:22 GMT+02:00 Hans Hagen <j.hagen= @xs4all.nl>:
On 4/25/2018 4:59 PM, Fabrice Couvreur wrote:
Hello,
In this environment, when the text has sufficient height, the horizontal li= ne is well below the figure. However when the height of text is not suffici= ent, the position of the line is not correct and I would like it also below= the figure.

\flushsidefloats
Thanks
Fabrice


\setuptolerance[stretch,verytolerant]
\useMPlibrary[dum]


\define[1]\ProprieteHeadcommand
=C2=A0=C2=A0 {\textrule[top]{#1}}

\defineenumeration
=C2=A0=C2=A0 [propriete]
=C2=A0=C2=A0 [text=3DPropri=C3=A9t=C3=A9,
=C2=A0=C2=A0=C2=A0 title=3Dyes,
=C2=A0=C2=A0=C2=A0 headstyle=3D{bold},
=C2=A0=C2=A0=C2=A0 style=3Ditalic,
=C2=A0=C2=A0=C2=A0 headcommand=3D\ProprieteHeadcommand,
=C2=A0=C2=A0=C2=A0 numbercommand=3D\groupedcommand{}{\nbsp},
=C2=A0=C2=A0=C2=A0 after=3D\textrule]

\starttext

\startpropriete
\placefigure[right,none]{}{\externalfigure[dummy]}
\startitemize
\item \input ward

\item \input ward
\stopitemize
\stoppropriete
\startpropriete
\placefigure[right,none]{}{\externalfigure[dummy]}
\startitemize
\item First item

\item Second item
\stopitemize
\stoppropriete

\stoptext


_________________________________________________________________= __________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listin= fo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________



--

-----------------------------------------------------------------=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 H= ans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Ridderstraat 27 | 8061 GH = Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0tel: 038 477 53 69 | www.pragma-ade.nl | www.p= ragma-pod.nl
-----------------------------------------------------------------=
_________________________________________________________________= __________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listin= fo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--001a114b1394470217056abc2928-- --===============4956105623616773317== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============4956105623616773317==--