2

Here's my MWE:

\documentclass{article}
\usepackage{unicode-math}

\newcommand\closure[1]{\overline{#1}}

\begin{document}

The intersection of the closed ball $\overline{B}(1)$ with the closed 
ball $\closure{B}(2)$ is the same as the intersection of the closed
ball $\closure{B}(2)$ with the closed ball $\overline{B}(1)$.

\end{document}

This is what I'm seeing (with xelatex): enter image description here

Note the extra space before "B(2)" and the missing overline.

The problem goes away when I comment out \usepackage{unicode-math}.

1 Answer 1

2

The reason is that unicode-math silently redefines \closure to yield the character

⁐ U+2050 CLOSE UP

which seems to be a “hidden feature”.

\documentclass{article}
\usepackage{unicode-math}

\AtBeginDocument{%
  \providecommand{\closure}{}%
  \renewcommand\closure[1]{\overline{#1}}% 
}

\begin{document}

The intersection of the closed ball $\overline{B}(1)$ with the closed
ball $\closure{B}(2)$ is the same as the intersection of the closed
ball $\closure{B}(2)$ with the closed ball $\overline{B}(1)$.

\end{document}

enter image description here

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .