On Sun, Feb 14, 2010 at 4:44 PM, Dana Ernst <[email protected]> wrote:
> What's the easiest way to display unparsed text in an html cell in the Sage 
> notebook?  I'd like to be able to display what one would type into a Sage 
> cell and occasionally some LaTeX syntax.  Another way of asking this is 
> what's the equivalent of the \verb command in LaTeX?  I have been just 
> putting things like this in Sage cells, but my students keep deleting the 
> content of cells to experiment instead of using a new Sage cell and mimicking 
> what I've done.  If I put code in the html cells, I figure that it will be 
> less likely to get tampered with.
>
> Thanks.

Maybe use

  <pre>

  </pre>

?  That's not perfect, but it's one of the closest things to verbatim
that HTML offers.

William

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to