I did not know about the %latex command, thanks for the tip.
Looking at the symbol table, I found one that serves my particular
purpose well: \top. $M^\top$ renders as I'd like for a transpose and
avoids using an unsupported font in jsMath.
Brian
On May 12, 4:55 am, Jason Grout wrote:
> Rob Beezer wrote:
> > Hi Brian,
>
> > In a notebook cell, I enter and evaluate:
>
> > %latex
> > $M^\mathsf{T}$
>
> > and get back a slanted M and a very crisp, upright superscript T. So
> > it can be done, but this is accomplished by running a full-blown
> > instance of TeX and creating a PNG graphic as output. $M^{\sf T}$
> > looks to render identically.
>
> > I get the error you mention when I add $M^\mathsf{T}$ via the TinyMCE
> > editor (shift-click on a blue bar). I think this gets interpreted by
> > jsMath, so any fonts will come from jsMath. From here I'm not sure
> > how to proceed, but maybe this will be enough for somebody else to
> > show the way forward.
>
> Searching in the jsmath source shows that \mathrm and \rm are defined,
> but \mathsf and \sf don't seem to be defined.
>
> Davide, does jsmath implement san serif fonts?
>
> Thanks,
>
> Jason
--~--~-~--~~~---~--~~
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
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---