On 11/4/07, Luke Wolcott <
terek...@gmail.com> wrote:
> Here's a silly question, that I thought technically I shouldn't be asking a
> fellow classmate:
>
> What's the simplest way to stick a line of sage code into a tex file,
> without getting 46 errors? I want to refer to one Sage command I used,
> (3^997-1)%7, but can't figure out how to make it pretty.
In latex do this:
\begin{verbatim}
sage: (3^997-1)%7
ans
\end{verbatim}
-- William