Reputation
Top tag
Next privilege 10 Rep.
Answer protected questions
Badges
1
Newest
 Student
Impact
~101 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
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