Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!samsung!dali.cs.montana.edu!caen!hellgate.utah.edu!dog.ee.lbl.gov!ucsd!cogsci!miller From: miller@cogsci.ucsd.EDU (Jeff Miller) Newsgroups: comp.text.tex Subject: Can Latex Float Answers to End of Document? Keywords: latex float Message-ID: <252@cogsci.ucsd.EDU> Date: 17 Jan 91 19:18:54 GMT Organization: University of California, San Diego Lines: 27 Hello Texperts. I would like to make up a problem set with answers. Ideally, the answers should be next to the problems in the file, but should all print together at the end of the document. What I have in mind is a file like this: \problem{What is the capital of the US?} \answer{Washington, D. C.} \problem{What is 2+2?} \answer{4} that prints out like this: Problems: What is the capital of the US? What is 2+2? Answers: Washington, D. C. 4. Is this possible? Should I just write a little program to preprocess the file before I give it to Latex (seems crude, but easy). Thanks for any pointers you can give me. Jeff Miller Psychology, UCSD jomiller@ucsd.edu