From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89071 Path: news.gmane.org!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Strange behavior with the command \color[]{} Date: Sun, 2 Nov 2014 12:52:19 +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="===============0396016500==" X-Trace: ger.gmane.org 1414929190 17136 80.91.229.3 (2 Nov 2014 11:53:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Nov 2014 11:53:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 02 12:53:06 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 1XktiT-00077L-R8 for gctc-ntg-context-518@m.gmane.org; Sun, 02 Nov 2014 12:53:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 703A610225 for ; Sun, 2 Nov 2014 12:53:05 +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 PrXRDzyGD92W for ; Sun, 2 Nov 2014 12:53:04 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C0FA81023B for ; Sun, 2 Nov 2014 12:52:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5236D10206 for ; Sun, 2 Nov 2014 12:52:24 +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 Em7MjC_fr_EZ for ; Sun, 2 Nov 2014 12:52:23 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 113AF101E4 for ; Sun, 2 Nov 2014 12:52:22 +0100 (CET) Original-Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sA2BqKVv014799 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 2 Nov 2014 12:52:21 +0100 Original-Received: by mail-ig0-f173.google.com with SMTP id r10so3298128igi.12 for ; Sun, 02 Nov 2014 03:52:20 -0800 (PST) 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=/v5lqpulrq1fYXRbajQlJ+30a/ZfzAFxsJvNwrw45Rw=; b=wXzxLDoaSWq4b6su57+yiMJUizJ7lCDVrWr7POxCRwEi3JHDI4jYEev/FQMHYbpu8q Gkk8R+ujLZfKsAMsw6y2fVYpFppm8AD5KCGkzRdGy5XeBUU1ATr3gWeIDC4t66OXrj4L +/nfi52Erpz+rsnBBKETHNh1EQ1I7tx2VD0HjXTvhNQhef0ElXSeocrR0c0w2l1Bv47Y yRYZiGPCA1uIDco93LBRt6O3pa2w2/cZ5Y0SELBh26OCjAK3LOCSgIS8X2ifwLqEto0m x08+cHQnRFbeBr5+nb5OJBUSIwEabN6njhBhrgv2JdOZKyXc1YiyIrx1sknbYO981q7g J3ew== X-Received: by 10.50.82.102 with SMTP id h6mr9663778igy.25.1414929139866; Sun, 02 Nov 2014 03:52:19 -0800 (PST) Original-Received: by 10.50.3.69 with HTTP; Sun, 2 Nov 2014 03:52:19 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c05::22d; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VNazQlFs - e4afce189245 - 20141102 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:89071 Archived-At: --===============0396016500== Content-Type: multipart/alternative; boundary=047d7bf183d8c3a2250506dedc35 --047d7bf183d8c3a2250506dedc35 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, In the code below, if I comment the two lines, it's okay, but if I uncomment those two lines, the number of faces of the cubes is not white but black, and the= re are pieces of text green. Best regards, Fabrice \usemodule[tikz] \usetikzlibrary[calc] \usetikzlibrary[cd] \usetikzlibrary[3d] \usetikzlibrary[arrows.meta] \usetikzlibrary[positioning] %\definecolor[H1prime][c=3D0.50, m=3D0.00, y=3D1.00, k=3D0.00] %\definecolor[H4][c=3D0.07, m=3D0.00, y=3D0.15, k=3D0.00] \starttext \startsetups[table:initialize] \setupTABLE[height=3D2.5cm,align=3D{middle,lohi}] \setupTABLE[column][2][[width=3D3cm,align=3D{right,lohi},frame=3Doff] \setupTABLE[column][3][[width=3D8cm,align=3D{right,lohi},frame=3Doff] \setupTABLE[1][1][[width=3D5cm,align=3D{right,lohi},frame=3Doff] \setupTABLE[1][2,3][bottomframe=3Doff] \setupTABLE[1][3,4][topframe=3Doff] \stopsetups \bTABLE[setups=3Dtable:initialize] \switchtobodyfont[11pt] \bTR \bTD \color[orange]{\tfa Suite d'instructions correspondant au programme de calcul :} \eTD \bTD \eTD \bTD \color[orange]{\tfa Valeur de la variable $X$ apr=C3=A8s l'ex=C3=A9cution de chaque instruction :} \eTD \eTR \bTR \bTD $X$ prend la valeur $7$ \eTD \bTD \dontleavehmode \startMPcode input hvdm; l:=3D2.8mm; r:=3D0.6; alfa:=3D45; beta:=3D0; gamma:=3D0; defineDefaultArrow (l, r, alfa, beta, gamma); pickup pencircle scaled 0.4mm; arrowline (0cm,0cm)--(3cm,0cm) withcolor blue ;\stopMPcode \eTD \bTD On affecte =C3=A0 $X$ la valeur $7$ : la valeur de $X$ est \color[green]{$7$}. \eTD \eTR \bTR \bTD $X$ prend la valeur $2X$ \eTD \bTD \dontleavehmode \startMPcode input hvdm; l:=3D2.8mm; r:=3D0.6; alfa:=3D45; beta:=3D0; gamma:=3D0; defineDefaultArrow (l, r, alfa, beta, gamma); pickup pencircle scaled 0.4mm; arrowline (0cm,0cm)--(3cm,0cm) withcolor red ;\stopMPcode\eTD \bTD On affecte =C3=A0 $X$ la valeur $2X$.\\Comme la valeur de $X$ est \color[green]{$7$}, la nouvelle valeur de $X$ est : $2\times\color[green]{7}$.\\La valeur de $X$ est maintenant \color[green]{$14$}. \eTD \eTR \bTR \bTD $X$ prend la valeur $X+3$ \eTD \bTD \dontleavehmode \startMPcode input hvdm; l:=3D2.8mm; r:=3D0.6; alfa:=3D45; beta:=3D0; gamma:=3D0; defineDefaultArrow (l, r, alfa, beta, gamma); pickup pencircle scaled 0.4mm; arrowline (0cm,0cm)--(3cm,0cm) withcolor green ;\stopMPcode\eTD \eTR \bTD On affecte =C3=A0 $X$ la valeur $X+3$.\\Comme la valeur de $X$ est \color[green]{$14$}, la nouvelle valeur de $X$ est : $\color[green]{14}+3$.\\La valeur de $X$ est maintenant \color[green]{$17$}= . \eTD \eTABLE{} \startsetups[table:initialize] \setupTABLE[height=3D2cm,align=3D{middle,lohi}] \setupTABLE[column][1][[width=3D4cm,align=3D{right,lohi},frame=3Don, framecolor=3DH1prime] \setupTABLE[column][2][[width=3D5cm,align=3D{middle,lohi},frame=3Doff] \setupTABLE[column][3][[width=3D1cm,align=3D{middle,lohi},frame=3Doff] \setupTABLE[column][4][[width=3D9cm,align=3D{right,lohi},frame=3Doff] \setupTABLE[1][1][frame=3Doff] \setupTABLE[1][2,3][bottomframe=3Doff] \setupTABLE[1][3,4][topframe=3Doff] \stopsetups \bTABLE[setups=3Dtable:initialize] \switchtobodyfont[10pt] \bTR \bTD \color[red]{ Suite d'instructions :} \eTD \bTD \eTD \bTD \eTD \bTD \color[orange]{ Valeur de la variable $A$ et valeur de la variable $B$ apr=C3=A8s l'ex=C3=A9cution de chaque instruction :}\eTD \eTR \bTR \bTD $A$ prend la valeur $3$ \eTD \bTD \tikzset{% cube join/.style=3D{ thick, -{Stealth}, }, cube face/.style=3D{ minimum size=3D1cm, outer sep=3D0pt, draw=3Dwhite, thick, line join=3Dround, shading=3Dball, text=3Dwhite, }, face color/.style=3D{cube face/.append style=3D{ball color=3D#1}}, pics/cube/.style args=3D{#1 with #2}{ code=3D{ \node [cube face, label=3D{[name=3D-label]below:#2}] (-front) {#1}; \node [cube face] (-top) at (-front.north west) [anchor=3Dsouth west, xslant=3D1, yscale=3D1/3] {}; \node [cube face] (-side) at (-front.south east) [anchor=3Dsouth west, yslant=3D1, xscale=3D1/3] {}; }} } \starttikzpicture \pic [cube face/.append style=3D{ball color=3Dgreen}] at (-1, 1) {cube=3D3 = with $A$};\pic [cube face/.append style=3D{ball color=3Dred}] at ( 1, 1) {cube= =3D{} with $B$}; \stoptikzpicture \eTD \bTD \dontleavehmode \startMPcode input hvdm; l:=3D2.8mm; r:=3D0.6; alfa:=3D45; beta:=3D0; gamma:=3D0; defineDefaultArrow (l, r, alfa, beta, gamma); pickup pencircle scaled 0.4mm; arrowline (1cm,0cm)--(0cm,0cm) ;\stopMPcode \eTD \bTD La valeur de $A$ est \color[green]{3} et $B$ n'a pas encore de valeur \eTD \eTR \bTR \bTD $B$ prend la valeur $A+1$ \eTD \bTD \tikzset{% cube join/.style=3D{ thick, -{Stealth}, }, cube face/.style=3D{ minimum size=3D1cm, outer sep=3D0pt, draw=3Dwhite, thick, line join=3Dround, shading=3Dball, text=3Dwhite, font=3D\bfseries }, face color/.style=3D{cube face/.append style=3D{ball color=3D#1}}, pics/cube/.style args=3D{#1 with #2}{ code=3D{ \node [cube face, label=3D{[name=3D-label]below:#2}] (-front) {#1}; \node [cube face] (-top) at (-front.north west) [anchor=3Dsouth west, xslant=3D1, yscale=3D1/3] {}; \node [cube face] (-side) at (-front.south east) [anchor=3Dsouth west, yslant=3D1, xscale=3D1/3] {}; }} } \starttikzpicture \pic [cube face/.append style=3D{ball color=3Dgreen}] at (-1, 1) {cube=3D3 = with $A$}; \pic [cube face/.append style=3D{ball color=3Dred}] at ( 1, 1) {cube=3D4 wi= th $B$}; \stoptikzpicture \eTD \bTD \dontleavehmode \startMPcode input hvdm; l:=3D2.8mm; r:=3D0.6; alfa:=3D45; beta:=3D0; gamma:=3D0; defineDefaultArrow (l, r, alfa, beta, gamma); pickup pencircle scaled 0.4mm; arrowline (1cm,0cm)--(0cm,0cm) ;\stopMPcode \eTD \bTD Comme la valeur de $A$ est \color[green]{$3$}, la valeur de $B$ est : $\color[geen]{3}+1$, soit \color[red]{$4$}.\\La valeur de $A$ ne change pas : elle reste =C3=A9gale =C3=A0 \color[green]{$3$}.\eTD \bTR \bTD $A$ prend la valeur $A+B$ \eTD \bTD \tikzset{% cube join/.style=3D{ thick, -{Stealth}, }, cube face/.style=3D{ minimum size=3D1cm, outer sep=3D0pt, draw=3Dwhite, thick, line join=3Dround, shading=3Dball, ball color=3Dred, text=3Dwhite, font=3D\bfseries }, face color/.style=3D{cube face/.append style=3D{ball color=3D#1}}, pics/cube/.style args=3D{#1 with #2}{ code=3D{ \node [cube face, label=3D{[name=3D-label]below:#2}] (-front) {#1}; \node [cube face] (-top) at (-front.north west) [anchor=3Dsouth west, xslant=3D1, yscale=3D1/3] {}; \node [cube face] (-side) at (-front.south east) [anchor=3Dsouth west, yslant=3D1, xscale=3D1/3] {}; }} } \starttikzpicture \pic [cube face/.append style=3D{ball color=3Dgreen}] at (-1, 1) {cube=3D7 = with $A$}; \pic [cube face/.append style=3D{ball color=3Dred}] at ( 1, 1) {cube=3D4 wi= th $B$}; \stoptikzpicture \eTD \bTD \dontleavehmode \startMPcode input hvdm; l:=3D2.8mm; r:=3D0.6; alfa:=3D45; beta:=3D0; gamma:=3D0; defineDefaultArrow (l, r, alfa, beta, gamma); pickup pencircle scaled 0.4mm; arrowline (1cm,0cm)--(0cm,0cm) ;\stopMPcode \eTD \bTD Comme la valeur de $A$ est \color[green]{3} et que celle de $B$ est \color[red]{$4$}, la nouvelle valeur de $A$ est : $\color[green]{3}+\color[red]{4}$, c'est-=C3=A0-dire \color[green]{$7$}.\\L= a valeur de $B$ ne change pas : elle reste =C3=A9gale =C3=A0 \color[red]{$4$}= . \eTD \eTR \eTABLE{} \stoptext --047d7bf183d8c3a2250506dedc35 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
<= span id=3D"result_box" class=3D"" lang=3D"en">Hi,
In the code below, if I comment the two lines, it's okay= , but if I uncomment= those two lines, the number of faces of the cubes is not white but black, and there are pie= ces of text green.
Best regards,
Fabrice

\usemodule[tikz]
\usetikzlibrary[calc]
\us= etikzlibrary[cd]
\usetikzlibrary[3d]
\usetikzlibrary[arrows.meta]
= \usetikzlibrary[positioning]
%\definecolor[H1prime][c=3D0.50, m=3D0.00, = y=3D1.00, k=3D0.00]
%\definecolor[H4][c=3D0.07, m=3D0.00, y=3D0.15, k=3D= 0.00]
\starttext

\startsetups[table:initialize]
=C2=A0 \setupT= ABLE[height=3D2.5cm,align=3D{middle,lohi}]
=C2=A0 \setupTABLE[column][2]= [[width=3D3cm,align=3D{right,lohi},frame=3Doff]
=C2=A0 \setupTABLE[colum= n][3][[width=3D8cm,align=3D{right,lohi},frame=3Doff]
=C2=A0 \setupTABLE[= 1][1][[width=3D5cm,align=3D{right,lohi},frame=3Doff]
=C2=A0 \setupTABLE[= 1][2,3][bottomframe=3Doff]
=C2=A0 \setupTABLE[1][3,4][topframe=3Doff]\stopsetups
\bTABLE[setups=3Dtable:initialize]
\switchtobodyfont[11p= t]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \bTR \bTD \color[orange]{\= tfa Suite d'instructions correspondant au programme de calcul :} \eTD \= bTD \eTD \bTD \color[orange]{\tfa Valeur de la variable $X$ apr=C3=A8s l= 9;ex=C3=A9cution de chaque instruction :} \eTD \eTR
=C2=A0=C2=A0=C2=A0 = \bTR
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 \bTD $X$ prend la valeur $7$ = \eTD \bTD \dontleavehmode \startMPcode input hvdm;
l:=3D2.8mm; r:=3D0.6;= alfa:=3D45; beta:=3D0; gamma:=3D0;
defineDefaultArrow (l, r, alfa, beta= , gamma); pickup pencircle scaled 0.4mm; arrowline (0cm,0cm)--(3cm,0cm) wit= hcolor blue=C2=A0 ;\stopMPcode \eTD
\bTD On affecte =C3=A0 $X$ la valeur= $7$ : la valeur de $X$ est \color[green]{$7$}. \eTD
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 \eTR
=C2=A0=C2=A0=C2=A0 \bTR
=C2=A0=C2=A0=C2= =A0 =C2=A0=C2=A0=C2=A0 \bTD $X$ prend la valeur $2X$ \eTD \bTD \dontleavehm= ode \startMPcode input hvdm;
l:=3D2.8mm; r:=3D0.6; alfa:=3D45; beta:=3D0= ; gamma:=3D0;
defineDefaultArrow (l, r, alfa, beta, gamma); pickup penci= rcle scaled 0.4mm; arrowline (0cm,0cm)--(3cm,0cm) withcolor red=C2=A0 ;\sto= pMPcode\eTD
\bTD On affecte =C3=A0 $X$ la valeur $2X$.\\Comme la valeur = de $X$ est \color[green]{$7$}, la nouvelle valeur de $X$ est : $2\times\col= or[green]{7}$.\\La valeur de $X$ est maintenant \color[green]{$14$}.
=C2= =A0\eTD
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \eTR
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \bTR
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2= =A0 \bTD $X$ prend la valeur $X+3$ \eTD \bTD \dontleavehmode \startMPcode i= nput hvdm;
l:=3D2.8mm; r:=3D0.6; alfa:=3D45; beta:=3D0; gamma:=3D0;
d= efineDefaultArrow (l, r, alfa, beta, gamma); pickup pencircle scaled 0.4mm;= arrowline (0cm,0cm)--(3cm,0cm) withcolor green=C2=A0 ;\stopMPcode\eTD
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \eTR
\bTD On affecte =C3=A0 $= X$ la valeur $X+3$.\\Comme la valeur de $X$ est \color[green]{$14$}, la nou= velle valeur de $X$ est : $\color[green]{14}+3$.\\La valeur de $X$ est main= tenant \color[green]{$17$}.
=C2=A0\eTD=C2=A0=C2=A0=C2=A0
\eTABLE{}
\startsetups[table:initialize]
=C2=A0 \setupTABLE[height=3D2cm,ali= gn=3D{middle,lohi}]
=C2=A0 \setupTABLE[column][1][[width=3D4cm,align=3D{= right,lohi},frame=3Don, framecolor=3DH1prime]
=C2=A0 \setupTABLE[column]= [2][[width=3D5cm,align=3D{middle,lohi},frame=3Doff]
=C2=A0 \setupTABLE[c= olumn][3][[width=3D1cm,align=3D{middle,lohi},frame=3Doff]
=C2=A0 \setupT= ABLE[column][4][[width=3D9cm,align=3D{right,lohi},frame=3Doff]
=C2=A0 \s= etupTABLE[1][1][frame=3Doff]
=C2=A0 \setupTABLE[1][2,3][bottomframe=3Dof= f]
=C2=A0 \setupTABLE[1][3,4][topframe=3Doff]
\stopsetups
\bTABLE[= setups=3Dtable:initialize]
\switchtobodyfont[10pt]
\bTR
\bTD \col= or[red]{ Suite d'instructions :} \eTD
\bTD \eTD
\bTD \eTD
=C2= =A0\bTD \color[orange]{ Valeur de la variable $A$=C2=A0 et valeur de la var= iable $B$ apr=C3=A8s l'ex=C3=A9cution de chaque instruction :}\eTD
= \eTR
\bTR
\bTD $A$ prend la valeur $3$ \eTD
\bTD
\tikzset{%=C2=A0 cube join/.style=3D{
=C2=A0=C2=A0=C2=A0 thick, -{Stealth},
= =C2=A0 },
=C2=A0 cube face/.style=3D{
=C2=A0=C2=A0=C2=A0 minimum size= =3D1cm, outer sep=3D0pt,
=C2=A0=C2=A0=C2=A0 draw=3Dwhite, thick, line jo= in=3Dround,
=C2=A0=C2=A0=C2=A0 shading=3Dball,
=C2=A0=C2=A0=C2=A0 tex= t=3Dwhite,
=C2=A0 },
=C2=A0 face color/.style=3D{cube face/.append = style=3D{ball color=3D#1}},=C2=A0
=C2=A0 pics/cube/.style args=3D{#1 wi= th #2}{
=C2=A0 code=3D{
=C2=A0=C2=A0=C2=A0 \node [cube face, label=3D= {[name=3D-label]below:#2}] (-front) {#1};
=C2=A0=C2=A0=C2=A0 \node [cube= face] (-top)=C2=A0 at (-front.north west) [anchor=3Dsouth west, xslant=3D1= , yscale=3D1/3] {};
=C2=A0=C2=A0=C2=A0 \node [cube face] (-side) at (-fr= ont.south east) [anchor=3Dsouth west, yslant=3D1, xscale=3D1/3] {};
=C2= =A0=C2=A0 }}
}
\starttikzpicture
\pic [cube face/.append style=3D{= ball color=3Dgreen}] at (-1, 1) {cube=3D3=C2=A0 with $A$};\pic [cube face/.= append style=3D{ball color=3Dred}] at ( 1, 1) {cube=3D{} with $B$};=C2=A0 <= br>
\stoptikzpicture
=C2=A0\eTD
\bTD
\dontleavehmode \startMPco= de input hvdm;
l:=3D2.8mm; r:=3D0.6; alfa:=3D45; beta:=3D0; gamma:=3D0;<= br>defineDefaultArrow (l, r, alfa, beta, gamma); pickup pencircle scaled 0.= 4mm; arrowline (1cm,0cm)--(0cm,0cm)=C2=A0 ;\stopMPcode
\eTD
\bTD La = valeur de $A$ est \color[green]{3} et $B$=C2=A0 n'a pas encore de valeu= r \eTD
\eTR
\bTR
\bTD $B$ prend la valeur $A+1$ \eTD
\bTD
\= tikzset{%
=C2=A0 cube join/.style=3D{
=C2=A0=C2=A0=C2=A0 thick, -{Ste= alth},
=C2=A0 },
=C2=A0 cube face/.style=3D{
=C2=A0=C2=A0=C2=A0 m= inimum size=3D1cm, outer sep=3D0pt,
=C2=A0=C2=A0=C2=A0 draw=3Dwhite, thi= ck, line join=3Dround,
=C2=A0=C2=A0=C2=A0 shading=3Dball,
=C2=A0=C2= =A0=C2=A0 text=3Dwhite, font=3D\bfseries
=C2=A0 },
=C2=A0face color/= .style=3D{cube face/.append style=3D{ball color=3D#1}},=C2=A0=C2=A0
=C2= =A0 pics/cube/.style args=3D{#1 with #2}{
=C2=A0 code=3D{
=C2=A0=C2= =A0=C2=A0 \node [cube face, label=3D{[name=3D-label]below:#2}] (-front) {#1= };
=C2=A0=C2=A0=C2=A0 \node [cube face] (-top)=C2=A0 at (-front.north we= st) [anchor=3Dsouth west, xslant=3D1, yscale=3D1/3] {};
=C2=A0=C2=A0=C2= =A0 \node [cube face] (-side) at (-front.south east) [anchor=3Dsouth west, = yslant=3D1, xscale=3D1/3] {};
=C2=A0=C2=A0 }}
}
\starttikzpicture<= br>\pic [cube face/.append style=3D{ball color=3Dgreen}] at (-1, 1) {cube= =3D3=C2=A0 with $A$};
\pic [cube face/.append style=3D{ball color=3Dred= }] at ( 1, 1) {cube=3D4 with $B$};
\stoptikzpicture
\eTD
\bTD
\= dontleavehmode \startMPcode input hvdm;
l:=3D2.8mm; r:=3D0.6; alfa:=3D45= ; beta:=3D0; gamma:=3D0;
defineDefaultArrow (l, r, alfa, beta, gamma); p= ickup pencircle scaled 0.4mm; arrowline (1cm,0cm)--(0cm,0cm)=C2=A0 ;\stopMP= code
\eTD
\bTD Comme la valeur de $A$ est \color[green]{$3$}, la val= eur de $B$ est : $\color[geen]{3}+1$, soit \color[red]{$4$}.\\La valeur de = $A$ ne change pas : elle reste =C3=A9gale =C3=A0 \color[green]{$3$}.\eTD\bTR
\bTD $A$ prend la valeur $A+B$ \eTD
\bTD
\tikzset{%
=C2= =A0 cube join/.style=3D{
=C2=A0=C2=A0=C2=A0 thick, -{Stealth},
=C2= =A0 },
=C2=A0 cube face/.style=3D{
=C2=A0=C2=A0=C2=A0 minimum size=3D= 1cm, outer sep=3D0pt,
=C2=A0=C2=A0=C2=A0 draw=3Dwhite, thick, line join= =3Dround,
=C2=A0=C2=A0=C2=A0 shading=3Dball, ball color=3Dred,
=C2=A0= =C2=A0=C2=A0 text=3Dwhite, font=3D\bfseries
=C2=A0 },
=C2=A0 face col= or/.style=3D{cube face/.append style=3D{ball color=3D#1}},=C2=A0=C2=A0=C2= =A0
=C2=A0 pics/cube/.style args=3D{#1 with #2}{
=C2=A0 code=3D{
= =C2=A0=C2=A0=C2=A0 \node [cube face, label=3D{[name=3D-label]below:#2}] (-f= ront) {#1};
=C2=A0=C2=A0=C2=A0 \node [cube face] (-top)=C2=A0 at (-front= .north west) [anchor=3Dsouth west, xslant=3D1, yscale=3D1/3] {};
=C2=A0= =C2=A0=C2=A0 \node [cube face] (-side) at (-front.south east) [anchor=3Dsou= th west, yslant=3D1, xscale=3D1/3] {};
=C2=A0=C2=A0 }}
}
\starttik= zpicture
\pic [cube face/.append style=3D{ball color=3Dgreen}] at (-1, 1= ) {cube=3D7=C2=A0 with $A$};
\pic [cube face/.append style=3D{ball colo= r=3Dred}] at ( 1, 1) {cube=3D4 with $B$};

\stoptikzpicture
\eTD\bTD
\dontleavehmode \startMPcode input hvdm;
l:=3D2.8mm; r:=3D0.6;= alfa:=3D45; beta:=3D0; gamma:=3D0;
defineDefaultArrow (l, r, alfa, beta= , gamma); pickup pencircle scaled 0.4mm; arrowline (1cm,0cm)--(0cm,0cm)=C2= =A0 ;\stopMPcode
\eTD
\bTD Comme la valeur de $A$ est \color[green]{= 3} et que celle de $B$ est \color[red]{$4$}, la nouvelle valeur de $A$ est = : $\color[green]{3}+\color[red]{4}$, c'est-=C3=A0-dire \color[green]{$7= $}.\\La valeur de $B$ ne change pas : elle reste =C3=A9gale =C3=A0 \color[r= ed]{$4$}.
\eTD
\eTR=C2=A0=C2=A0=C2=A0
\eTABLE{}
\stoptext
<= span style=3D"background-color:rgb(255,0,0)">

=
--047d7bf183d8c3a2250506dedc35-- --===============0396016500== 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= --===============0396016500==--