From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86836 Path: news.gmane.org!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Table next to a text in an environment of type list Date: Sat, 29 Mar 2014 12:18:37 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1722941064==" X-Trace: ger.gmane.org 1396091926 8563 80.91.229.3 (29 Mar 2014 11:18:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Mar 2014 11:18:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 29 12:18:58 2014 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 1WTrHq-0005uF-LQ for gctc-ntg-context-518@m.gmane.org; Sat, 29 Mar 2014 12:18:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D50A010204; Sat, 29 Mar 2014 12:18:53 +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 pVqVySvliiCy; Sat, 29 Mar 2014 12:18:51 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D49DA101F8; Sat, 29 Mar 2014 12:18:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6F596101F8 for ; Sat, 29 Mar 2014 12:18:50 +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 KyiTreoV9glb for ; Sat, 29 Mar 2014 12:18:48 +0100 (CET) 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 AF678101EB for ; Sat, 29 Mar 2014 12:18:38 +0100 (CET) Original-Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s2TBaiii026236 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sat, 29 Mar 2014 12:36:45 +0100 Original-Received: by mail-wg0-f44.google.com with SMTP id m15so4284494wgh.3 for ; Sat, 29 Mar 2014 04:18:37 -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=w831+KtsAht6rXB88nCeL9RYYVtHdlLr2dO4tl5ZNqk=; b=Qrmm84rTrPW2151g/9PJtR6mp5e03NsryVYP6UZgoIWklvXWua00mEvKe99QnRFsZz ttzLbtjKY3H2TyT0wFGwjd1vgSUEC6nHeykuX6x+qKOz48qonuZySsdvfInvRGLOQhSx 0sZEx/Nqoy8Y03MB9P/LouNoszTObyyizx4kPJtCUI4WkuYc8FFdh0irchYA831q73p0 spm5vvSaBxMhtd0PQaTrZWs6hDZCWzBu98hff4jPjvFiR1RHxaIY8NJk52PpwVs9SKj5 65Iyy/Ea2yrgaosMEOyPXzJMK9jsWGVrPwe3tZ+9CC+V/g17qcDYc8J7xFv7/YpVMYQy QG3w== X-Received: by 10.194.109.227 with SMTP id hv3mr3057812wjb.10.1396091917620; Sat, 29 Mar 2014 04:18:37 -0700 (PDT) Original-Received: by 10.227.20.137 with HTTP; Sat, 29 Mar 2014 04:18:37 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::22c; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01LHnAJot - 075ca1542418 - 20140329 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86836 Archived-At: --===============1722941064== Content-Type: multipart/alternative; boundary=089e0102ee28d2d87704f5bcfafe --089e0102ee28d2d87704f5bcfafe Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, How to improve this code to make the table to the right of the text in the environment list ? \midaligned{\tfb Cadres en entreprise} \blank On compte 67 femmes dans une entreprise de 160 personnes. Parmi les personnes de cette entreprise, il y a 32 cadres dont 15 femmes. \startitemize[n][stopper=3D),style=3Dbold] \item Recopier le tableau ci-contre. \startitemize[n][stopper=3D),style=3Dbold] \setuphanging[location=3Dright] \starthanging{% \bTABLE[align=3D{middle,lohi}] \bTR\bTD {} \eTD \bTD {\bf Femmes} \eTD \bTD {\bf Hommes} \eTD \bTD {\bf Total} \eTD \eTR \bTR \bTD {\bf Cadres} \eTD \bTD {15} \eTD \bTD {} \eTD \bTD {32} \eTD \bTR \bTD {\bf Autres employ=E9s} \eTD \bTD {} \eTD \bTD {} \eTD \bTD {} \eTD \eTR \bTR \bTD {\bf Total} \eTD \bTD {67} \eTD \bTD {} \eTD \bTD 160{} \eTD \eTR \eTABLE} \stophanging \item Parmi les 160 personnes de cette entreprise, on en choisit une au hasard. On consid=E8re les =E9v=E9nements suivants : \startitemize[2] \item F : \quotation{la personne choisie est une femme} ; \item C : \quotation{la personne choisie est un cadre}. \stopitemize \startitemize[a][stopper=3D),style=3Dbold] \item D=E9finir par une phrase les =E9v=E9nements \math{\overline{C}}, \mat= h{F \cap C} et \math{F\cap\overline{C}}. \item Calculer les probabilit=E9s \math{P(F)}, \math{P(C)}, \math{P(\overline{C})}, \math{P(F \cap C)} et \math{P(F \cap \overline{C})}. \stopitemize \item \startitemize[a][stopper=3D),style=3Dbold] \item La personne choisie est un cadre de l'entreprise. Quelle est la probabilit=E9 que ce soit une femme ? {\it On note \math{P_{C}(F)} cette probabilit=E9.} \item Calculer \math{\dfrac{P(F \cap C)}{P(C)}}. Que constate-t-on ? \stopitemize \item \startitemize[a][stopper=3D),style=3Dbold] \item On choisit une femme parmi les personnes de l'entreprise. Quelle est la probabilit=E9 qu'elle soit cadre ? {\it On note \math{P_{F}(C)} cette probabilit=E9.} \item Exmpliquer pourquoi on obtient le r=E9sultat de la question pr=E9c=E9= dente en calculant \math{\dfrac{P(C \cap F)}{P(F)}}. \stopitemize \item Que repr=E9sentent en termes de probabilit=E9s les quotients \math{\dfrac{52}{67}} et \math{\dfrac{52}{128}} ? \stopitemize \stoptext Regards, Fabrice --089e0102ee28d2d87704f5bcfafe Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
How to improve this code to<= /span> make the table to the right of the text in the environment list ?

\midaligned{\tfb Cadres en entreprise}
\blank
On compte 67 femmes= dans une entreprise de 160 personnes.

Parmi les personnes de cette = entreprise, il y a 32 cadres dont 15 femmes.
\startitemize[n][stopper=3D= ),style=3Dbold]
\item Recopier le tableau ci-contre.

\startitemize[n][stopper=3D),st= yle=3Dbold]
\setuphanging[location=3Dright]
\starthanging{%
\bTABL= E[align=3D{middle,lohi}]
\bTR\bTD {} \eTD \bTD {\bf Femmes} \eTD \bTD {\= bf Hommes} \eTD \bTD {\bf Total} \eTD \eTR
\bTR \bTD {\bf Cadres} \eTD=A0 \bTD {15} \eTD \bTD {} \eTD \bTD {32} \eTD <= br>\bTR=A0 \bTD {\bf Autres employ=E9s} \eTD \bTD {} \eTD \bTD {} \eTD \bTD= {} \eTD=A0 \eTR
\bTR=A0 \bTD {\bf Total} \eTD \bTD {67} \eTD \bTD {} \= eTD \bTD 160{} \eTD \eTR
\eTABLE}
\stophanging
\item Parmi les 160 personnes de cette entrepri= se, on en choisit une au hasard.

On consid=E8re les =E9v=E9nements s= uivants :
\startitemize[2]
\item F : \quotation{la personne choisie e= st une femme} ;
\item C : \quotation{la personne choisie est un cadre}.
\stopitemize\startitemize[a][stopper=3D),style=3Dbold]
\item D=E9finir par une phra= se les =E9v=E9nements \math{\overline{C}}, \math{F \cap C} et \math{F\cap\o= verline{C}}.
\item Calculer les probabilit=E9s \math{P(F)}, \math{P(C)}, \math{P(\overli= ne{C})}, \math{P(F \cap C)} et \math{P(F \cap \overline{C})}.=A0
\stopi= temize
\item \startitemize[a][stopper=3D),style=3Dbold]
\item La pers= onne choisie est un cadre de l'entreprise. Quelle est la probabilit=E9 = que ce soit une femme ?

{\it On note \math{P_{C}(F)} cette probabilit=E9.}
\item Calculer \m= ath{\dfrac{P(F \cap C)}{P(C)}}. Que constate-t-on ?
\stopitemize
\ite= m \startitemize[a][stopper=3D),style=3Dbold]
\item On choisit une femme = parmi les personnes de l'entreprise. Quelle est la probabilit=E9 qu'= ;elle soit cadre ?

{\it On note \math{P_{F}(C)} cette probabilit=E9.}
\item Exmpliquer = pourquoi on obtient le r=E9sultat de la question pr=E9c=E9dente en calculan= t=A0 \math{\dfrac{P(C \cap F)}{P(F)}}.
\stopitemize
\item Que repr=E9= sentent en termes de probabilit=E9s les quotients \math{\dfrac{52}{67}} et = \math{\dfrac{52}{128}} ?
\stopitemize

\stoptext

Regards,
<= span class=3D"">Fabrice
--089e0102ee28d2d87704f5bcfafe-- --===============1722941064== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1722941064==--