3

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}
2
  • How much larger would you like the symbol to be?
    – Mico
    Nov 16, 2016 at 19:28
  • the same as \widehat
    – Yorgos
    Nov 16, 2016 at 19:31

2 Answers 2

2

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.

enter image description here

\documentclass{article}
\usepackage{mathabx} % for '\widecheck' macro
\usepackage{unicode-math}
\setmathfont[Scale=MatchLowercase]{Asana Math}
\begin{document}
$\check{u}$ $\widecheck{U}$
\end{document}
10
  • 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
    – Yorgos
    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
    – Yorgos
    Nov 16, 2016 at 19:55
  • 1
    @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
  • 2
    standard warning that mathabx changes all symbols. to avoid that: Importing a single symbol from a different font Nov 16, 2016 at 21:37
3

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}

enter image description here

4
  • 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
    – Yorgos
    Nov 17, 2016 at 9:29
  • @Yorgos I think that unicode-math should provide it.
    – egreg
    Nov 17, 2016 at 9:30
  • i couldn't agree more
    – Yorgos
    Nov 17, 2016 at 9:31
  • @Yorgos Filed issue report: github.com/wspr/unicode-math/issues/372
    – egreg
    Nov 17, 2016 at 12:03

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.