Typesetting environment in notebook
I tried to edit the following notebook here. On editing it seems to have a rich text formatting environment of its own - how do i get it?
I tried to edit the following notebook here. On editing it seems to have a rich text formatting environment of its own - how do i get it?
Actually, there's a lot more available than the HTML you mentioned. Move your cursor until it's a little bit above the Sage cell. You'll see a purple line/bar appear. Press Shift at the same time you click the mouse and you'll get an extensive array of options including inserting pictures and highlighting. I don't have the karma to upload the picture. Here's a screenshot:
I never noticed that this was possible thanks for bringing it to my attention.
Here is how you can do it. Go to the top of the notebook and click edit. Then above the cell you wish to put the html text. Just write the text in html format. Here is a example, I made a plot of sin(x). When I click edit I see the following code
{{{id=1|
plot(sin(x),(x,0,10))
///
<html>
<font color='black'><img src='cell://sage0.png'></font></html>
}}}
{{{id=2|
///
}}}
I change it to the following
<p style="text-align: center;"><strong><span style="font-size: xx-large;">Rich text description</span></strong></p>
{{{id=1|
plot(sin(x),(x,0,10))
///
<html>
<font color='black'><img src='cell://sage0.png'></font></html>
}}}
{{{id=2|
///
}}}
i am sorry @Shashank, but @dazedANDconfused answer is easier to access - and a better answer for the AskSage community at large!
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2012-04-15 19:09:11 +0100
Seen: 1,430 times
Last updated: Jul 26 '13
Notebook List Object Data Storage/Retrieval? (Start/Restart)
Short Cython Example In A Notebook Cell?
What happens in insecure mode?
Is notebook() mutually-exclusive from "./sage -gdb" mode?
Can I pause a computation rather than aborting it? (Interrupt Command)
What state is preserved when I close a running notebook browser window?