Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I need something like \stackrel{\frown}{MM'} to express the fact that MM' is some path. But I am not really satisfied by the look of the result. The \frown is too high. Would you please have a suggestion?

Edit 1: I just discovered that the font I'm using, ie kpfonts, offers a nice widearc command which suits my needs.

share|improve this question

6 Answers

up vote 6 down vote accepted

You may try \wideparen from the yhmath package:

\usepackage{yhmath}
...
$\wideparen{MM'}$
share|improve this answer

You can use arcs package for this. It provide \overarc command. But this package seems broken on my computer. :(

You can also use \wideparen provided by yhmath font package. yhmath is compatible with default CM fonts.

\documentclass{article}
\usepackage{yhmath}

\begin{document}
$\wideparen{MM'}$
\end{document}

enter image description here

MnSymbol package, mathdesign package, and maybe some other math font packages, also provide \wideparen. It would be great if you use MinionPro with MnSymbol, or Utopia with mathdesign fonts.

For example:

\documentclass{article}
\usepackage[utopia]{mathdesign}

\begin{document}
$\wideparen{MM'}$
\end{document}

enter image description here

share|improve this answer
1  
In recent distributions, yhmath comes with a corresponding Type1 font. – egreg Apr 10 '11 at 14:49
@egreg: Sorry, I didn't notice it. Then it's okey to use yhmath. BTW, \adots in yhmath is wrong for different font size, one should use \iddots from mathdots package instead. That's another reason I don't like yhmath. – Leo Liu Apr 10 '11 at 14:55
Well, and amatrix env. in yhmath is not compatible with latest amsmath. Pity. It should be \newenvironment{amatrix}{\left\langle\begin{matrix}}{\end{matrix}\right\rangle}‌​ – Leo Liu Apr 10 '11 at 15:21
I'd like to avoid another package. – pluton Apr 10 '11 at 15:31
@pluton: See revision 2. tex.stackexchange.com/posts/15473/revisions – Leo Liu Apr 11 '11 at 4:49

Accent seems like a way to go (example with XITS and XeTeX, in Plain):

\def\frown{\XeTeXmathaccent"0"1"23DC}
$$ \frown{MM'} \int\limits_{\frown{MM'}} $$
\bye

enter image description here

share|improve this answer

from fourier added in preamble

\DeclareFontEncoding{FMX}{}{}%%%
\DeclareFontSubstitution{FMX}{futm}{m}{n}%%%
\DeclareSymbolFont{largesymbols}{FMX}{futm}{m}{n}
\DeclareMathAccent{\widearc}{\mathord}{largesymbols}{216}

Use

\[\widearc{MM'} + \int\limits_{\widearc{MM'}}\]
share|improve this answer
Welcome to tex.sx! A tip: If you indent lines by 4 spaces, then they are marked as a code sample. You can also highlight the code and click the "code" button (with "101010" on it). You can also use backticks ` to mark your inline code‌​. – Gonzalo Medina May 24 '11 at 3:01
\documentclass{article}
\usepackage{graphicx,amsmath}
\newcommand\bigfrown[2][\textstyle]{\ensuremath{%
  \array[b]{c}\text{\scalebox{2}{$#1\frown$}}\\[-1.3ex]#1#2\endarray}}

\begin{document}

foo \bigfrown{MM'} bar

\[\int\limits_{\protect\bigfrown[\scriptstyle]{MM'}}\]

\end{document}

enter image description here

share|improve this answer
thank you but it does not work for an integral \int_{\bigfrown{MM'}} – pluton Apr 10 '11 at 15:04
@pluton: sure, as always \int_{\protect\bigfrown{MM'}}. However, the \bigfrowncan also be defined as a protected definition. – Herbert Apr 10 '11 at 15:13
correct but it does not scale down as it should – pluton Apr 10 '11 at 15:30
@pluton: true, could also be done by the command itself, but that need some more work. See edited example for a simple workaround when it is only needed once – Herbert Apr 10 '11 at 15:45

If you don't mind having straight lines instead of an arc, you could use \overbracket from the mathtools package:

\documentclass{article}
\usepackage{mathtools}

\begin{document}

$\overbracket{MM'}$

\end{document}

share|improve this answer
thank you but I prefer an arc. – pluton Apr 10 '11 at 14:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.