10
votes
5answers
423 views

How to create a “delay expansion” environment?

I don't want to use the following \begingroup \edef\next{\endgroup \noexpand\const{Xp}{\X(tp)} \noexpand\const{Yp}{\Y(tp)} \noexpand\const{Xf}{\X(tf)} \noexpand\const{Yf}{\Y(tf)} ...
2
votes
3answers
605 views

macros that won't accept other macros as arguments

I'm trying to pass a counter to a macro that uses macros from the fp package. I can pass hard coded values and \results from the fp package BUT if I pass the counter it complains that it is not a ...
4
votes
2answers
396 views

Strange expansion of a macro inside an environment

I'm, I should confess, a total newbie. I'm trying to generate invoices with LaTeX, so I'm using the fp package. But the strange thing is that calculations occur many times when they should only ...