From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Strange behavior with the command \color[]{}
Date: Thu, 6 Nov 2014 21:16:48 +0100 [thread overview]
Message-ID: <CAG5iGsBfMn2D9Df6V8d=QZ4JTMTEToActs3vFFV2+r38fp++6g@mail.gmail.com> (raw)
In-Reply-To: <CAG5iGsAZ0b=wUhy8jiBmV9_v-=tw-1q0Z4yWp8eaCLOuoZP_jA@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1760 bytes --]
On Thu, Nov 6, 2014 at 8:57 PM, luigi scarso <luigi.scarso@gmail.com> wrote:
>
>
> \usemodule[tikz]
\usetikzlibrary[calc]
\usetikzlibrary[3d]
\usetikzlibrary[arrows.meta]
\usetikzlibrary[positioning]
\definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00]
\definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00]
\tikzset{%
cube join/.style={
thick, -{Stealth},
},
cube face/.style={
minimum size=1cm, outer sep=0pt,
draw=white, thick, line join=round,
shading=ball,
text=white,
},
face color/.style={cube face/.append style={ball color=#1}},
pics/cube/.style args={#1 with #2}{
code={
\node [cube face, label={[name=-label]below:#2}] (-front) {#1};
\node [cube face] (-top) at (-front.north west) [anchor=south west,
xslant=1, yscale=1/3] {};
\node [cube face] (-side) at (-front.south east) [anchor=south west,
yslant=1, xscale=1/3] {};
}}
}
\starttext
\startsetups[table:initialize]
\setupTABLE[height=2cm,align={middle,lohi}]
\setupTABLE[column][1][width=4cm,align={right,lohi},frame=on]%,framecolor=H1prime]
\setupTABLE[column][2][width=5cm,align={middle,lohi},frame=off]
\setupTABLE[column][3][width=9cm,align={right,lohi},frame=off]
\setupTABLE[1][1][frame=off]
\stopsetups
\bTABLE[setups=table:initialize]
\switchtobodyfont[10pt]
\bTR \bTD[n=3] \eTD \eTR
\bTR \bTD $A$ prend la valeur $3$ \eTD
\bTD
\starttikzpicture
\pic [cube face/.append style={ball color=green}] at (-1, 1) {cube=3 with
$A$};\pic [cube face/.append style={ball color=red}] at ( 1, 1) {cube={}
with $B$};
\stoptikzpicture
\eTD
\bTD \tracingall La valeur de $A$ est\color[green]{3} et $B$ n'a pas
encore de valeur \tracingnone
\eTD
\eTR
\eTABLE{}
\stoptext
The problem seems to be
%,framecolor=H1prime]
--
luigi
[-- Attachment #1.2: Type: text/html, Size: 4136 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2014-11-06 20:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-02 11:52 Fabrice Couvreur
2014-11-04 19:28 ` Fabrice
2014-11-05 9:04 ` Hans Hagen
2014-11-05 18:41 ` Fabrice
2014-11-06 9:04 ` Hans Hagen
2014-11-06 18:50 ` Fabrice
2014-11-06 19:45 ` Aditya Mahajan
2014-11-06 19:57 ` luigi scarso
2014-11-06 20:16 ` luigi scarso [this message]
2014-11-06 21:28 ` Herbert Voss
2014-11-07 9:52 ` luigi scarso
2014-11-07 15:32 ` Fabrice
2014-11-06 21:14 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAG5iGsBfMn2D9Df6V8d=QZ4JTMTEToActs3vFFV2+r38fp++6g@mail.gmail.com' \
--to=luigi.scarso@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).