1 | initial version |
Many students of mine just place comments on the cells. Start with #, and forget about the text areas. Or don't put the #, but don't eval the cell.
I've seen other people in sagenb start code cells with %html or %latex, and put their code there. Use of %latex will require that you have latex installed, and will print an image below the cell when you eval it. Use of %html will output the code as html, which means you have to use tags like
, or otherwise your line breaks will dissappear from the output. But on the other hand, you can use $ for latex snippets, and they get compiled into jsmath.2 | reformat, added a minor comment |
Many students of mine just place comments on the cells. cells:
I've seen other people in sagenb start code cells with %html or %latex, and put their code there. - Use of %latex will require that you have latex installed, and will print an image below the cell when you eval it. - Use of %html will output the code as html, which means you have to use tags like
, or otherwise your line breaks will dissappear from the output. But on the other hand, you can use $ for latex snippets, and they get compiled into jsmath.3 | another attempt to reformat (no preview, many edits) |
Many students of mine just place comments on the cells:
I've seen other people in sagenb start code cells with %html or %latex, and put their code there. there:
4 | sorry, it is a live preview! now I'm done |
Many students of mine just place comments on the cells:
I've seen other people in sagenb start code cells with %html or %latex, and put their code there:
<p></p>
, or otherwise your line breaks will dissappear from the output. But on the other hand, you can use $ for latex snippets, and they get compiled into jsmath.