On 07/22/2010 03:34 PM, 3DRaven wrote:
> How to use jsmath and what need this button in the sage-notebook?
> Please show a screenshot with the correct work jsmath.

JSMath is the in-browser JavaScript library the Sage notebook uses to
render typeset mathematics.  To see it in action, check the "Typeset"
checkbox near the top of the worksheet and evaluate, e.g.,

a, b = var('alpha, beta')
(a^b + sin(cos(b))) / (1 + (log(abs(a - b)))^2)

in an input cell.  You should see a more-or-less nicely typeset formula
in the output cell.  If not, try clicking just to the left of the
expression once or twice.  The displayed representation should cycle
among the raw LaTeX

\newcommand{\Bold}[1]{\mathbf{#1}}\frac{\alpha^{\beta} +
\sin\left(\cos\left(\beta\right)\right)}{\log\left({\left| \alpha -
\beta \right|}\right)^{2} + 1}

that Sage produces and JSMath parses, the typeset formula, and hidden
output.

In my experience, JSMath works best if you've also installed the TeX
fonts on the same computer that's running your browser:

http://www.math.union.edu/~dpvc/jsmath/download/jsMath-fonts.html

Clicking on the JSMath button and then on "Options" should display a
control panel for JSMath's settings.

> Can I do so that would be a formula in the cells sage-notebook as
> editing replaced their latex presentation? That would be much nicer to
> work with them!
> Thank you.

If you do

a, b = var('alpha, beta')
print latex((a^b + sin(cos(b))) / (1 + (log(abs(a - b)))^2))

you'll get LaTeX code for the expression:

\frac{\alpha^{\beta} +
\sin\left(\cos\left(\beta\right)\right)}{\log\left({\left| \alpha -
\beta \right|}\right)^{2} + 1}

Or are you asking whether one can enter a LaTeX expression, e.g.,

$\alpha/\beta$

and have Sage automatically parse it into a symbolic expression?  I'm
not sure about this.

Or inquiring about an interactive equation editor, such as this

http://www.math.union.edu/~dpvc/talks/2006-12-08.IMA/editor.html

?  We don't have one yet in Sage, unfortunately.

> latex-render (image) presentation.

Could you elaborate on what you mean by this?


Also:  It's quite possible that someone in the worldwide Sage
user-developer community is fluent (or can reply much better than I
could!) in your language(s) of fluency.  But I'm not sure about official
sage-* group policy.  Are there are dedicated non-English language
groups (mailing lists or forums) about Sage?

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

Reply via email to