Rescaling \check symbol

I would like to rescale \check symbol but not for the whole document. For example,

\documentclass{article}

\usepackage{mathtools}
\usepackage{asana-math}

\begin{document}

this is a normal \check symbol $\check{u}$, but in $\check{U}$
I want the check symbol to be larger

\end{document}

• How much larger would you like the symbol to be?
– Mico
Nov 16, 2016 at 19:28
• the same as \widehat Nov 16, 2016 at 19:31

The mathabx package provides a \widecheck macro.

Since I don't have the asana-math package on my system, the following example uses LuaLaTeX and the unicode-math package to specify Asana Math as the OpenType math font.

\documentclass{article}
\usepackage{mathabx} % for '\widecheck' macro
\usepackage{unicode-math}
\setmathfont[Scale=MatchLowercase]{Asana Math}
\begin{document}
$\check{u}$ $\widecheck{U}$
\end{document}

• the problem is that i need to define my own theorems and so i need to load \mathtools in order to use \newtheorem command. However, i cannot use both mathabx and mathtools packages Nov 16, 2016 at 19:49
• @Yorgos - Have you tried loading mathtools before mathabx?
– Mico
Nov 16, 2016 at 19:53
• yes.. i get an error that \circ is already defined Nov 16, 2016 at 19:55
• @Yorgos - The loading sequence ordering should be mathtools, mathabx, unicode-math -- or asana-math, I suppose, but that's a package I don't have and hence can't test. Is that's what you're doing?
– Mico
Nov 16, 2016 at 20:04
• standard warning that mathabx changes all symbols. to avoid that: Importing a single symbol from a different font Nov 16, 2016 at 21:37

Strangely enough, unicode-math doesn't define \widecheck; you can do it yourself.

\documentclass{article}

\usepackage{mathtools}
\usepackage{unicode-math}
\setmainfont{TeX Gyre Pagella}
\setmathfont{Asana Math}

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

\AtBeginDocument{\expandafter\removefixed\check\removefixed\widecheck}

\begin{document}

this is a normal \verb|\check| symbol $\check{u}$, but in $\widecheck{U}$
I want the check symbol to be larger

\end{document}


• that was my main concern. i didn't know how possible is to define your own sympbols. i thought that you hane to 'stuck' with its package's symbols Nov 17, 2016 at 9:29
• @Yorgos I think that unicode-math should provide it. Nov 17, 2016 at 9:30
• i couldn't agree more Nov 17, 2016 at 9:31
• @Yorgos Filed issue report: github.com/wspr/unicode-math/issues/372 Nov 17, 2016 at 12:03