George

Unregistered less info
6 reputation
1
bio website
location
age
visits member for 1 year, 8 months
seen Dec 29 '12 at 17:29

Dec
29
awarded  Student
Dec
29
comment Defining a macro with if statements
Thank you for your answer, that's pretty much what I did. However, if I want to calculate f(x+1), it doesn't work, i.e. I can't pass the argument "\x+1" to the macro (in the "plot" line). Any way to work around that?
Dec
29
comment Defining a macro with if statements
Thanks! Indeed I didn't know a simple command such as ifthenelse existed. That works great.
Dec
29
asked Defining a macro with if statements