vector without arrow expression

196 views
Skip to first unread message

Zhaoyu Zhang

unread,
Jun 18, 2012, 8:02:46 AM6/18/12
to mathja...@googlegroups.com
Hi, everyone,

Does anyone have met the "vector without arrow" expression? like this one:

If I want to use the correct format, I have to use <b><i>m</i></b> to show the only letter. Does anyone know how to simplify this one? Thanks!

Best,
Zhaoyu

Davide P. Cervone

unread,
Jun 19, 2012, 11:54:05 AM6/19/12
to mathja...@googlegroups.com
AsciiMath doesn't have a command for obtaining bold-italic letters, but you can add one by inserting

<script type="text/x-mathjax-config">
  MathJax.Hub.Register.StartupHook("AsciiMath Jax Config",function () {
    AM.symbols.push(
      {input:"mathbi", tag:"mstyle", atname:"mathvariant", atval:"bold-italic",
       output:"mathbi", tex:null, ttype:AM.TOKEN.UNARY}
    );
  });
</script>

to your HTML file somewhere before the script that loads MathJax.js itself.  Then you can use `mathbf(m)` to obtain the bold-italic "m" that you are looking for.

Davide

Zhaoyu Zhang

unread,
Jun 19, 2012, 6:59:44 PM6/19/12
to mathja...@googlegroups.com
Thanks Davide,

That's what I want! :) Thanks for your help.

Best,
Zhaoyu
Reply all
Reply to author
Forward
0 new messages