Tagged Questions
8
votes
1answer
1k views
\ifnum and pgfmath: error
In the following example I want to use \ifnum to compare two numbers computed by pgfmath, for simplicity I use simply 1 and 2 in the example below. Compiling this code gives me the error:
ERROR: ...
6
votes
1answer
1k views
Using ifthenelse in pgfmath
Following questions on constructing functions on the forum, I tried to build some myself. I can't seem to get the ifthenelse function in TikZ/PGF to work. Here is an example:
...