On Mar 22, 5:59 pm, J Elaych <[email protected]> wrote: > It takes quite a while to learn how to use the notebook just by > googling around (search google for 'sage %hide' for instance) so I > hope someone can point me in a better direction.
Have you tried clicking the "Help" link in the upper right corner of the notebook? It actually contains help for using the notebook... > One simple thing I would like to be able to do is to enter a bunch of > forumula's, say integrals or ODEs, at the very beginning of my session > and display them each in nicely formatted latex, as they are entered. > Sort of like a typical maple session, where each equation is typeset > as its entered. However, the closest I get to such output is to 1) > assign the formula to a variable, 2) assign the latex(forumula) to a > variable, 3) jsmath(this latex variable) and 4) click 'evaluate' under > the cell. > > Thats a bit of work and I've found that if I have several jsmath() > displays in a row and hit evaluate, only one of them shows up > typeset. I know there has to be an easier way and it probably > requires various settings in the dropdown boxes above the worksheet > and some % declares and so on, and I would like to find a good > resource to read about these options. > > For instance, the otherwise excellent 'an-invitation-to-sage.pdf' > whitepaper has a nice screenshot of a notebook that seems to do what I > want, with the helpful comment: > > ------------------------------------------------------- > Here are the commands used to create the output in the Notebook > session > in the above screenshot: > Sage Notebook > a,b,c,d,x,y=var(’a,b,c,d,x,y’) > show(solve(a*xˆ2+b*x+c==0,x)) > show(solve(a*xˆ3+b*x+c==0,x)) > solve(a*x+b*y==0,c*x+d*y==0,x,y) > ------------------------------------------------------- Once you sort out the accent issue which Stan Schymanski has pointed out, you can also check the "Typeset" box next to the drop down menus. Then evaluate a*x^3 + b*x + c == 0 or solve(a*x^3 + b*x + c == 0, x) for example. --~--~---------~--~----~------------~-------~--~----~ 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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
