I would like to be able to have a defined macro something like this:
Such that when I call
in a document,
is printed. Is this possible?
I'm writing a C++ program that will export data to a TeX file. I have up to twenty items (but sometimes fewer), which have various measurement, like pressure. This TeX file will call for a template, which will specify how different data is actually printed. In the template, I will specify that I want to print pressure for the second item here.
I'd love to be able to say:
etc, but Tex can't handle numbers in macro names. Any suggestions?