Jeff Abrahamson on Mon, 28 Oct 2002 21:00:05 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Latex question...


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