Re: another midterm question

0 views
Skip to first unread message

William Stein

unread,
Nov 4, 2007, 4:13:40 PM11/4/07
to Luke Wolcott, uw-...@groups.google.com
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

Reply all
Reply to author
Forward
0 new messages