1
\documentclass{article}
\usepackage{amsmath}
\usepackage{breqn}

\begin{document}
    \begin{math} 
        \overset{.}{()}
    \end{math}
\end{document}

In this example parentheses (even a single one) in \overset together with breqn package throw "undefined control sequence" error when I try to compile it.

Is there any workaround?

  • You probably want \dot{()}. Congratulations, you found another bug in breqn. ;-) – egreg Jul 21 '17 at 17:01
  • @egreg Should the package be renamed brltx? – Steven B. Segletes Jul 21 '17 at 17:15
1

You can place the parens in an \hbox.

\documentclass{article}
\usepackage{amsmath}
\usepackage{breqn}
\begin{document}
    \begin{math} 
       {\overset{.}{\hbox{()}}}
    \end{math}
\end{document}

Alternately, you can use a stack, perhaps.

\documentclass{article}
\usepackage{amsmath}
\usepackage{stackengine}
\stackMath
\usepackage{breqn}

\begin{document}
    \begin{math} 
        \stackon[2pt]{()}{\scriptstyle.}
    \end{math}
\end{document}
|improve this answer|||||
  • stackon works like a charm! I need to put math symbols in the parens and it seems that stackon puts the inner parts in textmode but I solved that by wrapping them in \(\). edit: Aha! I don't have to do such ugly things. I overlooked that \stackMath option in your code! – VaNa Jul 21 '17 at 17:24
  • 1
    @VaNa If you need both text and math stacking, you can change modes with \stackText and \stackMath or you can leave it in \stackText mode and just wrap usage with \ensurestackMath{\stackon[]{}{}}} – Steven B. Segletes Jul 21 '17 at 17:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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