Naresh on Mon, 28 Oct 2002 23:20:05 -0500 |
Jeff, For the "question/answer problem" have you tried using "enumerate" ? If I understood your question right, for paragraph spacing, I usually do \vspace {12pt}. Goodluck, Naresh On Mon, 28 Oct 2002, Jeff Abrahamson wrote: > I have a quick Latex question, and my web searches haven't helped me > tonight. > > I want to write an environment in Latex that lets me do the following > in a homework assignment: > > \begin{question} > What is the answer? > \end{question} > > \begin{answer} > This is the answer. > > This is why. > \end{answer} > > I'm pretty sure I understand creating environments, but I'm having > trouble getting font changes that are durable over paragraphs. TeX > would allow me to just say > > {\tt > One paragraph. > > Two paragraphs. > > Three paragraphs. Wa, wa, wa! > } > > But \texttt{...} causes problems when it tries to span paragraphs. > > Any Latex users in the crowd know how to do this? > > Thanks much in advance. > > -- > Jeff > > Jeff Abrahamson <http://www.purple.com/jeff/> > > _________________________________________________________________________ > Philadelphia Linux Users Group -- http://www.phillylinux.org > Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce > General Discussion -- http://lists.netisland.net/mailman/listinfo/plug > _________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce General Discussion -- http://lists.netisland.net/mailman/listinfo/plug
|
|