All Questions
Tagged with ifthenelse loops
3 questions
1
vote
1
answer
62
views
Missing number, treated as zero error when using for loops and conditionals in tikz
I would be nice to be able to have a code that, by modifying certian parameters like height and width and cells to be colored red or green, generates a table for me. The code I have is already a ...
1
vote
1
answer
71
views
\whiledo not working when using it to generate table
I'm trying to use \whiledo (contained in the ifthen package) to automate the creation of a table. The idea—more or less—is that by setting a value \colnum to a number x, I can make a table with x+1 ...
4
votes
5
answers
536
views
Having trouble with TikZ -- For Loop and Conditionals
Essentially what I am trying to achieve is a grid of 12 circles with three rows and four columns. All I would like is for the two middle columns to be red while the other two columns are black. Here ...