[OS X TeX] creating a "smart macro"

Alex Hamann mailinglist at alex-hamann.de
Wed Apr 22 10:58:53 CEST 2009


I need to create a number of name tags for a class. The idea is to  
create a list of the students' names and have a macro that will fetch  
the first name, then reexecute using the second name and so on.
This is the layout I created. Can anybody give me a hint how to make  
a smart macro out of this that will work its way through a list of  
109 students and create a pdf in which every single page looks like  
the output of the code below while replacing \1stname and \lastname  
with the names in the list?


\setmainfont[Mapping=tex-text]{Hoefler Text}


More information about the macostex-archives mailing list