From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97252 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Vertical spacing in enumerations Date: Tue, 14 Feb 2017 17:02:08 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0052161918554869012==" X-Trace: blaine.gmane.org 1487088188 22513 195.159.176.226 (14 Feb 2017 16:03:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 14 Feb 2017 16:03:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 14 17:03:03 2017 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 1cdfZG-0005VQ-Km for gctc-ntg-context-518@m.gmane.org; Tue, 14 Feb 2017 17:03:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F1FB312A0274; Tue, 14 Feb 2017 17:02:30 +0100 (CET) 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 uThnuHL7ZkvK; Tue, 14 Feb 2017 17:02:28 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 6CA2712A0256; Tue, 14 Feb 2017 17:02:28 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 26F1612A0251 for ; Tue, 14 Feb 2017 17:02:27 +0100 (CET) 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 3mA-L3jm1hYR for ; Tue, 14 Feb 2017 17:02:25 +0100 (CET) Original-Received: from mail-it0-f45.google.com (mail-it0-f45.google.com [209.85.214.45]) (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 AD78B12A0250 for ; Tue, 14 Feb 2017 17:02:15 +0100 (CET) Original-Received: by mail-it0-f45.google.com with SMTP id c7so37755316itd.1 for ; Tue, 14 Feb 2017 08:02:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Mgpbl7Bmcygf0WDtFSeOIgqM/vpjuHlqTlSlCaUY8PY=; b=bj7f+qwfmRrJjNLTxH2eXp0xgHH6PILxxBjB4mGeNy4CyDXVm2pJ8+dCMwA1DGdvE3 sMk99hyDJf7NSdYBh84uZIrXZA2OITju5f5RVZP6ip533WN8OJVm9mI7nvAddug+Zz4l VUQ3YTyXQ6DxP/3SrXRNl9FqUZ8Ib9S+ZWkV0TjD1mZHuaSzPUFW1AI3GzMoPh6+BoRL INjPw+dJzquZRSL5xmYO4rxE+G0eWOvnbySQDmMAdpmdfgmUBbgRsgiBHptKlgsBZ9sR XD6mTcnS3u4okRMj1zAx8SP+zSVmImWUu+ot0xKZNG0msxZ8yw/eT1SUKaS3THAOhTyT MQqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Mgpbl7Bmcygf0WDtFSeOIgqM/vpjuHlqTlSlCaUY8PY=; b=SRVAD5k2VYPQXG9AI99GULYvdyEaI9z/9ja0uXecweJfyNsAsRkeFQD866i+k4p03p Grx4+q2Tv1a/nHYMxs1Kv9ilewCR+89JXv605XGsr15F964gNt0y8pP+9ohtnWRqXNQ7 eJuOCPs9/sKu9LfLN5TwVtftK2wMZijGfIyY1QukmqUoRbBTxBKe4/KTrcCcGFHxFpN5 Sga9GeNSz5RDecyElVh7LCb7wMqEv+kXQXmcqwraINIzY302WvDB+Xe/g0oefR+aMKJl QHTuXEXHPnO0SbyJuuU0uQOTWM1Ua5apXu/LA47eXM42O9xvAs1yYwGrxWaXNXCuHzKw V0wQ== X-Gm-Message-State: AMke39nCfXQj5vJE+S+yfhx1jZAi6xolIinmkTA/gcW+am6EsSrAya6oovC+rlDap9WkveSTglThii3bfe2gpw== X-Received: by 10.36.224.11 with SMTP id c11mr3901459ith.91.1487088128940; Tue, 14 Feb 2017 08:02:08 -0800 (PST) Original-Received: by 10.64.24.73 with HTTP; Tue, 14 Feb 2017 08:02:08 -0800 (PST) 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:97252 Archived-At: --===============0052161918554869012== Content-Type: multipart/alternative; boundary=94eb2c19e21ead19e805487faf2b --94eb2c19e21ead19e805487faf2b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable In the code below, the vertical spacing of the second level should be like that of the first level Thank you Fabrice \definecolor[MyBlue][c=3D0.06 , m=3D0.03, y=3D0.00, k=3D0.00] \defineframed [algorithmframe] [width=3D\textwidth, align=3Dnormal, strut=3Dno, offset=3D1ex, foregroundstyle=3D{\switchtobodyfont[7pt]}, background=3Dcolor, location=3Dmiddle, backgroundcolor=3DMyBlue, framecolor=3Ddarkblue, corner=3Dround] \definelines [algorithm] [space=3Don, before=3D{\startframed[algorithmframe]}, after=3D\stopframed] \starttext \startalgorithm \startitemize[1,joinedup,nowhite] \item On commence par le sommet A : il est =C3=A0 une distance \math{d({\rm= A})} =C3=A9gale =C3=A0 \math{0} du sommet A. \item Pour tous les sommets S adjacents =C3=A0 A et non marqu=C3=A9s : \startitemize[2,joinedup,nowhite] \item on calcule la somme \math{s} du poids de l'ar=C3=AAte A-S et de la distance \math{d({\rm A})} ; \item si \math{s < d({\rm S})}, on remplace la distance \math{d({\rm S})} par \math{s} et on retient que cette distance \quotation{provient} du sommet A. \stopitemize \item On marque d=C3=A9finitivement le sommet A. \stopitemize \stopalgorithm \stoptext --94eb2c19e21ead19e805487faf2b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
In the code below, the vertical spacing of the second le= vel should be like that of the first level
Thank you=
Fabrice

\definecolor[MyBlue][c=3D0.06 , m=3D0.03, y=3D0.00= , k=3D0.00]

\defineframed
=C2=A0 [algorithmframe]
=C2=A0 [widt= h=3D\textwidth,
=C2=A0=C2=A0 align=3Dnormal,
=C2=A0=C2=A0 strut=3Dno,=
=C2=A0=C2=A0 offset=3D1ex,
=C2=A0=C2=A0 foregroundstyle=3D{\switchto= bodyfont[7pt]},
=C2=A0=C2=A0 background=3Dcolor,
=C2=A0=C2=A0 locatio= n=3Dmiddle,
=C2=A0=C2=A0 backgroundcolor=3DMyBlue,
=C2=A0=C2=A0 frame= color=3Ddarkblue,
=C2=A0=C2=A0 corner=3Dround]

\definelines
= =C2=A0 [algorithm]
=C2=A0 [space=3Don,
=C2=A0=C2=A0 before=3D{\startf= ramed[algorithmframe]},
=C2=A0=C2=A0 after=3D\stopframed]

\startt= ext
\startalgorithm
\startitemize[1,joinedup,nowhite]
\item On com= mence par le sommet A : il est =C3=A0 une distance \math{d({\rm A})} =C3=A9= gale =C3=A0 \math{0} du sommet A.
\item Pour tous les sommets S adjacent= s =C3=A0 A et non marqu=C3=A9s :
\startitemize[2,joinedup,nowhite]
= =C2=A0 \item on calcule la somme \math{s} du poids de l'ar=C3=AAte A-S = et de la distance \math{d({\rm A})} ;
=C2=A0 \item si \math{s < d({\r= m S})}, on remplace la distance \math{d({\rm S})} par \math{s} et on retien= t que cette distance \quotation{provient} du sommet A.=C2=A0
=C2=A0 \st= opitemize
\item On marque d=C3=A9finitivement le sommet A.
\stopitemi= ze
\stopalgorithm
\stoptext
--94eb2c19e21ead19e805487faf2b-- --===============0052161918554869012== 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 --===============0052161918554869012==--