#8431: Substitutions over unit cube faces (Rauzy fractals)
--------------------------------------------------------------------------------+
Reporter: vdelecroix
| Owner: tjolivet
Type: task
| Status: needs_work
Priority: major
| Milestone: sage-4.6
Component: combinatorics
| Keywords: word morphism unit face generalized substitution rauzy fractal
Author: Vincent Delecroix, Timo Jolivet, Franco Saliola, Stepan Starosta
| Upstream: N/A
Reviewer:
| Merged:
Work_issues:
|
--------------------------------------------------------------------------------+
Comment(by abmasse):
Hello, Timo and Sébastien !
Replying to [comment:18 tjolivet]:
> As for the tikz code, I am sure that it compiles fine (with a normal
texlive installation). The \newcommand is nice because then one face is
reprensented by a small line instead of three bulky ones. It could be
''two'' lines, but in tikz there is no other way to specify an RGB color
than using \definecolor, which takes one more line. (Something similar to
`black!30!green` for RGB would be the great...)
I agree with you that the `\newcommand` makes the output much lighter. On
the other hand, it doesn't compile correctly... I tried it with a normal
Latex distribution, but I had to move the three `\newcommand` statements
outside the tikzpicture environment.
I might have a solution that would avoid using them, but which is not as
neat. You could use
{{{
\foreach \x / \y / \z / \c1 / \c2 / \c3 in {...}
}}}
and replace the `...` by the appropriate very long list of parameters for
each face and then put in the body of the `\foreach` command the 3-lines
Latex statement that draws the face with these parameters.
What do you say? Do you understand what I'm talking about (I don't feel my
explanation is very clear)?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8431#comment:19>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.