latex3 / unicode-math

XeLaTeX/LuaLaTeX package for using unicode/OpenType maths fonts
http://ctan.org/pkg/unicode-math
LaTeX Project Public License v1.3c
246 stars 29 forks source link

Missing wide accents #372

Closed eg9 closed 7 years ago

eg9 commented 7 years ago

In unicode-math-table.tex some definitions for available wide math accents are missing; the most notable absence is \wideoverbar.

Proof of concept:

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

\def\removefixed#1fixed #2\removefixed#3{%
  \protected\def#3{#1 #2}%
}

\AtBeginDocument{%
  \expandafter\removefixed\overbar\removefixed\wideoverbar
  \expandafter\removefixed\breve\removefixed\widebreve
  \expandafter\removefixed\check\removefixed\widecheck
}

\begin{document}

\verb|\overbar|: $\overbar{u}$ and $\wideoverbar{U}+\wideoverbar{UUU}$

\verb|\breve|: $\breve{u}$ and $\widebreve{U}+\widebreve{UUU}$

\verb|\check|: $\check{u}$ and $\widecheck{U}+\widecheck{UUU}$

\end{document}

screen shot 2016-11-17 at 12 58 28