config for \overarc ...

409 views
Skip to first unread message

elim...@gmail.com

unread,
Jan 10, 2013, 6:12:28 PM1/10/13
to mathja...@googlegroups.com
To put an arc over some text, i'm wondering: Is \overarc available with mathjax? 

Also, how to put little bar on top or bottom of \int to make upper integral and lower integral?

Thanks

William F Hammond

unread,
Jan 10, 2013, 9:15:01 PM1/10/13
to mathja...@googlegroups.com
On Thu, Jan 10, 2013 at 3:12 PM, <elim...@gmail.com> wrote:
> To put an arc over some text, i'm wondering: Is \overarc available with
> mathjax?

Doesn't seem to be, but for a single letter try this:

\overset{&#x2312;}{A}

> Also, how to put little bar on top or bottom of \int to make upper integral
> and lower integral?

Maybe, for example,

\underset{-}{\int} f


-- Bill

elim...@gmail.com

unread,
Jan 14, 2013, 10:33:46 AM1/14/13
to mathja...@googlegroups.com
I tried \overset{&#x2312;}{A} ok for single let A, if you want have an arc over ABC (3points), it doesn't scale..

Thomas Hohn

unread,
Jan 15, 2013, 2:20:05 AM1/15/13
to mathja...@googlegroups.com, elim...@gmail.com
Hi

Have you tried \overset{\frown} {ABC} - not perfect but better than \overset{&#x2312;}{A}  ;-)

Greetings

Thomas

Davide P. Cervone

unread,
Jan 16, 2013, 8:52:23 AM1/16/13
to mathja...@googlegroups.com
See

https://groups.google.com/d/topic/mathjax-users/1cmdK1pJqeg/discussion

for how to define \overparen and \underparen, which should do something similar to \overarc.

For lines over and under integrals, try

\def\upperint{\mathop{\int\limits^{\mmlToken{mo}{_}}}\nolimits}

or

\def\lowerint{\mathop{\int\limits_{\mmlToken{mo}{_}}}\nolimits}

These will mostly do what you want, but \upperint^{0}^{1} will have the 0 and 1 aligned vertically, rather than offset to match the shape of the integral. You would need to do something like \upperint^{\kern-12mu 0}^{1} to get a better position for the lower limit of integration, for example.

Davide

alex

unread,
Apr 23, 2013, 6:20:11 PM4/23/13
to mathja...@googlegroups.com, elim...@gmail.com
If you include the \displaystyle command right before the \frown command, then the result looks pretty good with two characters and okay with three characters, but it doesn't scale well. It would be nice if this functionality was built in. The arc symbol is very common. 

Try:
\overset{\displaystyle\frown}{XY}
\overset{\displaystyle\frown}{XYZ}

Davide P. Cervone

unread,
Apr 24, 2013, 12:27:55 PM4/24/13
to mathja...@googlegroups.com
MathJax doesn't any larger sized arc's in its fonts, so the \frown character is not stretchable past its normal size.  But you can use an overparen, which is stretchy.  I already gave you a link to the discussion that shows how to do that.  Here is another way:

\overset{\mmlToken{mo}{&#x23DC;}}{XYZ}

The STIX fonts include several sizes of the overparen (though the bounding box data in the font isn't correct, so one size is placed a bit too low), but with the MathJax web fonts, they will be flat in the center most of the time.  Not exactly what you want, but the best that MathJax can offer at the moment.

Davide


--
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/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages