### Who is online

In total there are 6 users online :: 0 registered, 0 hidden and 6 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 6 guests

## TikZ | Configuration of Example

Add tags Information and discussion about graphics, figures & tables in LaTeX documents.

### TikZ | Configuration of Example

Hi all.

The example here is just great (and even better with the implementation in the comment).

I would, however, like to have all the sides on a cube in the same color but have the color change in each layer of cubes. (I hope it makes sense.)

I have never used TikZ (and I do not have the time to learn it at the moment), so I would be very glad if someone would change the code for me.

Last edited by svend_tveskaeg on Tue Oct 9th, 2012, edited 1 time in total.
In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)

svend_tveskaeg

Posts: 478
Joined: Sun Jul 12th, 2009
Location: Aarhus, Denmark

### Re: TikZ | Configuration of Example

I am not sure if people are quite because

(1) there is no MWE directly in the thread,
(2) no one can solve my problem, or
(3) something else.

Therefore, I will eliminate the first possibility:

Code: Select all  •  Open in writeLaTeX
In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)

svend_tveskaeg

Posts: 478
Joined: Sun Jul 12th, 2009
Location: Aarhus, Denmark

### Re: TikZ | Configuration of Example

You seem to assume that those who are able to help always can invest their time especially in your problems. That is not the case. m(

Thorsten
LaTeX Community Moderator

¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses

localghost
Site Moderator

Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

### Re: TikZ | Configuration of Example

localghost wrote:You seem to assume that those who are able to help always can invest their time ...

No I do not. That is why I wrote (3).

localghost wrote:... especially in your problems

If I have given that impression in my previous posts, I apologise. That was not my indend.

P.S. I am glad whenever someone helps me. As I said before, I just tried to eliminate one of the possible reason why my post was not answered.
In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)

svend_tveskaeg

Posts: 478
Joined: Sun Jul 12th, 2009
Location: Aarhus, Denmark

### Re: TikZ | Configuration of Example

My bet would be the following sentence:
I would be very glad if someone would change the code for me.

Questions that sound like “please do it for me” are very unlikely to be answered, the more so the more direct they are (even if they are more honest that way and regardless of the reasons behind them...). At least that's my experience.

Regards
Clemens
------------------------------
New German Q&A site about TeX: http://texwelt.de/wissen

cgnieder
Site Moderator

Posts: 1699
Joined: Sat Apr 16th, 2011
Location: Germany

### Re: TikZ | Configuration of Example

That makes sense.

However, I have no intend of people coming foreward afterwards and claming that they were duped; I am telling it at it is. If that means that I will not get any help, then so be it.

Since I do now know TikZ at all and really like the code above with the alternation that I mentioned, that is how I do it.
In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)

svend_tveskaeg

Posts: 478
Joined: Sun Jul 12th, 2009
Location: Aarhus, Denmark

### Re: TikZ | Configuration of Example

And because you are so impatient, you have posted this also on {TeX} SX? Our administrator has written down some interesting thoughts in this regard.

Board Rules (Section 4.1) wrote:A crossposting is always contra-productive. But there is nothing really against it as long as it is mentioned. This means that a direct link has to be added. So other users who want to help are preserved from double efforts and waste of time.
LaTeX Community Moderator

¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses

localghost
Site Moderator

Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

### Re: TikZ | Configuration of Example

However, I have an (untested) idea: change all colors (yellow, blue, red) into cubecolor and add
Code: Select all  •  Open in writeLaTeX
\colorlet{cubecolor}{red!\c0}
(or similar) right beneath
Code: Select all  •  Open in writeLaTeX
\addtocounter{z}{1}

This should draw each layer in a different shade of red.

Regards
Clemens
------------------------------
New German Q&A site about TeX: http://texwelt.de/wissen

cgnieder
Site Moderator

Posts: 1699
Joined: Sat Apr 16th, 2011
Location: Germany

### Re: TikZ | Configuration of Example

Very good, Clemens! I tested it, and this gives:
cubes.png (12.4 KiB) Viewed 993 times

Perhaps post it to the other site. If you don't have TeX at hand to compile, just use this image there as well.

Stefan

Stefan_K

Posts: 6894
Joined: Mon Mar 10th, 2008
Location: Hamburg, Germany

### Re: TikZ | Configuration of Example

Stefan_K wrote:Perhaps post it to the other site.

I have, together with a second idea I had.
Clemens
------------------------------
New German Q&A site about TeX: http://texwelt.de/wissen

cgnieder
Site Moderator

Posts: 1699
Joined: Sat Apr 16th, 2011
Location: Germany

Next

### Who is online

Users browsing this forum: No registered users and 6 guests