Arc Circle Syntax

274 views
Skip to first unread message

e96

unread,
Mar 20, 2012, 4:07:25 AM3/20/12
to MathJax Users
I cannot find any information on what the tex command is to create the
arc symbol over letters like the following image:
http://www.mathwarehouse.com/images/questions/arc/arc-CH_CCCCFF.jpg

Does anyone know the tex for this (which I hope MathJax supports ;)

Davide P. Cervone

unread,
Mar 20, 2012, 4:41:04 PM3/20/12
to mathja...@googlegroups.com
If you add

<script type="text/x-mathjax-config">
MathJax.Hub.Config({
TeX: { Augment: {
Definitions: {
macros: {
overparen: ['UnderOver','23DC'],
underparen: ['UnderOver','23DD']
}
}
}}
});
</script>

before the script that loads MathJax.js, then you can use

$\overparen{\rm CH}$

to get a paren over the CH. This is not exactly what you have, but it
is close.

Davide

elim...@gmail.com

unread,
Aug 24, 2014, 5:18:09 PM8/24/14
to mathja...@googlegroups.com
I have the following in my page head, how to add overparen config?

<SCRIPT src="/MathLib/MathJax/MathJax.js"> 
  MathJax.Hub.Config({
    jax: ["input/TeX","output/HTML-CSS"],
    extensions: ["tex2jax.js","TeX/AMSmath.js","TeX/AMSsymbols.js"],   // use the tex2jax preprocessor
    tex2jax: {
      inlineMath: [['$','$'],['\\(','\\)']], // uncomment to use $...$ for inline math
      processEscapes: 1                      // set to 1 to allow \$ to produce a dollar sign
    },
    TeX: {
      Macros: { 
             fplus: "\\genfrac{}{}{0pt}{}{}{+}", 
             fdots: "\\genfrac{}{}{0pt}{}{}{\\cdots}" 
        } 
    }
  });
</SCRIPT>

Davide P. Cervone

unread,
Aug 24, 2014, 6:35:16 PM8/24/14
to mathja...@googlegroups.com
I have the following in my page head, how to add overparen config?

Try

<script type="text/x-mathjax-config"> 
  MathJax.Hub.Config({
    tex2jax: {
      inlineMath: [['$','$'],['\\(','\\)']], // uncomment to use $...$ for inline math
      processEscapes: 1                      // set to 1 to allow \$ to produce a dollar sign
    },
    TeX: {
      Macros: { 
        fplus: "\\genfrac{}{}{0pt}{}{}{+}", 
        fdots: "\\genfrac{}{}{0pt}{}{}{\\cdots}
      },
      Augment: {
        Definitions: {
          macros: {
            overparen: ['UnderOver','23DC'],
            underparen: ['UnderOver','23DD']
          }
        }
      }
    }
  });
</script>
  <script src="/MathLib/MathJax/MathJax.js?config=TeX-AMS_HTML"></script>

and see if that works.

Davide

elim...@gmail.com

unread,
Aug 27, 2014, 12:21:05 PM8/27/14
to mathja...@googlegroups.com, dp...@union.edu

Sorry it not seem working (see attached img). Maybe lack of founts? 
002.gif

Elim Qiu

unread,
Aug 28, 2014, 1:04:02 PM8/28/14
to Davide P. Cervone, MathJax Users
I saved and edited(just clean up irrelevant things) a preview page. Here:

elinkage.net/overparen.html


On Wed, Aug 27, 2014 at 1:57 PM, Davide P. Cervone <dp...@union.edu> wrote:
The definition has gone through correctly (since the macro has been processed).  So the configuration looks OK.  The problem looks like a font issue.

Can you provide a live page that illustrates the problem?

Davide


<002.gif>


Peter Krautzberger

unread,
Aug 28, 2014, 3:23:31 PM8/28/14
to mathja...@googlegroups.com, Davide P. Cervone
Hi,

It's working for me but you should really update MathJax -- you're using MathJax 1.1 which is 3 years old.

Regards,
Peter.


--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Davide P. Cervone

unread,
Aug 28, 2014, 6:12:08 PM8/28/14
to Peter Krautzberger, mathja...@googlegroups.com
Peter is right, the main problem is the ancient version of MathJax that you are using.  It doesn't include the data necessary to do the stretching of the overparen character (U+23DC), as that was added in v1.1a (still ancient, but your version is older).  So you will not get good results without updating your copy of MathJax (or switching to the CDN).

Davide

Elim Qiu

unread,
Aug 28, 2014, 7:11:16 PM8/28/14
to dp...@union.edu, Peter Krautzberger, mathja...@googlegroups.com
Thanks a lot Davide and Peter!
I didn't aware of the MathJax version at all... I thought it should be somewhat newer as I did updated a few times on the pkg.  How to check the version of MathJax?

I noticed \not\Rightarrow is not working with 2.4.  Any comments?

Thanks again,

Elim
You received this message because you are subscribed to a topic in the Google Groups "MathJax Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mathjax-users/1cmdK1pJqeg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mathjax-user...@googlegroups.com.

Davide P. Cervone

unread,
Aug 28, 2014, 8:10:52 PM8/28/14
to Elim Qiu, Peter Krautzberger, mathja...@googlegroups.com
> How to check the version of MathJax?

Use the contextual menu (right-click) on any typeset mathematics and select the "About MathJax" item. The version is listed in the message that will be displayed.

Davide

Reply all
Reply to author
Forward
0 new messages